summaryrefslogtreecommitdiff
path: root/usr.bin/mktemp
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-10 09:12:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-10 09:12:14 +0000
commit954f7917cd61e2c4e87fa97f77b5d16372fced8d (patch)
tree871a313e9494c2e181e8b7547436ca52ed2b21b5 /usr.bin/mktemp
parent7da7265de4dc122cf4762c2707b245904c8acdd7 (diff)
- section reorder
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@
Diffstat (limited to 'usr.bin/mktemp')
-rw-r--r--usr.bin/mktemp/mktemp.119
1 files changed, 10 insertions, 9 deletions
diff --git a/usr.bin/mktemp/mktemp.1 b/usr.bin/mktemp/mktemp.1
index a01954590af..21224e80c74 100644
--- a/usr.bin/mktemp/mktemp.1
+++ b/usr.bin/mktemp/mktemp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.1,v 1.21 2003/06/03 01:52:41 millert Exp $
+.\" $OpenBSD: mktemp.1,v 1.22 2003/06/10 09:12:11 jmc Exp $
.\"
.\" Copyright (c) 1996, 2000, 2001 Todd C. Miller <Todd.Miller@courtesan.com>
.\"
@@ -147,6 +147,13 @@ The
.Nm
utility
exits with a value of 0 on success or 1 on failure.
+.Sh ENVIRONMENT
+.Bl -tag -width TMPDIR
+.It Ev TMPDIR
+directory in which to place the temporary file when in
+.Fl t
+mode
+.El
.Sh EXAMPLES
The following
.Xr sh 1
@@ -168,7 +175,8 @@ echo "program output" >> $TMPFILE
.Ed
.Pp
This can be further simplified if we don't care about the actual name of
-the temporary file. In this case the
+the temporary file.
+In this case the
.Fl t
flag is implied.
.Bd -literal -offset indent
@@ -213,13 +221,6 @@ TMPFILE=`mktemp -q -t example.XXXXXXXXXX` && {
rm -f $TMPFILE
}
.Ed
-.Sh ENVIRONMENT
-.Bl -tag -width TMPDIR
-.It Ev TMPDIR
-directory in which to place the temporary file when in
-.Fl t
-mode
-.El
.Sh SEE ALSO
.Xr mkdtemp 3 ,
.Xr mkstemp 3 ,