csum (145B) [raw]
1 #!/bin/sh 2 # csum -- sum a column 3 if [ -z "$1" ]; then 4 echo "usage: csum N [files]" >&2 5 exit 1 6 fi 7 8 awk ' 9 { s += $'$1' } 10 END { print s } 11 '
dotfiles$HOME is where the <3 is | |
git clone git://git.alexkarle.com/dotfiles.git | |
Log | Files | Refs | Submodules | README |