I have a comma delimited file that looks like the following:
123,456,"ABC,DEF" I would like to change the file to a semi-colon delimited file:
123;456;"ABC,DEF" I have the following that I run but unfortunately the , in the quotes is also changed to ;. How can I stop this from happening?
sed 's/,/;/g; s/\"//g; s/$/;^/' input.csv > output.csv