GNU bug report logs - #10819
[BUG][RM]

Previous Next

Package: coreutils;

Reported by: "jeremy.magrin <at> epitech.eu" <jeremy.magrin <at> epitech.eu>

Date: Wed, 15 Feb 2012 17:11:02 UTC

Severity: normal

Tags: moreinfo

Done: "Voelker, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: "Voelker\, Bernhard" <bernhard.voelker <at> siemens-enterprise.com>
Cc: "10819 <at> debbugs.gnu.org" <10819 <at> debbugs.gnu.org>, Davide Brini <dave_br <at> gmx.com>
Subject: bug#10819: [BUG][RM]
Date: Thu, 16 Feb 2012 14:54:23 +0100
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 95 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.