bugfindutils - Bugs: bug #11745, RFE: regular expression matching...


bug #11745: RFE: regular expression matching for locate

Submitter:  James Youngman <jay>
Submitted:  Thu 27 Jan 2005 12:59:07 PM UTC
Category:  locate Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Karl Berry Open/Closed:  Closed
Release:  4.2.14 Fixed Release:  4.2.15
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Thu 27 Jan 2005 11:07:38 PM UTC, comment #1: 

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project Administrator
Thu 27 Jan 2005 12:59:07 PM UTC, original submission:  

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.

James Youngman <jay>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.





Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-01-29 jay Open/ClosedOpen Closed
    Fixed ReleaseNone 4.2.15
2005-01-27 jay StatusNone Fixed

Back to the top

Powered by Savane 3.9