xref: /illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/p.42 (revision 5328fc53d11d7151861fa272e4fb0248b8f0e145)
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