Korn Shell Question
carroll at snail.CS.UIUC.EDU
carroll at snail.CS.UIUC.EDU
Sat Nov 1 03:58:00 AEST 1986
Well, that does seem to work. I remember it failing for csh, but
I guess that's because you have to use `pwd` instead of a variable.
For the bourne shell, you can do the same thing, except in your
.profile instead of .kshrc, and use change_dir() instead of function
change_dir. Unfortunately, that means that it won't work for any forked
shells (such as out of notesfiles or whatever). Also, you have to use
`pwd` because I don't think that Bourne shell supports the var PWD.
More information about the Comp.unix
mailing list