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