mktemp.1: convert to mandoc
This commit is contained in:
parent
0ac41ca998
commit
08904c0308
37
mktemp.1
37
mktemp.1
|
@ -1,25 +1,28 @@
|
||||||
.TH MKTEMP 1 sbase\-VERSION
|
.Dd January 30, 2015
|
||||||
.SH NAME
|
.Dt MKTEMP 1 sbase\-VERSION
|
||||||
mktemp \- make temporary filename
|
.Os
|
||||||
.SH SYNOPSIS
|
.Sh NAME
|
||||||
.B mktemp
|
.Nm mktemp
|
||||||
.RB [ \-dq ]
|
.Nd make temporary filename
|
||||||
.RB [ template ]
|
.Sh SYNOPSIS
|
||||||
.SH DESCRIPTION
|
.Nm
|
||||||
.B mktemp
|
.Op Fl dq
|
||||||
|
.Op Ar template
|
||||||
|
.Sh DESCRIPTION
|
||||||
|
.Nm
|
||||||
takes the given filename template and overwrites a portion of it
|
takes the given filename template and overwrites a portion of it
|
||||||
to create a unique filename. The template may be any filename with at least
|
to create a unique filename. The template may be any filename with at least
|
||||||
six `Xs' appended to it. If no template is specified a default of
|
six `Xs' appended to it. If no template is specified a default of
|
||||||
`tmp.XXXXXXXXXX' is used and the tmpdir is set to `/tmp' unless the
|
`tmp.XXXXXXXXXX' is used and the tmpdir is set to `/tmp' unless the
|
||||||
TMPDIR envrionment variable has been set.
|
TMPDIR envrionment variable has been set.
|
||||||
.SH OPTIONS
|
.Sh OPTIONS
|
||||||
.TP
|
.Bl -tag -width Ds
|
||||||
.B \-d
|
.It Fl d
|
||||||
Make a directory instead of a file
|
Make a directory instead of a file
|
||||||
.TP
|
.It Fl q
|
||||||
.B \-q
|
|
||||||
Fail silently if an error occurs. This is useful if a script
|
Fail silently if an error occurs. This is useful if a script
|
||||||
does not want error output to go to standard error.
|
does not want error output to go to standard error.
|
||||||
.SH SEE ALSO
|
.El
|
||||||
.IR mkdtemp (3),
|
.Sh SEE ALSO
|
||||||
.IR mkstemp (3)
|
.Xr mkdtemp 3 ,
|
||||||
|
.Xr mkstemp 3
|
||||||
|
|
Loading…
Reference in New Issue
Block a user