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