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