Article View: gnu.bash.bug
Article #272.. in $PWD: bug or feature?
From: Mitchell N. Perilstein
Date: Mon, 10 Aug 1992 18:16
Date: Mon, 10 Aug 1992 18:16
30 lines
1032 bytes
1032 bytes
Forgive me if this is part of the old getwd() problem but, bash$ cd /usr/local/.. bash$ builtin pwd /usr bash$ /bin/pwd /usr bash$ echo $PWD /usr/local/.. When should `pwd` differ from $PWD? Users who have \W in their PS1 might find this annoying. bash$ echo $BASH_VERSION 1.12.1 # Also seen on Sun3, SunOS unuk 4.0 sun # Sun4, SunOS mira 4.1 2 # and rs6000 AIX maya 1 3 000001601000 --- Mitchell N. Perilstein 5457 Twin Knolls Rd CAD Language Systems, Inc. Suite 101 410-992-5700 Columbia, MD 21045-3259
Technical Details
Message-ID:
<MITCH.92Aug10141637@mira.clsi>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!clsi.UUCP!mitchShow Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!clsi.UUCP!mitch From: mitch@clsi.UUCP (Mitchell N. Perilstein) Subject: .. in $PWD: bug or feature? Message-ID: <MITCH.92Aug10141637@mira.clsi> Sender: gnulists@ai.mit.edu Organization: CAD Language Systems, Inc. Distribution: gnu Date: Mon, 10 Aug 1992 18:16:37 GMT Approved: bug-bash@prep.ai.mit.edu Lines: 32