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