[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
people.
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
variant.
Sincerely,
Luc.
- Re: locate-with-filter, (continued)
- Re: locate-with-filter, Luc Teirlinck, 2006/03/31
- Re: locate-with-filter, Richard Stallman, 2006/03/19
- Re: locate-with-filter, Nick Roberts, 2006/03/19
- Re: locate-with-filter, Luc Teirlinck, 2006/03/19
- Re: locate-with-filter, Nick Roberts, 2006/03/20
- Re: locate-with-filter, Richard Stallman, 2006/03/20
- Re: locate-with-filter, Luc Teirlinck, 2006/03/18
- Re: locate-with-filter, Luc Teirlinck, 2006/03/18
- Re: locate-with-filter, Stefan Monnier, 2006/03/20
- Re: locate-with-filter, Richard Stallman, 2006/03/14
- Re: locate-with-filter,
Luc Teirlinck <=
- Re: locate-with-filter, Luc Teirlinck, 2006/03/15
- Re: locate-with-filter, Richard Stallman, 2006/03/15