List all token
Milan Jovanovic
milanj at bk.ru
Tue Feb 14 01:03:47 CET 2006
-----Original Message-----
From: David Relson <relson at osagesoftware.com>
To: Milan Jovanovic <milanj at bk.ru>
Date: Mon, 13 Feb 2006 17:31:35 -0500
Subject: Re: List all token
>
> On Mon, 13 Feb 2006 15:25:50 +0300
> Milan Jovanovic wrote:
>
> > hmm yes, i can dump it with "bogoutil -d wordlist.db" but i need values like with "bogoutil -p" switch ... i cant find this in man pages.
>
> That can be done. "bogoutil -p ..." allows tokens to be provided on
> the command line _or_ via stdin. The following are equivalent:
>
> bogoutil -p wordlist.db Milan
> echo Milan | bogoutil -p wordlist.db
>
> To find a lot of results, for example for all tokens with 'Milan' in
> them, use the following:
>
> bogoutil -d wordlist.db | awk '{print $1}' | grep Milan | bogoutil -p wordlist.db
>
> HTH,
>
> David
>
More information about the Bogofilter
mailing list