bug-bash
[Top][All Lists]
Advanced

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

Re: bug in pwd POSIX-compliance


From: Chet Ramey
Subject: Re: bug in pwd POSIX-compliance
Date: Wed, 16 Feb 2005 14:55:46 -0500

> Machine Type: i686-pc-cygwin
> 
> Bash Version: 3.0
> Patch Level: 16
> Release Status: release
> 
> Description:
> 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
> 
> Bash currently does not do this, but leaves PWD untouched with the
> non-canonical form of the current directory.

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.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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