Darren New wrote:
> Chuck Esterbrook wrote:
>> NAME
>>        realpath - return the canonicalized absolute pathname
> 
> Funny thing is, back in the days before pwd was a built-in and when
> getcwd() actually forked and invoked /bin/pwd, cd'ing to a symlink and
> then asking for the pwd returned the canonical path. Which I suppose
> broke lots of stuff that wasn't expecting that either. :-)

In my post, I was trying to get across that you can have it either way.

see
 help cd
 help pwd
for the bash builtins, and look for the -P option ("physical").

As you describe above, /bin/pwd works like the builtin pwd -P.

Regards,
..jim

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to