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