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