I am trying to remove single quotes and double quotes from a file. Can I do it in a single sed command?
I am trying :
sed \'s/\\\"//g;s/\\\'//g\' tx
You cannot escape a single quote inside a pair of singe quotes in shell. Escaping double quotes is allowed though. Following sed command should work:
sed "s/['\"]//g" file