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