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