chiark / gitweb /
bugzilla-show: use HTTPS; drop warthogs and ubuntu
[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"