ksh88b bug
Anton Hartl
hartl at lan.informatik.tu-muenchen.dbp.de
Thu Aug 9 00:57:25 AEST 1990
I've found a bug in ksh88b that occured when I started ksh to execute
a shell script in a C shell environment (with neither a .profile nor
$PWD set).
I boiled the bug down to the following line
ksh -c "cd .. ; pwd"
which produces in that case (no .profile, no PWD in the environment)
ksh: pwd: cannot access parent directories
If you setenv PWD to something (doesn't seem to matter what you set
it to) the line above produces the expected result, i.e. the
complete path of "..".
Somehow ksh does not set its own current directory properly.
If anyone has a fix for this, I'll be pleased to see it.
-Toni
--
Anton Hartl | hartl at .informatik.tu-muenchen.de, ...!unido!tumult!hartl
Only those who attempt the absurd will achieve the impossible. -Escher
More information about the Comp.bugs.sys5
mailing list