ref: c4f1e9166e14cd17667438f6af69460ad1d35ecf dir: /test/t.in2/
{ x[substr($2, 1, 1)] += $1 } END { for (i in x) print i, x[i] }