shell script sed command with variable code example
Example: sed with variables in shell script
Use double quotes for the sed expression.
sed "s/$replace_string/$replace_with/"`
Use double quotes for the sed expression.
sed "s/$replace_string/$replace_with/"`