[Top][All Lists]

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

Re: locate-with-filter

From: Luc Teirlinck
Subject: Re: locate-with-filter
Date: Tue, 14 Mar 2006 23:37:16 -0600 (CST)

Richard Stallman wrote:

   Could you check what the current version does?

It treats the search string as a shell pattern in a non-standard way,
which is different from both the way `bash' and `find' treat shell
patterns.  But there are several other maintained and widely used
locate variants out there that treat the search string as an ordinary
string and optionally as a regexp.  Basically, if people use a locate
program, they should either pass it only strings without any special
characters or read the docs.

In my latest patches, which I send separately, I just talk about
"matching" SEARCH-STRING and refer to the docs for details.  Anything
else is just likely to cause a lot more confusion than help to most

        The Info documentation I have installed says that locate
       treats SEARCH-STRING as a shell pattern.  The man page says that it
       treats it as a literal string, but that it has an option to treat it
       as a POSIX regular expression instead.  The actual behavior matches
       the man page.

   Would you please report this bug?

I believe that it is a local problem rather than a bug.  I somehow
just have Info files installed that do not match my actual locate



reply via email to

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