From owner-freebsd-current Sun Sep 10 03:47:04 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id DAA14855 for current-outgoing; Sun, 10 Sep 1995 03:47:04 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id DAA14843 for ; Sun, 10 Sep 1995 03:47:02 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id MAA17905; Sun, 10 Sep 1995 12:37:21 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id MAA18605; Sun, 10 Sep 1995 12:37:21 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id JAA20049; Sun, 10 Sep 1995 09:05:06 +0200 From: J Wunsch Message-Id: <199509100705.JAA20049@uriah.heep.sax.de> Subject: Re: whereis To: freebsd-current@FreeBSD.ORG (FreeBSD-current users) Date: Sun, 10 Sep 1995 09:05:04 +0200 (MET DST) Cc: root@io.cts.com (Morgan Davis) Reply-To: freebsd-current@FreeBSD.ORG (FreeBSD-current users) In-Reply-To: <199509100001.RAA08139@io.cts.com> from "Morgan Davis" at Sep 9, 95 05:01:47 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 624 Sender: current-owner@FreeBSD.ORG Precedence: bulk As Morgan Davis wrote: > > I've often wondered why the 'whereis' command doesn't use your $PATH > in addition to the default path it searches. Is there some compelling > reason for not doing this? What you're requesting is covered by "which -a". "whereis" has been crippled beyond recognition in 4.4BSD. It has to be rewritten, the current functionality is absolutely useless. Either Wolfram Schneider (but with low priority for this) or me will revamp it probably in Perl. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)