Bug: Newlines become Carriage Returns on Mac
On Mac this outputs a file with "test1^Mtest2^M"
f = new File([path]);
f.open("a");
f.writeln("test1");
f.writeln("test2");
f.close();
it uses carriage returns which means things like tail -f [path] won't work. Workaround is to use the "BINARY" file encoding
1
vote
Manny Morales
shared this idea