projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c31cdc
)
doc: use mktemp, not tempfile, in a shred usage example
author
Thien-Thi Nguyen
<ttn@gnuvola.org>
Sat, 13 Mar 2010 04:34:15 +0000
(
05:34
+0100)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/doc/coreutils.texi
b/doc/coreutils.texi
index
3e7a698
..
34ccf5a
100644
(file)
--- 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