mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-11-18 19:09:31 +00:00
ddb82cb2e0
Maybe someday I'll become adept at using cvs...
11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
# form1 - format countries data by continent, pop. den.
|
|
|
|
BEGIN { FS = ":"
|
|
printf("%-15s %-10s %10s %7s %12s\n",
|
|
"CONTINENT", "COUNTRY", "POPULATION",
|
|
"AREA", "POP. DEN.")
|
|
}
|
|
{ printf("%-15s %-10s %7d %10d %10.1f\n",
|
|
$1, $2, $3, $4, $5)
|
|
}
|