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