According to Chet Ramey on 2/16/2005 12:55 PM: >>POSIX requires pwd(1) with the -P option to update the PWD environment >>variable with a version scrubbed of all symlinks. See >>http://www.opengroup.org/onlinepubs/009695399/utilities/pwd.html >> > I agree that the standard says that, but no shell does it that way. I'm > going to ignore it for now. I'd bet that someone pinched the text in > question from the `cd' description at some point.
Based on your reaction, and the reaction on the coreutils list for /bin/pwd, I raised this as a concern against the Austin group; see https://www.opengroup.org/sophocles/show_mail.tpl?source=L&listname=austin-review-l&id=1899. Depending on the resolution, the requirement for `pwd -P' to set PWD may become optional or removed altogether. So your approach of leaving well enough alone for now is probably the best course of action. -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] _______________________________________________ Bug-bash mailing list Bug-bash@gnu.org http://lists.gnu.org/mailman/listinfo/bug-bash