sed bash script is unexpectedly replacing character with space instead of newline
178
Why does my shell script choke on whitespace or other special characters?
38117
How to replace spaces with newlines/enter in a text-file?
60726
SED: insert text after the last line?
136862
How to use a bash script variable with sed
94611
Replace a string including a slash "/" using sed command
136528
Echo newline in Bash prints literal \n
14058
Environment variable substitution in sed
26019
How to ensure that string interpolated into `sed` substitution escapes all metachars
82772
How do I delete files with spaces in them in bash script?
54837
How do I use variables in a sed command?
8651
Bash scripting unexpected operator
15638
Shell not handling escape character spaces
158532
replace a string with sed from specific lines
109073
Javascript replacing new line character
94529
Using 'sed' to find and replace
30421
Escape a string for a sed replace pattern
54640
How to insert strings containing slashes with sed?