print ("Second Method")
It was simplified as print ("Second Method") -- io.input("test.txt") for line in io.lines("test.txt") do print (line) end The compatible mode is print ("Second Method") io.input("test.txt") for line in io.saved_lines("test.txt") do print (line) end However, this does not work, unfortunately, because of a typo in luatex-core.lua, which is easy to fix, but maybe too late for TL 17. Thanks, Akira