I have a data as follows : foo bar 12,300.50
foo bar 2,300.50
abc xyz 1,22,300.50 How do I replace all , from 3rd field using awk and pass output to bc -l in the following format to get sum of all numbers: 12300.50+2300.50+1,22,300.50
Read answer to: "Awk Find And Replace Fields Values"