Adding a column of floats
Published: Wednesday, Dec 26, 2007 Last modified: Sunday, Mar 2, 2025
awk '{ i+=$1 } END { print i }'
$1 could be a different column. This is a nice way of totalling CSVs.
awk '{ i+=$1 } END { print i }'
$1 could be a different column. This is a nice way of totalling CSVs.