GNU bug report logs -
#10819
[BUG][RM]
Previous Next
Full log
Message #28 received at 10819 <at> debbugs.gnu.org (full text, mbox):
Voelker, Bernhard wrote:
> Good point.
> That means, the info page could be enhanced to mention that
> special case (see below).
...
> Subject: [PATCH] doc: document 'rm -f' better
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> * doc/coreutils.texi (rm invocation): Mention that the option '-f' also
> silences the message for missing operands which is useful in scripts
> e.g. for "rm -f $file_list" when $file_list is empty.
> * src/rm.c (usage): Likewise.
> Reported by Jérémy Magrin in http://bugs.gnu.org/10819
...
Thanks. I've applied that with these tweaks:
doc: improve 'rm -f' description
diff --git a/THANKS.in b/THANKS.in
index 904bb3e..c8dd75f 100644
--- a/THANKS.in
+++ b/THANKS.in
@@ -276,6 +276,7 @@ Jens Elkner elkner <at> imsgroup.de
Jens Schmidt jms <at> jsds.hamburg.com
Jeph Cowan jeph <at> ucar.edu
Jeremy Maitin-Shepard jbms <at> cmu.edu
+Jérémy Magrin jeremy.magrin <at> epitech.eu
Jerome Abela abela <at> hsc.fr
Jérôme Zago bug-coreutils-ml <at> agt-the-walker.net
Jesse Kornblum kornblum <at> usna.edu
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 87624c2..8c6a287 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -8769,7 +8769,7 @@ rm invocation
@itemx --force
@opindex -f
@opindex --force
-Ignore nonexistent files, missing operands and never prompt the user.
+Ignore nonexistent files and missing operands, and never prompt the user.
Ignore any previous @option{--interactive} (@option{-i}) option.
@item -i
This bug report was last modified 13 years and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.