Adding a column of floats

Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024

http://pastebin.ca/419397

awk '{ i+=$1 } END { print i }'

$1 could be a different column. This is a nice way of totalling CSVs.