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