#!/bin/sh -x

BOGODIR="test-0.92.99.d"
WORDLIST="$BOGODIR/wordlist.db"
[ -d $BOGODIR ] && rm -rf $BOGODIR

bogofilter-0.92.8 -V -C
echo

mkdir $BOGODIR
bogoutil-0.92.8 -l $WORDLIST < wordlist.txt
ls -l $BOGODIR
echo

bogofilter-0.92.99 -V -C
echo

echo abc | bogofilter-0.92.99 -C -d $BOGODIR -v

rm -rf $BOGODIR
mkdir $BOGODIR
bogoutil-0.92.99 -l $WORDLIST < wordlist.txt
ls -l $BOGODIR
echo

echo abc | bogofilter-0.92.99 -C -d $BOGODIR -v
