bug-coreutils
[Top][All Lists]
Advanced

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

Re: ln -sf foo symlink_to_directory


From: Paul Jarc
Subject: Re: ln -sf foo symlink_to_directory
Date: Mon, 09 Feb 2004 16:46:36 -0500
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Paul Eggert <address@hidden> wrote:
> address@hidden (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




reply via email to

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