[alt.sources.d] fast which v3.0. A shorter method

maart@cs.vu.nl (Maarten Litmaath) (01/18/90)

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