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