From 141645d9c60d547e92a4f4a8c1a3dd8474a8205e Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sat, 13 Mar 2010 05:34:15 +0100 Subject: doc: use mktemp, not tempfile, in a shred usage example * doc/coreutils.texi (shred invocation): Use mktemp(1) instead of Debian-specific tempfile(1). --- doc/coreutils.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-54-g00ecf