From owner-freebsd-current Sun Sep 10 23:50:43 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA11079 for current-outgoing; Sun, 10 Sep 1995 23:50:43 -0700 Received: from mailhub.cts.com (root@mailhub.cts.com [192.188.72.25]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id XAA11073 for ; Sun, 10 Sep 1995 23:50:43 -0700 Received: from io.cts.com by mailhub.cts.com with smtp (Smail3.1.29.1 #19) id m0ss2h8-000V2OC; Sun, 10 Sep 95 23:50 PDT Received: (from root@localhost) by io.cts.com (8.6.12/8.6.9) id XAA11860 for freebsd-current@FreeBSD.ORG; Sun, 10 Sep 1995 23:50:47 -0700 From: Morgan Davis Message-Id: <199509110650.XAA11860@io.cts.com> Subject: Re: whereis To: freebsd-current@FreeBSD.ORG Date: Sun, 10 Sep 1995 23:50:46 -0700 (PDT) In-Reply-To: <199509100705.JAA20049@uriah.heep.sax.de> from "J Wunsch" at Sep 10, 95 09:05:04 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 665 Sender: current-owner@FreeBSD.ORG Precedence: bulk J Wunsch writes: > > 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". It sure is! Thanks a bunch. Works perfectly. > "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. Yup. You're talking about the original whereis, the one that can find man pages, too, right?