[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pushd/popd/dirs for es
> I'd like to know what other people think of the issue.
The `right' place to fix this is in the kernel :-)/2
But seriously, file name resolution in a shell should be
consistent with what the kernel does so that there are no
surprises. For example,
rm -rf ../foo
should remove the same foo directory as in
cd ..
rm -rf foo
and a C program that does
system("rm -rf foo");
-- bakul
PS: I happen to like treating `<path>/foo/..' as equivalent to
`<path>' but not at the expense of inconsistency.