Paul Eggert <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Paul Jarc) writes:
>> rm's determination of whether to treat the path as a directory is
>> already determined entirely from the command line, from -r/-R.
>
> Not exactly: if foo is an empty directory, "rm -r foo" calls rmdir
> ("foo"), whereas "rm --as-is foo" would call unlink ("foo") and then
> would fail on most modern hosts.

Right.  I'm not sure I see your point, but I think we agree that
--as-is would not be especially useful for rm.


paul


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to