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

According to Egmont Koblinger on 11/13/2006 7:26 AM:
> Hi,
> 
> According to the bash manpage and to "help pwd", "pwd -P" should only print
> something but not change the state of bash.

Unfortunately, the current wording of POSIX 2001 requires 'pwd -P' to
change the state of bash.  But this is only done in posix mode, since it
is so counterintuitive.  Also, I raised this issue with the POSIX folks a
while ago, so the next version of POSIX (currently in draft form at
opengroup.org/austin, free registration required to read the draft; final
version expected in 2008) may relax this so that 'pwd -P' is once again
non-state-changing.

- --
Life is short - so eat dessert first!

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

iD8DBQFFWIIx84KuGfSFAYARAk/CAJ9gYveTtd6LlPnmLjJH61qdGA1m7wCfZo1J
/0bO5D3IwgUF8f0sZWClBbA=
=BKzL
-----END PGP SIGNATURE-----


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to