Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: cd -q (was Re: _canonical_path ...)



On 27/03/2008, Peter Stephenson <pws@xxxxxxx> wrote:
> "Mikael Magnusson" wrote:
>  >     If the -P option is given or the CHASE_LINKS option is set,
>  > symbolic links are resolved to their true  values.   If the -L option
>  > is given symbolic links are followed regardless of the state of the
>  > CHASE_LINKS option.
>  > Intuitively this paragraph doesn't make any sense. Both options seem
>  > to do the same thing? (-P || CHASE_LINKS) || -L == -P || -L ||
>  > CHASE_LINKS
>
>
> -L is the opposite of the -P (logical rather than physical).  "Followed"
>   is a little unclear; it should be something like "retained", unless
>  someone can express it better.

I see. "follow" is probably the worst possible word to use for this
given for example this entry in the man page for "cp"
       -L, --dereference
              always follow symbolic links in SOURCE
I would suggest changing to "symbolic links are not resolved
regardless" or even "symbolic links are not followed regardless" :).
-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author