I need to replace char "\" and it is not working. my script as follow. I'm using same script for many other replacements and somehow this is not working.
export VCA='http:\\/\\/localhost\\/dev1'
export VCB='https:\\/\\/www.mydomain.com'
sed "s~${VCA}~${VCB}~g" tmp2.sql > tmp3.sql
I don't see error anymore but it does not replace the string.