-- Note what happens when you try to use this on the file "zero". for line in io.lines(arg[1]) do print(tostring(string.len(line))) end