X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 13 Dec 2007 07:31:31 -0800
From: Jeff <for.listmail@verizon.net>
Subject: Re: missing 'which' documentation
To: cygwin@cygwin.com
Message-id: <TBVYHx3lQ3ZK092yn@verizon.net>
MIME-version: 1.0
X-Mailer: Yarn 0.92 with YES 0.22
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 8bit
Newsgroups: lists.cygwin
Lines: 28
References: <4760AD25.1010802@veritech.com>  <20071213082429.GA4670@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

As seen from lists.cygwin, on
Thu, 13 Dec 2007 09:24:29 +0100,
Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:

>On Dec 12 22:55, Lee D. Rothstein wrote:
>> Does anybody know or care that there is an option --
>> '-a' -- for 'which' -- that is not documented on
>> Cygwin. That is, there is no internal help, and there
>> is no 'man' or 'info' page provided by Cygwin install.
>> If anybody wants this, I will find or create the 'man'
>> page and make it cover '-a', and then do *what* with
>> it? Pointers appreciated!
>
>Cygwin's which is quite an old one written by me.  The best way to move
>forward would probably be to remove it from the Cygwin distro in favor
>of the which used in several (all?) Linux distros:

I recall (perhaps even correctly :) ) that SunOS had a "where" command
with the functionality of your 'which -a'. The idea was that "where"
would show you all scripts and executables of a given name in your
command path (ie. "where" they are), while "which" would tell you
*which* one of them would execute at the shell prompt. So unusual, to
see a pair of utilities whose names were so nearly self-explanatory. :)
Is the Linux "which" like yours (ie. 'which -a' == SunOS 'where')?

-- 
"Sorry, my life is still in beta, and nowhere near stable enough for a
release."

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

