Ignore lists [was: Keeping the cruft out ...]
David Relson
relson at osagesoftware.com
Fri Mar 5 16:33:34 CET 2004
On Fri, 5 Mar 2004 09:21:18 -0600
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?
Not enough :-( "grep -w xyz" will match "xyz" and "abc-xyz-123".
What's needed is the caret "^" to indicate the beginning of the line and
a space to indicate the end of the token, i.e.
egrep "^xyz "
More information about the Bogofilter
mailing list