Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by Anton Hartl
Wed, 08 Aug 1990 14:57
ksh88b bug
Author: Anton Hartl
Date: Wed, 08 Aug 1990 14:57
Date: Wed, 08 Aug 1990 14:57
25 lines
1286 bytes
1286 bytes
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@.informatik.tu-muenchen.de, ...!unido!tumult!hartl Only those who attempt the absurd will achieve the impossible. -Escher
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads