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