Can I use a Bash variable in a sed command?
54837
How do I use variables in a sed command?
77828
Can sed save its output to a file?
62241
How do I set a variable to the output of a command in Bash?
122518
How to change a file in-place using awk? (as with "sed -i")
130552
What is the purpose of -e in sed command?
72089
How to use variable in sed command
116118
Using different delimiters in sed commands and range addresses
102365
Using the result of a command as an argument in bash?
14288
Replace a word with multiple lines using sed?
117909
Why doesn't bash expand this variable when I prefix a command with a "one time variable assignment"
152832
Variable substitution into a sed script
96083
Bash command as variable
158532
replace a string with sed from specific lines
14058
Environment variable substitution in sed
29486
How to use variables in a command in sed?
11847
sed unknown option to `s' in bash script
110498
How can I replace a newline (\n) using sed?