I am trying to summarize column 1 (amount of money spent) by the unique places in column 2. I have been using the code:
awk \'{a[$2]+=$1} END {for (i in a) pr