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