Re: cd $x; rmdir $x; mkdir $x; ...

2009-09-11 Thread Mike Frysinger
On Friday 11 September 2009 14:04:05 jida...@jidanni.org wrote: > Yes, this all is probably expected, but I'll post it here anyway, just > in case. all correct/expected behavior, and not really specific/bug in any of the programs you executed. once *nix has a descriptor for a path, it doesnt kee

cd $x; rmdir $x; mkdir $x; ...

2009-09-11 Thread jidanni
Yes, this all is probably expected, but I'll post it here anyway, just in case. $ mkdir /tmp/n $ cd /tmp/n $ rmdir /tmp/n $ mkdir /tmp/n $ pwd /tmp/n $ touch k touch: cannot touch `k': No such file or directory $ touch /tmp/n/k $ dash sh: getcwd() failed: No such file or directory $ pwd $ exit $