junk test
Gustaf Erikson
gustafe at home.se
Wed May 28 21:09:03 CEST 2003
"Peter Bishop" <pgb at adelard.com> writes:
> I think I was a bit lax with the junk test
> I think a better test is for the string of consonants
> The grep command is now:
>
> bogoutil -d .bogofilter/spamlist.db \
> | grep -P "[bcdfghjklmnpqrstvwxz]{5}\.\*\\b1\\b" | wc -l
>
For the GNU grep 2.5.1 impaired, use Perl:
bogoutil -d ~/.bogofilter/spamlist.db \
| perl -ne '/[bcdfghjklmnpqrstvwxz]{5}.*\b1\b/ && print'
hth,
/g.
--
Gustaf Erikson <<< mobile: 073-338 76 18 >>> http://stureby.net/gustaf/
The giraffe you thought you offended last week is willing to be nuzzled
today.
More information about the Bogofilter
mailing list