Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

sed with variables in shell script

Use double quotes for the sed expression.

sed "s/$replace_string/$replace_with/"`
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #sed #variables #shell #script
ADD COMMENT
Topic
Name
9+4 =