How can I find the summation for a certain field that is related to another field by
awk, consider below sample:
boo,foo,VO,1000 boo,foo,VO,1000 bar,var,DT,1000 var,bar,VO,2000
in this sample, I need to collect the number of
$4, so the result would be:
VO,1000 2 DT,1000 1 VO,2000 1
were 1st and 2nd fields ignored.