summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh.1tbl
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-10-19 18:29:29 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-10-19 18:29:29 +0000
commit2e5faf5b30948aaedd4afe6cd89fce60cb937db0 (patch)
treeaaa0278d8c50d2088c8104d5692783c270866e0a /bin/ksh/ksh.1tbl
parent7bc6c49b127c0806618143892051b391c0efc873 (diff)
Where we talk about $$, also say mention that PIDs are not safe to use for
generating temporary file names, and point people to mktemp(1) instead.
Diffstat (limited to 'bin/ksh/ksh.1tbl')
-rw-r--r--bin/ksh/ksh.1tbl10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl
index 074a3bfb593..3da8383d05e 100644
--- a/bin/ksh/ksh.1tbl
+++ b/bin/ksh/ksh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1tbl,v 1.35 2000/07/06 05:42:41 aaron Exp $
+.\" $OpenBSD: ksh.1tbl,v 1.36 2000/10/19 18:29:27 aaron Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1241,8 +1241,12 @@ The number of positional parameters (i.e., $1, $2, etc.).
.It Ev \&$
The process ID of the shell, or the
.Tn PID
-of the original shell if it is a
-subshell.
+of the original shell if it is a subshell.
+Do
+.Em NOT
+use this mechanism for generating temporary file names; see
+.Xr mktemp 1
+instead.
.It Ev \&-
The concatenation of the current single letter options (see
.Ic set