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