Thijs Schreijer

Results 444 comments of Thijs Schreijer

on Windows I get; ``` Lua 5.3 Testing mode: *l 10 1234567890 10 1234567890 0 10 1234567890 10 1234567890 0 10 1234567890 Testing mode: *L 11 1234567890+LF 11 1234567890+LF 1...

Updated the test code and test results above, after a bug in the test code.

The culprit seems to be the difference between "text" and "binary" mode on Windows systems, because if the file is opened for reading "binary" mode, then the Windows output is...

never tried, but I think Penlight does use it. Maybe you can find some inspiration in that library? https://github.com/lunarmodules/Penlight

also something still missing I discussed a long time ago with @stevedonovan is a missing 'filecopy' function. The issue being that this cannot be done in pure Lua on Windows...

I think @stevedonovan meant that Windows isn't posix.

> filecopy as in copy file A to file B? can't it be done in pure Lua opening file A for reading and file B for writing and performing reads...

what does the module do? does it conform to some protocol?

(asking since it is not documented)