List all token
David Relson
relson at osagesoftware.com
Mon Feb 13 23:31:35 CET 2006
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