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