[plug] slocate and regex

Mike Holland myk.list at westnet.com.au
Wed Jul 5 12:16:37 WST 2006


Hi,
it seems someone has changed the way slocate (GNU secure locate) works,
but the man/info page isn't much help, and I cannot find any more 
documentation.

Before, if you say 'locate foo', it would list all files containing 
'foo' in the pathname. If you put in a wildcard, the expression
had to match the entire pathname, not just contain it.
    But now, that's different, so 'noglob locate *foo' is equivalent
to 'locate foo' and 'noglob locate *foo*'.

How do I get the old behaviour?  Or more specifically, how do I specify 
end-of line?  '*foo$' doesn't work.

cheers, Mike.




More information about the plug mailing list