Lets say i have a text:
\"this\\n is >\\n<\"
and i want to replace the newline with none which will result in:
\"this\\n
Escape \ with \:
\
echo "this\n is >\n<" | sed -e 's/>\\n</></g'
Output:
this\n is ><