[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10819: [BUG][RM]
From: |
Jim Meyering |
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 address@hidden
Jens Schmidt address@hidden
Jeph Cowan address@hidden
Jeremy Maitin-Shepard address@hidden
+Jérémy Magrin address@hidden
Jerome Abela address@hidden
Jérôme Zago address@hidden
Jesse Kornblum address@hidden
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
- bug#10819: [BUG][RM], address@hidden, 2012/02/15
- bug#10819: [BUG][RM], Eric Blake, 2012/02/15
- bug#10819: [BUG][RM], Davide Brini, 2012/02/16
- bug#10819: [BUG][RM], Jim Meyering, 2012/02/16
- bug#10819: [BUG][RM], Voelker, Bernhard, 2012/02/16
- bug#10819: [BUG][RM], Jim Meyering, 2012/02/16
- bug#10819: [BUG][RM], Voelker, Bernhard, 2012/02/16
- bug#10819: [BUG][RM],
Jim Meyering <=
- bug#10819: [BUG][RM], Voelker, Bernhard, 2012/02/16
- bug#10819: [BUG][RM], Eric Blake, 2012/02/16
- bug#10819: [BUG][RM], Jim Meyering, 2012/02/16
- bug#10819: [BUG][RM], Stefano Lattarini, 2012/02/16
- bug#10819: [BUG][RM], Eric Blake, 2012/02/16
- bug#10819: [BUG][RM], Philip Rowlands, 2012/02/16
- bug#10819: POSIX will say running "rm -f" with no argument is OK, Stefano Lattarini, 2012/02/16