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