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