xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/p.42 (revision 6a817834d81cc75ce12d0d393320837b1fec1e85)
1/Asia/		{ pop["Asia"] += $3 }
2/Africa/	{ pop["Africa"] += $3 }
3END		{ print "Asian population in millions is", pop["Asia"]
4		  print "African population in millions is", pop["Africa"] }
5