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