I have a string message which contains data in double quotes. I need to put
\ in front of every double quote how can u do it in shell ?
I used Perl and it works fine, but I'm looking for
cat sampleMetadata | perl -wpe 's/([\\"])/\\$1/g'