Subject: Re: /usr/bin/which is a csh script!!?!
To: Dave Huang <email@example.com>
From: Rick Kelly <firstname.lastname@example.org>
Date: 05/02/2003 01:57:55
Dave Huang said:
>But it's been a csh builtin since the 4.4-Lite merge, over 8 years
>ago... I don't see any need for which(1) anymore--it only works
>properly for csh-like shells, and those already have a builtin "which."
>Other shells have their own way of determining what'll run when you
>type a command.
I've been using which(1) (/usr/bin/which) on a daily basis for around
23 years. I currently use ksh as my shell. There is no builtin which
in ksh or sh.
Just about all BSD and SVR4 derived UNIX systems have which.
Rick Kelly email@example.com www.rmkhome.com