doc: use mktemp, not tempfile, in a shred usage example
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 13 Mar 2010 04:34:15 +0000 (05:34 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 13 Mar 2010 07:37:01 +0000 (08:37 +0100)
* doc/coreutils.texi (shred invocation):
Use mktemp(1) instead of Debian-specific tempfile(1).

doc/coreutils.texi

index 3e7a698..34ccf5a 100644 (file)
@@ -8718,7 +8718,7 @@ The intended use of this is to shred a removed temporary file.
 For example:
 
 @example
-i=`tempfile -m 0600`
+i=`mktemp`
 exec 3<>"$i"
 rm -- "$i"
 echo "Hello, world" >&3