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