This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pwd problems


I just installed the latest version of Cygwin.  I have a 
strange problem with pwd -- instead of just showing the current 
directory, it shows how I cd'd there, with '..' and stuff.  
Here's an example, that I pasted from a bash session:

administrator@NDEV04C ~
$ pwd
/cygdrive/d/home/steve

administrator@NDEV04C ~
$ cd ..

administrator@NDEV04C ~/..
$ cd steve

administrator@NDEV04C ~/../steve
$ cd ..

administrator@NDEV04C ~/../steve/..
$ cd steve

administrator@NDEV04C ~/../steve/../steve
$ cd ..

administrator@NDEV04C ~/../steve/../steve/..
$ cd steve

administrator@NDEV04C ~/../steve/../steve/../steve
$ pwd
/cygdrive/d/home/steve/../steve/../steve/../steve

administrator@NDEV04C ~/../steve/../steve/../steve
$

Curiously, this problem does not occur if I'm underneath the root ('/')
directory.

Any help would be appreciated!

Steve Molitor
smolitor@erac.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]