[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: nul codes in lines
- From: Gavin Wraith <gavin@...>
- Date: Tue, 10 Jul 2007 14:20:29 +0100
To my slight surprise I find that the script
============
#! lua
n = 1
for line in io.lines(arg[1]) do
print(n,line)
n = n + 1
end -- for
============
does not print any part of
a line beginning with an ASCII nul.
Is it supposed to?
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/