chiark / gitweb /
support .nomail/--force; don't run fetchmail on hours 3-7
[bin.git] / total
1 #! /bin/sh -e
2
3 total=0
4 for num in $(cat); do
5         total="$(($total + $num))"
6 done
7 echo "$total"