I'm so confused with GNU
sed, and BSD
sed's myriad of options. How do I replace literal
\n with the newline character using these three
Notice the backslash just before hitting return in the replacement string.
Since you already have your portable
Another very portable choice is
or (since the above uses gsub which is a GNU extension)