more csh path - (nf)
rpw3 at fortune.UUCP
rpw3 at fortune.UUCP
Sat Mar 10 14:06:47 AEST 1984
#R:sri-arpa:-1698600:fortune:26900030:000:956
fortune!rpw3 Mar 9 20:01:00 1984
No matter what you think of this "feature", the automatic dereferencing
of shell variables in the context of a 'cd' command is at least documented,
as the following edited excerpt from the man page shows:
+--------------------
| cd
| cd name
| Change the shells working directory to directory name.
| If no argument is given then change to the home direc-
| tory of the user.
| If name is not found as a subdirectory of the current
| directory (and does not begin with `/', `./' or `../'),
| then each component of the variable cdpath is checked
| to see if it has a subdirectory name. Finally, if all
====> | else fails but name is a shell variable whose value
| begins with `/', then this is tried to see if it is a
| directory.
+--------------------
Rob Warnock
UUCP: {sri-unix,amd70,hpda,harpo,ihnp4,allegra}!fortune!rpw3
DDD: (415)595-8444
USPS: Fortune Systems Corp, 101 Twin Dolphin Drive, Redwood City, CA 94065
More information about the Comp.unix
mailing list