which and the current directory

dale chayes dale at lamont.ldgo.columbia.edu
Mon Mar 25 07:38:56 AEST 1991


I found (after too much exploration (;-)) that /usr/bsd/which will not
find an executable in the current directory if is specified in the 
environment's $path as in:

set path = (. ~/bin /usr/bsd /bin /usr/bin /usr/sbin /usr/local/bin)

The shell (at least csh) finds them with out trouble (as
long as they are really there!) 

How come? (I can't believe that this hasn't turned up before.
[4D/20, 3.3.1]

-- 
Dale Chayes Lamont-Doherty Geological Observatory of Columbia University
Route 9W, Palisades, N.Y.  10964	dale at lamont.ldgo.columbia.edu
voice:	(914) 359-2900 extension 434	fax: (914) 359-6817




More information about the Comp.sys.sgi mailing list