On 3/30/17 11:55 AM, Reuti wrote:

> There are the options -P and -L to `pwd` and `cd`, i.e. and `cd -P ..` 
> follows the path up, independent from the symlink, while the default is -L.
> 
> I don't think that changing it in general would be good, but agree that it 
> might honor -P or -L. But this is hard to determine, as it depends on the 
> specified command.
> 
> For now I get the impression, that both, the logical and the physical paths 
> are checked.

When bash is not in Posix mode, it tries, as a last-ditch effort when
using the canonicalized pathname fails, to use what the user typed. This
has been the case since February, 1993, and went in as the result of
user requests.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to