Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!lamont!dale From: dale@lamont.ldgo.columbia.edu (dale chayes) Newsgroups: comp.sys.sgi Subject: which and the current directory Keywords: /usr/bsd/which and path Message-ID: <3531@lamont.ldgo.columbia.edu> Date: 24 Mar 91 21:38:56 GMT Organization: Lamont-Doherty Geological Observatory N.Y. Lines: 18 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@lamont.ldgo.columbia.edu voice: (914) 359-2900 extension 434 fax: (914) 359-6817