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