bug-coreutils
[Top][All Lists]
Advanced

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

bug#9896: acknowledged by developer (Re: bug#9896: ln man page ambiguity


From: Paul Eggert
Subject: bug#9896: acknowledged by developer (Re: bug#9896: ln man page ambiguity)
Date: Mon, 05 Dec 2011 14:47:21 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0

On 11/20/11 23:53, Voelker, Bernhard wrote:
>  
> Paul Eggert wrote:
> +  -n, --no-dereference        treat LINK_NAME as a normal file if\n\
> +                                it is a symbolic link to a directory\n\
> 
> IMHO that's wrong.
> 
> ln also creates a hardlink of a symlink if that points to a file:
> 
> $ touch f
> $ ln -s f flink
> $ ln -n flink flink-n

You're right about ln's behavior, but the proposed wording is not
incorrect.  In the example, flink-n is not a symbolic link
to a directory, so the documentation says that "ln -n flink flink-n"
should behave like ordinary "ln flink flink-n", which is what happens.
In this respect, the proposed wording is no better or worse than
the current wording.

Perhaps the wording could be further improved.  To get things moving
in the meantime I committed the proposed wording.





reply via email to

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