#!/bin/sh
#
# Copyright Robin * Slomkowski
# Tue Feb 10 12:03:01 CET 2004
#
# avaiable under the GPL
# http://www.gnu.org/copyleft/gpl.html
#

BOGODIR=$HOME/.bogofilter
BOGOSTATS=$HOME/public_html/bogostats.txt

nice -19 bogoutil -d $BOGODIR/wordlist.db \
	| cut -d" " -f1 \
	| nice -19 bogoutil -p $BOGODIR/ \
	| awk '{print $4, $2, $3, $1}' \
	| nice -19 sort -rn \
	> $BOGOSTATS

exit 0
