From owner-freebsd-bugs Wed Mar 15 10:30: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (Postfix) with ESMTP id D11F137C4B1 for ; Wed, 15 Mar 2000 10:28:37 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.3/8.9.1) id KAA41884; Wed, 15 Mar 2000 10:28:24 -0800 (PST) (envelope-from mph) Date: Wed, 15 Mar 2000 10:28:24 -0800 From: Matthew Hunt To: Sheldon Hearn Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/17395: bin Message-ID: <20000315102824.B40338@wopr.caltech.edu> References: <200003151730.JAA57688@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200003151730.JAA57688@freefall.freebsd.org>; from sheldonh@uunet.co.za on Wed, Mar 15, 2000 at 09:30:04AM -0800 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 15, 2000 at 09:30:04AM -0800, Sheldon Hearn wrote: > > >Synopsis: This is a replacement for the perl version of which. > > This was discussed recently on the mailing lists (hackers?) and the > general concensus seemed to be that this is unnecessary? I thought the concensus was that having /usr/bin/which is unnecessary (because it's a csh(1) builtin, and sh-users should use "type") but that if it's going to exist, it might as well be in C or csh (depending on what you think /usr/bin/which ought to do) rather than Perl. Is there some reason that it ought to be done in Perl rather than C, if they do the same thing and the C version is faster? Matt -- Matthew Hunt * Stay close to the Vorlon. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message