xref: /freebsd/contrib/one-true-awk/testdir/t.in2 (revision 4d846d26)
1	{ x[substr($2, 1, 1)] += $1 }
2END	{ for (i in x)
3		print i, x[i]
4}
5