mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-10-30 03:27:04 +00:00
ddb82cb2e0
Maybe someday I'll become adept at using cvs...
8 lines
238 B
Awk
8 lines
238 B
Awk
/Asia/ { pop["Asia"] += $3 }
|
|
/Europe/ { pop["Europe"] += $3 }
|
|
END { print "Asian population is",
|
|
pop["Asia"], "million."
|
|
print "European population is",
|
|
pop["Europe"], "million."
|
|
}
|