awk/testdir/p.50
Arnold D. Robbins d6c466c367 Extract testdir.
2019-06-23 03:13:57 -06:00

5 lines
120 B
Plaintext

BEGIN { FS = "\t" }
{ pop[$4 ":" $1] += $3 }
END { for (cc in pop)
print cc ":" pop[cc] | "sort -t: -k 1,1 -k 3nr" }