Re: BUG: /bin/pwd -P doesn't expand all symlinks

2015-10-23 Thread Andrey Repin
Greetings, Mark O'Keefe! > While using /bin/pwd -P to expand directories to get the absolute, > non-symlinked version of the directory I discovered that this doesn't work > on Cygwin as I believe it is meant to work. > $ cd /tmp > $ /bin/pwd -P > /tmp > $ ln -s /home . > $ cd home > $ /bin/pwd -

Re: /bin/pwd -P doesn't expand all symlinks

2015-10-23 Thread Mark O'Keefe
Thanks Ken, you gave me an idea. $ uname -srvmo CYGWIN_NT-6.3 2.3.0(0.290/5/3) 2015-09-08 22:33 x86_64 Cygwin I'm using native symlinks for compatibility. Turns out that if you use the below option to create the symlink you get the behavior I'm seeing. If you don't use this it works correctly.

RE: /bin/pwd -P doesn't expand all symlinks

2015-10-23 Thread Nellis, Kenneth
> From: Mark O'Keefe > > Hi, > > While using /bin/pwd -P to expand directories to get the absolute, non- > symlinked version of the directory I discovered that this doesn't work on > Cygwin as I believe it is meant to work. > > > $ cd /tmp > $ /bin/pwd -P > /tmp > $ ln -s /home . > $ cd home >

BUG: /bin/pwd -P doesn't expand all symlinks

2015-10-22 Thread Mark O'Keefe
Hi, While using /bin/pwd -P to expand directories to get the absolute, non-symlinked version of the directory I discovered that this doesn't work on Cygwin as I believe it is meant to work. $ cd /tmp $ /bin/pwd -P /tmp $ ln -s /home . $ cd home $ /bin/pwd -P /home $ pwd /tmp/home $ mkdir dummy