I have the following file.
KEY1 +200.00 KEY2
KEY1 -500.00 KEY2
KEYA +100.00 KEYB
I need to summup the amount fields if all the other fields are same.
the output file shouldbe
KEY1 -300.00 KEY2
KEYA +100.00 KEYB
Please let me know weather it is possible or not in syncsort.
Thanks,
Mehar