Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
sed with variables in shell script
StoneyB
Programming language:
Shell/Bash
2021-06-29 09:33:00
0
Q:
sed with variables in shell script
Timo
Code:
Shell/Bash
2021-03-07 07:33:49
Use double quotes for the sed expression. sed "s/$replace_string/$replace_with/"`
0
Tags
shell
variable
script
var
Related
sed replace with variable
bash eval variable
shell commands windows
bash function
sed output of command
replace using sed
shell commands
sed replace in file
function in bash
node execute shell commands
special bash variables
shell set environment variable
comment in shell script
shell script variable
definition varibale in bash
bash params
bash sed output
how to perform mathematical operations in shell script
shell bash kommentti
New to Communities?
Join the community