[Top][All Lists]

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

Re: locate and regexp search

From: James Youngman
Subject: Re: locate and regexp search
Date: Wed, 26 Jan 2005 18:11:02 +0000
User-agent: Mutt/1.3.28i

On Tue, Jan 25, 2005 at 06:41:47PM -0500, Karl Berry wrote:
> 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.
> My recollection from decades past is that djm was reluctant to implement
> this because of performance concerns, but I can't see that that is an
> issue these days.
> Here's hoping ... :).

Relatively straightforward - I'm happy to do this.  Presumably this
should be controlled by option -r, --regex for compatibility with

Could you find out for me whether the slocate implementation requires
that the regexp match the 

1. The WHOLE path name, or 
2. Just the basename, or
3. Any substring?

c.f. GNU locate's -w and -b options.


reply via email to

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