Re: [ILUG] [OT] digital unix...

From: Justin Mason (jm at domain jmason.org)
Date: Fri 25 May 2001 - 13:09:26 IST


kevin lyda said:

> oh i just don't understand this one. this makes no sense whatsoever.
>
> here i am on a tru65 5.1 system. and i'm in zsh. i type the following:
>
> tru64% pwd
> /u/kevin
> tru64% echo $PWD
> /u/kevin
> tru64% which pwd
> builtin
> tru64% sh
> tru64# pwd
> /kevin
> tru64# /usr/bin/pwd
> /kevin
> tru64# echo $PWD
> /u/kevin
> tru64# exit
> tru64% /usr/bin/pwd
> /kevin
>
> at no point do i change directories. this makes no sense. and it worked
> fine up until today. why, why, why????

Maybe zsh exports $PWD, and /bin/sh doesn't set it. Hence the echo $PWD in
sh echos the $PWD set by zsh.

Is /kevin a symlink to /u/kevin?

--j.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:28 GMT