On Thursday, 21 March 2013 at 05:01:06 UTC, Kagamin wrote:
On Wednesday, 20 March 2013 at 14:34:21 UTC, Nick Sabalausky
wrote:
Since *at least* as far back as XP, Windows has handled "\n"
newlines
perfectly fine. The command line displays them properly, .BAT
scripts
handle them properly, every code editor in existence handles
them
properly. The *only* thing I've found that doesn't is Windows
Notepad,
but really, whoTF uses that anyway?
Notepad is used as a log viewer. When you're presented a
machine you don't run, you usually don't have time to setup
your preferred work environment, notepad comes in handy to just
view the log and diagnose an error.
My workaround in such cases is to use Write, which is also
installed by default and handles the files correctly.
I think Notepad still uses the same code from Windows 3.x days! :)
--
Paulo