-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Chet Ramey on 8/15/2008 3:14 PM:
> 
> This is the behavior that Posix requires:  when CDPATH is used, bash
> outputs the name of the new working directory to stdout.  Commands
> and shell functions need to take this into account.

And in general, it is a bad idea to export CDPATH.  Using it in
interactive shells as a non-environment shell variable is fine, but
exporting it affects non-interactive shells.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkimFosACgkQ84KuGfSFAYBGggCfWc0IKnIYSuul73ZaNsa6S5Rl
hSwAn01Si7Fi+Z4UEOGbUedG411Jk8wL
=jg2N
-----END PGP SIGNATURE-----


Reply via email to