chiark / gitweb /
Get version number from changelog if it isn't explicitly specified.
[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"