awk/testdir/p.43

5 lines
95 B
Plaintext

BEGIN { FS = "\t" }
{ area[$4] += $2 }
END { for (name in area)
print name ":" area[name] }