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