Adding a column of floats
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
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.