[Cialug] Windows End-Of-Line?

Barry Von Ahsen barry at vonahsen.com
Wed May 5 08:28:30 CDT 2010


Todd Walton wrote:
> When I write a bunch of text to a file and then open that file with
> Windows's Notepad program, it runs it all together in one line with
> boxes where the end-of-lines should be.  Is there a sed line I could
> run the text through to make it Windows-friendly?
> 

IIRC, notepad requires \r\n, but wordpad is fine with just \n

or, obligatory $GetARealTextEditor :) (gvim, notepad++, etc)

-barry



More information about the Cialug mailing list