SED: How can I replace a newline (\n)?

Posted by Masi on Stack Overflow See other posts from Stack Overflow or by Masi
Published on 2009-08-09T19:10:10Z Indexed on 2010/03/24 2:03 UTC
Read the original article Hit count: 236

Filed under:
|
|

I unsuccesfully tried:

sed 's#/\n# #g' file
sed 's#^$# #g' file

How to fix it?

© Stack Overflow or respective owner

Related posts about sed

Related posts about newline