Synsort for subtotal

1 post / 0 new
Anonymous (not verified)
Synsort for subtotal

I am looking for a sort job that can do subtotal for me.

Sample input file

A 100
A 200
A 300
B 100
A 200
B 500

Sample output file

A 800
B 600
I think this can be achieved by using syncsort SUM function, can someone share me an example for doing the subtotal using syncsort.
Sponsored Listing

Click the +1 button  below to share it with your friends and colleagues


Share this if you liked it!