for M in inputs/good.mbx inputs/spam.mbx ; do 
    N="`basename $M`"
    echo $N
    ../bogolexer -p < $M > $N.new
    diff -s $N.new $N.osage
    echo
done
