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