Skip to content
Philipp Janda edited this page Mar 16, 2015 · 1 revision

file:lines

The compatibility implementation of file:lines accepts format specifiers like io.read, but on Lua 5.1 it lacks the "*L" specifier that Lua 5.2 and Lua 5.3 have. Lua 5.3 also makes the leading asterisk (*) optional. This is not supported by the compatibility implementation.

See also io.lines.

Clone this wiki locally