gno/usr.bin/awk/tests/ch2p48.awk

6 lines
112 B
Awk
Raw Normal View History

BEGIN { FS = "\t" }
{ pop[$4] += $3 }
END { for (name in pop)
print name, pop[name]
}