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