Hi,
I am doing a lot of find / -name "*" -type f -exec sed -i 's/STRING1/STRING2/' {} \;
But I am going crazy because everytime I need to manually escape chars like / and & in STRING1 and STRING2. Is there a way to write it or perhaps to use a extra function, so I dont have to escape strings like this - > Hosted for free by <a href="
http:\/\/www.fleeforum.com" target="_blank">fleeforum.
com<\/a> \©
Thank you.
Start Free Trial