lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

To my slight surprise I find that the script
#! lua
n = 1
for line in io.lines(arg[1]) do
    n = n + 1
end -- for
does not print any part of
a line beginning with an ASCII nul.
Is it supposed to?

Gavin Wraith (
Home page: