[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #11745] RFE: regular expression matching for locate

From: James Youngman
Subject: [bugs #11745] RFE: regular expression matching for locate
Date: Thu, 27 Jan 2005 12:59:07 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Logica 5.5 SP2; .NET CLR 1.1.4322)


                 Summary: RFE: regular expression matching for locate
                 Project: findutils
            Submitted by: jay
            Submitted on: Thu 01/27/2005 at 12:59
                Category: locate
                Severity: 1 - None
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: jay
         Originator Name: Karl Berry
        Originator Email: address@hidden
             Open/Closed: Open
                 Release: 4.2.14
           Fixed Release: None



One feature I really, really, really miss in GNU locate (that is in the
slocate package) is the ability to search the updatedb database for a regular
expression, not a string.


James adds:

Option -r, --regex.    Match against whole path name.   

Maybe also --regexp in case people misremember the option. 

Use POSIX enhanced regexps.

Can anchor against ends of whole path with ^,$ as usual.

Meanwhile, "locate . | grep -e regex" will probably do as a workaround. 



This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]