Subject: Re: bin/3138: [dM] mkdep(1) always uses /usr/bin/gcc
To: None <netbsd-bugs@NetBSD.ORG>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 02/06/1997 11:13:38
On Wed, 5 Feb 1997, Mike Long wrote:

: After thinking about your arguments I now agree with you that the
: current behavior of /usr/bin/which is broken.  I still think Arne's C
: program is overkill, however; something like:
: 
: #! /bin/csh -f
: # ($NetBSD$, copyright, &c.)
: which $*
: 
: should be sufficient.

But try this, and hand it a name that isn't in $PATH.  It returns a big
debug string instead of "" (null).

=====
== Todd Vierling (Personal tv@pobox.com; Business tv@iag.net) Mmmm, donuts ==
== System administrator/technician, Internet Access Group, Orlando Florida ==
== Dialups in Orange, Volusia, Lake, Osceola counties - http://www.iag.net ==