fast which v3.0. A shorter method
Maarten Litmaath
maart at cs.vu.nl
Thu Jan 18 11:02:16 AEST 1990
In article <605 at torch.co.uk>,
igp at 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 at cs.vu.nl, uunet!mcsun!botter!maart
More information about the Alt.sources.d
mailing list