-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 30.03.2017 um 20:06 schrieb Chet Ramey: > 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. Thx for the clarification. - Reuti -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iEYEARECAAYFAljdTiIACgkQo/GbGkBRnRo3FQCgtL4nto3yovW4WMtcZV+CxUWG ddgAoJaGPWT8GLtp1CL6eSbVc6cu7dLS =DHoV -----END PGP SIGNATURE-----