Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

awk sum column

awk -F',' '{sum+=$57;} END{print sum;}' file.txt
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #awk #sum #column
ADD COMMENT
Topic
Name
1+9 =