1*23f24377SWarner Losh { if (amount[$2] == "") 2*23f24377SWarner Losh name[++n] = $2 3*23f24377SWarner Losh amount[$2] += $1 4*23f24377SWarner Losh } 5*23f24377SWarner LoshEND { for (i = 1; i <= n; i++) 6*23f24377SWarner Losh print name[i], amount[name[i]] 7*23f24377SWarner Losh } 8