gno/usr.bin/awk/tests/ch2p32.awk
tribby ddb82cb2e0 Remaining files for awk 2.0 that were left out of the previous checkin.
Maybe someday I'll become adept at using cvs...
1998-04-07 17:06:53 +00:00

5 lines
166 B
Awk

$4 == "Asia" { pop = pop + $3; n = n + 1 }
END { print "Total population of the", n,
"Asian countries is", pop, "million."
}