[EMAIL PROTECTED] (Paul Jarc) writes:
> > "rm --as-is foo" would be equivalent to "unlink foo", and
>
> I didn't suggest adding this option to rm. 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.
> > But I tend to prefer adding a flag to the existing commands.
> > But I prefer Bruno's suggestion of adding a flag to the existing commands.
>
> Eh?
An editing error on my part. Sorry.
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils