|
Column sum group by uniq records
Hi Jadu,
I am new to unix and i have a similar requirement given below:
Input file:
Test.txt
PORT; ID; TOTAL
port1;p1;100000
port2;p2;5000
port1;p1;500
Output file:
PORT; ID; TOTAL
port1;p1; 100500
port2;p2; 5000
How can achive this? Any help on this regard is higly appreciated.
Thanks.
Regards,
Sandeep
|