[plug] How to "locate *.foo" ??
Michael Holland
michael.holland at gmail.com
Tue Jan 8 11:43:43 WST 2008
The useful locate command has been replaced with slocate, but I'm not
sure how to get the old behavior for a simple "locate *.foo" .
In the old version, that would get me all filenames with that extension,
but now it returns all files with .foo anywhere in the name, as if I
asked for *.foo* . Why??
There is a -regexp option, but "slocate --regexp '.*\.foo$' "
matches nothing. Why doesn't the $ match end of filename?
cheers, Mike
More information about the plug
mailing list