delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/28/16:17:50

X-Spam-Check-By: sourceware.org
Message-ID: <43DBDF72.D25F24CC@dessent.net>
Date: Sat, 28 Jan 2006 13:17:38 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: whole-word matches searches of mailing list archive & packages
References: <43DBD7F5 DOT 5050100 AT doe DOT carleton DOT ca>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Fred Ma wrote:

> I was searching for whether the current cygwin has the "stat" command.
> This is for future reference, since I am unable to update my old
> cygwin installation at the moment.  I eventually found that "stat"
> resides in coreutils, but I was wondering if there is a way to specify
> whole-word matches when searching either the mailing list archive or
> while performing a Setup Package Search.  The reason is that some
> words are very common as partial words, so searches tend to come up
> with many unrelated hits.  Thanks.

The search is a regular expression.  If you are searching for a binary
of a particular name, use "/foo\.exe" which will anchor the match so
that it can only match a command by that name, i.e.
/some/path/to/foo.exe.  See "man pcre" for more information.

Brian

--
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