Ignore lists [was: Keeping the cruft out ...]
Eric Wood
eric at interplas.com
Fri Mar 5 17:54:54 CET 2004
Bill McClain wrote:
>> Greg McCann wrote, in small part:
>
>>> 1. It does not do whole-word matching.
>
> grep has a -w word-match switch which works with -f and -v. Does that
> help?
With grep, one problem with the -w word-match is that is renders a -i ignore
case useless. The word-match must still match the case of the
search-string.
Now, fgrep's word-match ignore's case if you use the -i . So "hoooray" for
fgrep.
But, fgrep can't handle this senerio when you have spaces strings when
coming from a -f pattern-file. So "boooo" for fgrep.
I found this out the hard way....
-Eric Wood
More information about the Bogofilter
mailing list