Am using Ksh and have the string in a variable. The string contains ' and would like to append / before same. So ' should be replaced as /'. Please advise.
Double, because between double quotes you need to quote the special char '\' ...
Double again, because sed needs you to quote the special char '\' in order to get a '\' without special meaning ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.