Sed works standalone but not in command substitution
178
Why does my shell script choke on whitespace or other special characters?
157834
How to replace quotation marks in a file with sed?
140924
Unix command sed replace in a variable
18339
sed on OSX insert at a certain line
72089
How to use variable in sed command
97474
How to have the sed output side by side?
94529
Using 'sed' to find and replace
132912
Use sed on a string variable rather than a file
55579
sed command to replace a string from one file with entire contents of another file
28599
Replace string with contents of a file using sed
54837
How do I use variables in a sed command?
143143
sed fails to remove newline character
11847
sed unknown option to `s' in bash script
11072
Can sed replace new line characters?
43693
Using sed to search and replace an ip address in a file
132549
Passing regular files only to `sed -i`
77179
Replace comma with newline in sed on MacOS?