[Issue 4555] Double newlines with std.file.readText
http://d.puremagic.com/issues/show_bug.cgi?id=4555 Nick Sabalausky changed: What|Removed |Added CC||cbkbbej...@mailinator.com --- Comment #1 from Nick Sabalausky 2013-03-21 08:03:08 PDT --- The 'write' function converts \n to \r\n on windows (And therefore also converts \r\n to \r\r\n). Is it possible this problem is *just* write and not readText at all? Try converting all of the 'write' into 'stdout.rawWrite'. Also, since windows command line displays *both* \n and \r\n as single newlines, your test should redirect the output to a file, and then examine the result in either a hex editor or a code editor that supports displaying line-ending characters (such as Programmer's Notepad 2). I suspect this issue may simply be the same as #9776: http://d.puremagic.com/issues/show_bug.cgi?id=9776 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4555] Double newlines with std.file.readText
http://d.puremagic.com/issues/show_bug.cgi?id=4555 --- Comment #2 from bearophile_h...@eml.cc 2013-03-23 18:32:06 PDT --- (In reply to comment #1) > Try converting all of the 'write' into 'stdout.rawWrite'. If I use stdout.rawWrite then the duplication of newlines (in the first program) doesn't happen. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4555] Double newlines with std.file.readText
https://issues.dlang.org/show_bug.cgi?id=4555 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --
[Issue 4555] Double newlines with std.file.readText
https://issues.dlang.org/show_bug.cgi?id=4555 Andrei Alexandrescu changed: What|Removed |Added Keywords||trivial --
[Issue 4555] Double newlines with std.file.readText
https://issues.dlang.org/show_bug.cgi?id=4555 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |WONTFIX --- Comment #3 from RazvanN --- This issue is the same as 9776. The decision for 9776 was to close it as WONTFIX. Applying the same procedure to this one. --
[Issue 4555] Double newlines with std.file.readText
https://issues.dlang.org/show_bug.cgi?id=4555 anonymous4 changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #4 from anonymous4 --- *** This issue has been marked as a duplicate of issue 9776 *** --
[Issue 4555] Double newlines with std.file.readText
https://issues.dlang.org/show_bug.cgi?id=4555 --- Comment #5 from RazvanN --- Since this one was reported originally, I think it would make more sense to mark 9776 as a duplicate of this one. Either way, the issues reference each other so I guess anything works. --