#
# Get the total donations from the fund for a given week
#

if [ "$#" -ne 1 ]
then
     echo "Usage: gettotal WeekNumber"
     exit 1
fi ;

stat DAMT in fund where Wk eq $1\
| tail -1  | awk -f cash.awk
