I want to remove all double quotes from my csv but not the fourth field (because the four fields represent PATH of file)
Please advice how to implement this by sed or awk or perl one liner , etc
What I know for now is to use simple sed command as:
sed s"/\"//g" file.csv | sed 's/ //g'
but this command no so elegant and also work on the fourth field ( fourth field should not be edit )
Remark - need also to delete empty spaces between quotes to near character
Example ( file csv before )
"24 ","COsc ","LINUX","/VP/Ame/AR/Celts/COf"," fbsutamante ",fbu2012,"kkk","&^#$@J ",,,,,
25,COsc,LINUX,"/VP/Ame/AR/Celts/COf","fbsutamante ",fbu2012,"iiii "," *****",,,,,
Example ( file csv after after )
24,COsc,LINUX,"/VP/Ame/AR HR/Ce lts/COf",fbsutamante,fbu2012,kkk,&^#$@J,,,,,
25,COsc,LINUX,"/VP/Ame/AR HR/Ce lts/COf",fbsutamante,fbu2012,iiii,*****,,,,,
sed
:sed 's/\s*"\s*//3g'
3g
match like this?