diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2010-03-13 05:34:15 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-03-13 08:37:01 +0100 |
commit | 141645d9c60d547e92a4f4a8c1a3dd8474a8205e (patch) | |
tree | cbdec60f250c11c92e7e6824c39a5472d612308f | |
parent | 0c31cdc2d13a1e47106ce708ca9c94df8d21f764 (diff) | |
download | coreutils-141645d9c60d547e92a4f4a8c1a3dd8474a8205e.tar.xz |
doc: use mktemp, not tempfile, in a shred usage example
* doc/coreutils.texi (shred invocation):
Use mktemp(1) instead of Debian-specific tempfile(1).
-rw-r--r-- | doc/coreutils.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 3e7a69868..34ccf5a6b 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 |