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