xref: /freebsd/contrib/one-true-awk/testdir/t.a (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1	{if (amount[$2] "" == "") item[++num] = $2;
2	 amount[$2] += $1
3	}
4END	{for (i=1; i<=num; i++)
5		print item[i], amount[item[i]]
6	}
7