I need to sum the integer values contained in column n. 1 of file VALUES.cvs and print the result into file RESULT.csv but in column n. 3.
How can I achieve that?
My knowledge of the awk command just ends here:
Code: Select all
awk '{sum += $1} END {print sum}' VALUES.csv > RESULT.csv
Any ideas?
Thank you.