Subject: Re: replacement for which(1)
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-userlevel
Date: 04/01/2004 19:16:16
On Thu, 1 Apr 2004 18:34:09 -0800, John Nemeth writes:
># uname -a
>HP-UX hp B.10.20 U 9000/800 2006371227 unlimited-user license
># sh
># type telnet
>telnet is /usr/bin/telnet

Cool - I assume that "sh" was /bin/sh ? ;-)

Even so, I'm not sure I'd use type in a script - since it needs enough
post processing (esp to weed out alias related output) that it gains little
at best. 

Thanks
--sjg