sbase/mkdir.1
Hiltjo Posthuma 57a19e3b86 add some mandoc pages and fix some warnings
- add .Os, it is mandatory.
- don't redeclare .Nm when it's not needed.
- fix some warnings (checked with mandoc -Tlint).
- remove some leftover old stuff.
2015-01-30 21:21:50 +01:00

38 lines
556 B
Groff

.Dd January 26, 2015
.Dt MKDIR 1 sbase\-VERSION
.Os
.Sh NAME
.Nm mkdir
.Nd create directories
.Sh SYNOPSIS
.Nm
.Op Fl p
.Op Fl m Ar mode
.Ar name ...
.Sh DESCRIPTION
.Nm
creates a directory for each
.Ar name
if it does not already exist.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl m
Set the file
.Ar mode
of newly created directories. See
.Xr chmod 1 .
.It Fl p
Also create necessary parent directories and
do not fail if
.Ar name
already exists.
.El
.Sh SEE ALSO
.Xr mkdir 2
.Sh STANDARDS
The
.Nm
utility is compliant with the
.St -p1003.1-2008
specification.