[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in pwd POSIX-compliance

From: Eric Blake
Subject: Re: bug in pwd POSIX-compliance
Date: Wed, 16 Feb 2005 21:50:35 -0700
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

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
 > 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
 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             address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]