bug-coreutils
[Top][All Lists]
Advanced

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

Re: rm issue


From: Eric Blake
Subject: Re: rm issue
Date: Fri, 02 Dec 2005 19:11:07 +0000

> 
> I write to recommend a change to the "rm" command: When deleting the 
> files specified on the command line, when encountering one that doesn't 
> exist, after diagnosing the error, rm should immediately terminate 
> instead of the current procedure of continuing to delete files.

Thanks for the report.  However, POSIX requires the current behavior
of rm: http://www.opengroup.org/onlinepubs/009695399/utilities/rm.html

The only way we could change the behavior is by adding a new option,
but based on your proposed usage pattern, that won't do anything
for you.

Have you considered using shell functions or aliases to do the same
thing?  For example, in bash, some people like doing:

alias rm='rm -i'

--
Eric Blake






reply via email to

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