diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-19 18:29:29 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-10-19 18:29:29 +0000 |
commit | 2e5faf5b30948aaedd4afe6cd89fce60cb937db0 (patch) | |
tree | aaa0278d8c50d2088c8104d5692783c270866e0a /bin/ksh/sh.1 | |
parent | 7bc6c49b127c0806618143892051b391c0efc873 (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.1')
-rw-r--r-- | bin/ksh/sh.1 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1 index 4d3c1aab0a1..1df84a30a4f 100644 --- a/bin/ksh/sh.1 +++ b/bin/ksh/sh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sh.1,v 1.19 2000/03/21 14:06:55 aaron Exp $ +.\" $OpenBSD: sh.1,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 |