Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed excape all quates

The s/// command in sed allows you to use other characters instead of / as the delimiter, as in

sed 's#"http://www.fubar.com"#URL_FUBAR#g'
or

sed 's,"http://www.fubar.com",URL_FUBAR,g'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sed #excape #quates
ADD COMMENT
Topic
Name
4+2 =