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