Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!nikhefh!e07 From: e07@nikhefh.nikhef.nl (Eric Wassenaar) Newsgroups: comp.sys.apollo Subject: SR10.1.p csh builtin which command does not work Message-ID: <665@nikhefh.nikhef.nl> Date: 18 Dec 89 10:01:42 GMT Organization: Nikhef-H, Amsterdam (the Netherlands). Lines: 15 The bsd 'which' command is a builtin command in the csh. It does not consider those commands in the $path directories which have no execute right to the world (e.g. mode 750, root, staff). Since I am a member of group staff, I can execute such commands, but 'which' cannot find them, or I am misled in case a command with the same name exists in a directory with lower search priority. Fortunately there is still the good-old /usr/ucb/which, which does not try to be clever. Eric Wassenaar -- Organization: NIKHEF-H, National Institute for Nuclear and High-Energy Physics Address: Kruislaan 409, P.O. Box 41882, 1009 DB Amsterdam, the Netherlands Phone: +31 20 592 0412, Home: +31 20 909449, Telefax: +31 20 592 5155 Internet: e07@nikhef.nl