GNU bug report logs -
#16862
Feature Request for rm
Previous Next
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
View this message in rfc822 format
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
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.