From 2e5faf5b30948aaedd4afe6cd89fce60cb937db0 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Thu, 19 Oct 2000 18:29:29 +0000 Subject: 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. --- bin/csh/csh.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/csh') diff --git a/bin/csh/csh.1 b/bin/csh/csh.1 index 3fe55c5bd8a..ad9bc4cd76e 100644 --- a/bin/csh/csh.1 +++ b/bin/csh/csh.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: csh.1,v 1.36 2000/04/17 02:32:41 aaron Exp $ +.\" $OpenBSD: csh.1,v 1.37 2000/10/19 18:29:26 aaron Exp $ .\" $NetBSD: csh.1,v 1.10 1995/03/21 09:02:35 cgd Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -1068,6 +1068,11 @@ if the current input filename is known, if it is not. .It \&$\&$\& Substitute the (decimal) process number of the (parent) shell. +Do +.Em NOT +use this mechanism for generating temporary file names; see +.Xr mktemp 1 +instead. .It $! Substitute the (decimal) process number of the last background process started by this shell. -- cgit v1.2.3