#!/bin/sh

FILE="score.all.$1.out"

if [ "$1" = "h" ] ; then
OPTS=" -n -r +6 "
else
OPTS=" -n +6 "
fi

bogofilter -v -M -B ~/Archive/2004/200?.??.$1 | egrep -v [01].000000 | tr  "=" " " | sort $OPTS > $FILE
wc -l $FILE
