lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, 30 Jan 2009 10:40:50 +0000
Peter Cawley <lua@corsix.org> wrote:

> > P.S. If a text file is "incorrectly formatted", you should get a
> > proper text editor.
> 
> IIRC, the default windows notepad.exe (which is the 'best'/only plain
> text editor in the base windows install) only understands "\r\n"
> linebreaks, while the Lua copyright/history/install/readme files use
> standard *nix "\n" linebreaks. Hence viewing them will crush
> everything onto a single line.

In this case, you open the file up in WordPad, which accepts UNIX line
endings correctly.

Perhaps an HTML version for such editor-deprived Windows users would be
a good idea, though.

B.