¿¹Á¦:
BEGIN { OFS = ":"; ORS = "\n\n" }
{ print $1, $2 }
¿¹Á¦:
$3 > 100 { print $1, $3 > "bigpop" }
$3 <= 100 { print $1, $3 > "smallpop" }
¿¹Á¦:
BEGIN { FS = "\t" }
{pop[$4] += $3}
END { for (c in pop)
printf("%15s\t%6d\n", c, pop[c]) | "sort"
}
¿¹Á¦:
close("sort ")