Do the following as an underpriviledged user in the bash shell:
rm -fR ./foo
Under the BASH shell and Z shell I get:
./foo (the directory)
Under tsch, and csh I get:
/usr/bin/ls: foo: No such file or directory
I assume this is a bug in the BASH and Z shells, and tsch and csh handle pwd correctly.
But, I know that you can open a file, delete the file, and have access to an anonymous file (because no inode refers to your inode, or something)
So have I found a bug, or just a peculiar feature of *nix? And is it worth bothering the maintainers of BASH and Z shell about?