On Sun, Jul 21, 2013 at 10:01:33PM +0200, Alexander Hall wrote:
> I for one don't see a general interest in knowing ones parents
> potentially faked wd. You can find out your wd by saner means.

All shells (including our pdksh) seem to do this already, but also
peek at PWD in the environment at startup (and do some sanity checks)
to set their own value of PWD.

I've the impression that all those other shells are exporting PWD
by default is to propagate the "logical" path instead of the
"physical" path to sub-shells. (See the "physical" option in sh(1)
or the description of PWD in POSIX)

Personally, I don't want such magical tracking of the "logical"
path propagated to invoked scripts or sub-shells.

Ciao,
        Kili

Reply via email to