How to get the pathname of the current executable?
L. Scott Emmons
scott at csusac.csus.edu
Tue Feb 13 15:45:20 AEST 1990
In article <5378 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>(someone please tell me why which(1) reads the .cshrc...)
Because 'which' is a C-shell script itself...and when a C-shell script is called
a new csh is forked, and .cshrc is read whenever a csh is started up.
--
L. Scott Emmons
---------------
...[!ucbvax]!ucdavis!csusac!scott
ucdavis!csusac!scott at ucbvax.berkeley.edu
More information about the Comp.unix.questions
mailing list