GNU bug report logs - #16862
Feature Request for rm

Previous Next

Package: coreutils;

Reported by: Marc Perkel <marc <at> perkel.com>

Date: Mon, 24 Feb 2014 06:15:03 UTC

Severity: wishlist

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 16862 <at> debbugs.gnu.org (full text, mbox):

From: Marc Perkel <marc <at> perkel.com>
To: Bob Proulx <bob <at> proulx.com>
Cc: 16862 <at> debbugs.gnu.org
Subject: Re: bug#16862: Feature Request for rm
Date: Sun, 23 Feb 2014 22:42:50 -0800
Wow! I'm blind - thanks!

On 2/23/2014 10:28 PM, Bob Proulx wrote:
> severity 16862 wishlist
> close 16862
> thanks
>
> Hello Marc,
>
> Marc Perkel wrote:
>> Minor feature request
>> Suggest -q (for quiet) for rm command. No error code if file doesn't exist.
>> rm -q file
>> rather tham
>> rm file 2> /dev/null
> The 'rm' program already handles this feature using the -f option.  It
> is a standard idiom.  Instead of -q you want -f.
>
>    rm -f file
>
> This is much better than 'rm file 2> /dev/null' because errors are
> properly reported to the caller.
>
> The documentation says:
>
>    -f
>    --force
>       Ignore nonexistent files and missing operands, and never prompt
>       the user.  Ignore any previous --interactive (-i) option.
>
> Since this is a standard feature I am marking the ticket closed.
> Please feel free to add further discussion into the bug log.
>
> Bob
>





This bug report was last modified 11 years and 92 days ago.

Previous Next


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