locate lacks -r regular expression flag in Cygwin

Thorsten Kampe thorsten@thorstenkampe.de
Wed Jun 16 22:52:00 GMT 2004


* 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@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/



More information about the Cygwin mailing list