summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/pdcmac/pmkdir.1
diff options
context:
space:
mode:
Diffstat (limited to 'macros/plain/contrib/pdcmac/pmkdir.1')
-rw-r--r--macros/plain/contrib/pdcmac/pmkdir.181
1 files changed, 81 insertions, 0 deletions
diff --git a/macros/plain/contrib/pdcmac/pmkdir.1 b/macros/plain/contrib/pdcmac/pmkdir.1
new file mode 100644
index 0000000000..88ed4e46cf
--- /dev/null
+++ b/macros/plain/contrib/pdcmac/pmkdir.1
@@ -0,0 +1,81 @@
+.TH PMKDIR 1 "Time-stamp: <pdc 1995-03-27>" "PDCMAC 1.0" "CONTRIBUTED SOFTWARE"
+.SH NAME
+pmkdir \- make a directory and possibly its parents as well
+.SH SYNOPSIS
+.na
+.B pmkdir
+[
+.B \-\-no\-create
+] [
+.BI \-\-group= groupname
+] [
+.BI \-\-owner= username
+] [
+.BI \-\-mode= mode
+]
+.I dir\|.\|.\|.
+.br
+.BR pmkdir
+.B \-\-help
+|
+.B \-\-version
+.SH DESCRIPTION
+.na
+This documents the
+.SM PDCMAC
+version of
+.IR mkdirhier (1),
+called
+.IR pmkdir .
+.PP
+For each
+.I dir
+this creates a directory with that file name.
+Unlike
+.IR mkdir (1),
+any intermediate directories required will also be
+created.
+.PP
+This command is implemented as a shellscript.
+.SH OPTIONS
+.TP
+.BI \-\-group= "groupname, " "\-g " groupname
+.PD 0v
+.TP
+.BI \-\-owner= "username, " "\-o " username
+.TP
+.BI \-\-mode= "mode, " "\-m " mode
+.PD
+Set the group, owner or mode for the new files (using the same
+conventions as
+.IR chgrp (1),
+.IR chown (1),
+and
+.IR chmod (1)
+respectively).
+Only root can combine changes of mode and group.
+.TP
+.BR \-\-help ", " \-h
+Print a usage message and exit.
+.TP
+.BR \-\-no\-create ", " \-n
+Do not copy files; instead print the commands that would have been performed.
+.TP
+.BR \-\-version ", " \-V
+Print a version identification message and exit.
+.SH ENVIRONMENT
+.TP
+.SM GROUP
+.PD 0v
+.TP
+.SM OWNER
+.TP
+.SM MODE
+.PD
+The values of these variables are used if the corresponding command-line
+options are omitted.
+.SH AUTHOR
+P. Damian Cugley
+.I damian.cugley@comlab.ox.ac.uk
+.SH "SEE ALSO"
+pinstall(1), chgrp(1), chown(1), chmod(1), mkdir(1), mkdirhier(1)