summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-12-13 16:02:41 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-12-13 16:02:41 +0000
commit883271716b332e2e9a2fc5efcce4cdf15bca7ef5 (patch)
tree51c7204093fdfef1ba60c84897d793d9de525a83
parent51b64af02538efbbc6b69a7a95f4ad01807d62cf (diff)
standard EXAMPLES;
-rw-r--r--bin/mkdir/mkdir.116
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1
index ce006fa78ac..d697b346c7b 100644
--- a/bin/mkdir/mkdir.1
+++ b/bin/mkdir/mkdir.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mkdir.1,v 1.19 2004/12/13 15:50:02 jmc Exp $
+.\" $OpenBSD: mkdir.1,v 1.20 2004/12/13 16:02:40 jmc Exp $
.\" $NetBSD: mkdir.1,v 1.9 1995/07/25 19:37:13 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993
@@ -89,22 +89,22 @@ The
.Nm
utility exits 0 on success or >0 if an error occurred.
.Sh EXAMPLES
-.Li $ mkdir foobar
-.Pp
Create a directory named
-.Pa foobar .
+.Pa foobar :
.Pp
-.Li $ mkdir -m 700 foobar
+.Dl $ mkdir foobar
.Pp
Create a directory named
.Pa foobar
-and set its file mode to 700.
+and set its file mode to 700:
.Pp
-.Li $ mkdir -p cow/horse/monkey
+.Dl $ mkdir -m 700 foobar
.Pp
Create a directory named
.Pa cow/horse/monkey ,
-creating any non-existent intermediate directories as necessary.
+creating any non-existent intermediate directories as necessary:
+.Pp
+.Dl $ mkdir -p cow/horse/monkey
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr rmdir 1 ,