bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $(pwd) != $(/bin/pwd)


From: Jan Schampera
Subject: Re: $(pwd) != $(/bin/pwd)
Date: Sun, 03 Jan 2010 20:02:17 +0100
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)

Leonid Evdokimov schrieb:

> This problem may be fixed if bash does not optimise number of getcwd() calls,
> but I'm not sure if the bug is really a _bug_, but not a sort of strange
> feature.

Depends what 'bar' is above, assuming it's a (sym-)link or a bind here:
IMHO this is not a bug. There simply is no "one and only absolute path".

There's also a nice paper about it from the Plan 9 guys from Bell Labs.


J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]