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

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



"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.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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