summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.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/sh.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/sh.1tbl')
-rw-r--r--bin/ksh/sh.1tbl10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/ksh/sh.1tbl b/bin/ksh/sh.1tbl
index f558a29d13c..e944244389b 100644
--- a/bin/ksh/sh.1tbl
+++ b/bin/ksh/sh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1tbl,v 1.19 2000/03/21 14:06:55 aaron Exp $
+.\" $OpenBSD: sh.1tbl,v 1.20 2000/10/19 18:29:28 aaron Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -1069,8 +1069,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