bug-findutils
[Top][All Lists]
Advanced

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

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11745>

                 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

    _______________________________________________________

Details:

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:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11745>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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