awk/testdir/p.26a

4 lines
101 B
Plaintext

/Asia/ { pop += $3; ++n }
END { print "population of", n,\
"Asian countries in millions is", pop }