aboutsummaryrefslogblamecommitdiff
path: root/bin/tot.awk
blob: add5f00e789291ab7288b930dbd34ad3c2cf884f (plain) (tree)
1
2
3
4
                         
                 
             
                 
# Total a list of numbers
BEGIN { tot = 0 }
{ tot += $1 }
END { print tot }