awk 'BEGIN {FS=";"} {if(NR>2) t[$1]+=$3} END {for(x in t) print x "=" t[x]}' < podaci
Ova poruka je od: http://www.linux.hr/newbb/viewtopic.php?forum=8&topic_id=2355&post_id=14706