]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: fix typo in shred example
authorGreg Wooledge <greg@wooledge.org>
Sat, 17 Feb 2024 13:07:12 +0000 (13:07 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 17 Feb 2024 13:15:51 +0000 (13:15 +0000)
* doc/coreutils.texi (shred invocation): Fix the example
to correctly close file descriptor 3.
* THANKS.in: Remove old email since now recorded in repo history.
Reported at https://bugs.debian.org/1063837

THANKS.in
doc/coreutils.texi

index 47144a5ceb8e190991c367dd6d659dad3f2439d3..c402d681085c6840d54269e0cca06d9061c78145 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
@@ -238,7 +238,6 @@ Greg McGary                         gkm@gnu.org
 Greg Metcalfe                       metcalfegreg@qwest.net
 Greg Schafer                        gschafer@zip.com.au
 Greg Troxel                         gdt@bbn.com
-Greg Wooledge                       gawooledge@sherwin.com
 Gregory Leblanc                     gleblanc@cu-portland.edu
 Guido Leenders                      guido.leenders@invantive.com
 Guntram Blohm                       Extern.Guntram.Blohm@AUDI.DE
index d7cf5e08aac62e0ea6be4e37bc40ad5257538eb5..9015a3717c3c5a0186172534b3833979661b8fbe 100644 (file)
@@ -10740,7 +10740,7 @@ exec 3<>"$i"
 rm -- "$i"
 echo "Hello, world" >&3
 shred - >&3
-exec 3>-
+exec 3>&-
 @end example
 
 However, the command @samp{shred - >file} does not shred the contents