On Thu, 10 Apr 2008, Ralf Wildenhues wrote:
On systems where $PWD happens to not work, we shouldn't care about
performance, they are so rare.
We should define what it means for PWD to work. Using the ZSH shell:
% echo `/bin/pwd`
/scratch/bfriesen/build/GraphicsMagick-1.1-16-static
% echo `pwd`
/home/bfriesen/build/GraphicsMagick-1.1-16-static
% echo $PWD
/home/bfriesen/build/GraphicsMagick-1.1-16-static
Note that only /bin/pwd revealed the true path, but the shell's notion
of the path is more pleasing to me since it is reporting how I got to
the working directory and nicely hides that there was a symbolic link
involved.
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/