summaryrefslogtreecommitdiffstats
path: root/bin/mkdir
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-15 06:23:45 +0000
committercharnier <charnier@FreeBSD.org>1998-05-15 06:23:45 +0000
commit8a9755ceef4307bb15a25bc49167da719cfbc0fa (patch)
tree64f06900dbfad50ce144079e5c04944ed1f84149 /bin/mkdir
parent0d7cd7ed8297e441ed6cbeb98798b49e32282809 (diff)
downloadFreeBSD-src-8a9755ceef4307bb15a25bc49167da719cfbc0fa.zip
FreeBSD-src-8a9755ceef4307bb15a25bc49167da719cfbc0fa.tar.gz
correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/mkdir')
-rw-r--r--bin/mkdir/mkdir.18
-rw-r--r--bin/mkdir/mkdir.c8
2 files changed, 9 insertions, 7 deletions
diff --git a/bin/mkdir/mkdir.1 b/bin/mkdir/mkdir.1
index 2735a3d..4ddfb7b 100644
--- a/bin/mkdir/mkdir.1
+++ b/bin/mkdir/mkdir.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94
-.\" $Id$
+.\" $Id: mkdir.1,v 1.6 1997/02/22 14:04:08 peter Exp $
.\"
.Dd January 25, 1994
.Dt MKDIR 1
@@ -47,7 +47,7 @@
.Op Fl m Ar mode
.Ar directory_name ...
.Sh DESCRIPTION
-.Nm
+.Nm Mkdir
creates the directories named as operands, in the order specified,
using mode
.Li rwxrwxrwx (\&0777)
@@ -81,13 +81,13 @@ permission for the owner.
.Pp
The user must have write permission in the parent directory.
.Pp
-.Nm
+.Nm Mkdir
exits 0 if successful, and >0 if an error occurred.
.Sh SEE ALSO
.Xr rmdir 1
.Sh STANDARDS
The
-.Nm mkdir
+.Nm
utility is expected to be
.St -p1003.2
compatible.
diff --git a/bin/mkdir/mkdir.c b/bin/mkdir/mkdir.c
index b316ee7..ed26dc8 100644
--- a/bin/mkdir/mkdir.c
+++ b/bin/mkdir/mkdir.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: mkdir.c,v 1.9 1997/03/28 15:24:25 imp Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
+#if 0
+static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/types.h>
OpenPOWER on IntegriCloud