bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16862: Feature Request for rm


From: Bernhard Voelker
Subject: bug#16862: Feature Request for rm
Date: Mon, 24 Feb 2014 07:39:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

tag 16862 notabug
thanks

On 02/24/2014 06:36 AM, 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

Thanks for the suggestion, but such an option already exists
for a very long time (if not even since day one).

>From "info coreutils 'rm invocation'":

  `-f'
  `--force'
       Ignore nonexistent files and missing operands, and never prompt
       the user.  Ignore any previous `--interactive' (`-i') option.

The -f option is one of those mandated by POSIX:
  http://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html

Therefore, I'm tagging this as "not a bug" and I'm marking it as done.

Have a nice day,
Berny







reply via email to

[Prev in Thread] Current Thread [Next in Thread]