xref: /freebsd/contrib/one-true-awk/testdir/p.48 (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1BEGIN	{ FS = "\t" }
2	{ pop[$4] += $3 }
3END	{ for (c in pop)
4		print c ":" pop[c] | "sort" }
5