Search notes:

awk example: field-separator ($F)

awk F, '{sum+=$2} END {print "Sum: " sum}' data
Github repository about-awk, path: /F_field-seperator/go.sh
one,1,foo
two,2,bar
three,3,baz
four,4,qux
Github repository about-awk, path: /F_field-seperator/data

See also

awk examples

Index