Hi Mordecha, On Wed, Jun 01, 2011 at 10:24:22AM +0300, Mordecha Behar wrote: > '\n' isn't a newline everywhere? > Or even '\r'?
No. See http://en.wikipedia.org/wiki/Newline. baruch > On Wed, Jun 1, 2011 at 10:22 AM, shimi <[email protected]> wrote: > > 2011/6/1 Mordecha Behar <[email protected]> > > > >> I've encountered the opposite problem. > >> Files I create in a Linux text editor (Kwrite) don't open properly in > >> Windows Notepad. I get the entire file on one line. > >> Maybe there's something strange going on behind the scenes in KDE? > >> > >> > >> > > That's something else and relates to the way Unix and Windows define > > "newline". > > > > You could run your file through the unix2dos utility prior to moving it to > > Windows, and it will most probably solve your issue. > > > > Alternatively, if you'll be using Kate (which I think is better than > > KWrite), you have Tools -> End of Line -> UNIX (and you can change there to > > Windows/DOS) -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il - _______________________________________________ Linux-il mailing list [email protected] http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
