delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/16/18:52:48

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
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: locate lacks -r regular expression flag in Cygwin
Date: Thu, 17 Jun 2004 00:52:34 +0200
Lines: 29
Message-ID: <2d3zmpqwtsk1$.dlg@thorstenkampe.de>
References: <20040616221631 DOT 37025 DOT qmail AT web52205 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: isi-dial-142-232.isionline-dialin.de
User-Agent: 40tude_Dialog/2.0.12.1de

* Keith Christian (2004-06-17 00:16 +0100)
> I'm running this version of Cygwin:
> 
> CYGWIN_NT-5.1 den-aet-xpw002 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
> unknown Cygwin
> 
> on Windows XP Pro.
> 
> On Linux, I use the "-r" flag to search for regular expressions as shown
> below:
> 
> $ locate --version
> GNU locate version 4.1.7
> 
> KChristian AT den-aet-xpw002 ~
> $ locate -r "test.*xls"
> locate: invalid option -- r
> Usage: locate [-d path | --database=path] [-e | --existing]
>       [-i | --ignore-case] [--version] [--help] pattern...
> 
> Is there any reason why the version of "locate" in Cygwin doesn't support
> this?

Something wrong with "locate '*test*xls'"?

> Is it a limitation of Microsoft's NTFS file system?

Are you kidding? The whole point about locate is not searching the
file system.


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