Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: alt.sources.d Subject: Re: fast which v3.0. A shorter method Message-ID: <5120@solo5.cs.vu.nl> Date: 18 Jan 90 00:02:16 GMT References: <5051@solo9.cs.vu.nl> <605@torch.co.uk> Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatika, Amsterdam, the Netherlands Lines: 14 In article <605@torch.co.uk>, igp@torch.co.uk (Ian Phillipps) writes: \... \BUGS: you can't do `which foo` ...which I do quite often. Not nice. Another bug: root possibly gets wrong answers (see which.c v3.0). Furthermore you didn't include a `-a' option and you don't print the PATH if there are no arguments. Lastly your script is csh- and alias-oriented: e.g. you don't support shell functions. I think I stick with which.c. -- What do the following have in common: access(2), SysV echo, O_NONDELAY? | Maarten Litmaath @ VU Amsterdam: maart@cs.vu.nl, uunet!mcsun!botter!maart