I have a input file delimited with commas (,). There are some fields enclosed in double quotes that are having a comma in them. Here is the sample row
123,"ABC, DEV 23",345,534.202,NAME I need to remove all the comma's occuring within inside the double quotes and the double quotes as well. So the above line should get parsed into as shown below
123,ABC DEV 23,345,534.202,NAME I tried the following using sed but not giving expected results.
sed -e 's/\(".*\),\(".*\)/\1 \2/g' Any quick tricks with sed, awksed, awk or any other unix utility please?