Subject: Re: need a which(1)
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 05/22/2004 22:18:36
In article <Pine.LNX.4.43.0405221441170.2218-100000@pilchuck.reedmedia.net>,
Jeremy C. Reed <reed@reedmedia.net> wrote:
>The cvs history for src/usr.bin/which says which was removed and that "All
>other shells have similar builtins."
>
>What about third-party configure scripts and various software provided by
>pkgsrc that hard-codes the usage of "which" (but obviously doesn't use any
>csh)?
>
>(An example is evolution's configure script. A run-time example was
>GRAMPS until I got them to fix their code.)
>
>If NetBSD -current provides a which(1) tool, please point me to it.
>
>Or please point me to an alternative, so I can package it up -- because I
>need it.
>
>I have heard some discussion and have seen a variety of which
>implementations, but I'll use NetBSD's if it provides one.
>

ls -il /usr/bin/{whereis,which}
22734 -r-xr-xr-x  2 root  wheel  8258 Apr  8 22:31 /usr/bin/whereis*
22734 -r-xr-xr-x  2 root  wheel  8258 Apr  8 22:31 /usr/bin/which*

christos