From: Thien-Thi Nguyen Date: Sat, 13 Mar 2010 04:34:15 +0000 (+0100) Subject: doc: use mktemp, not tempfile, in a shred usage example X-Git-Tag: v8.5~56 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=141645d9c60d547e92a4f4a8c1a3dd8474a8205e;p=platform%2Fupstream%2Fcoreutils.git doc: use mktemp, not tempfile, in a shred usage example * doc/coreutils.texi (shred invocation): Use mktemp(1) instead of Debian-specific tempfile(1). --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 3e7a698..34ccf5a 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