delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/13/12:04:07

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

As seen from lists.cygwin, on
Thu, 13 Dec 2007 09:24:29 +0100,
Corinna Vinschen <corinna-cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019