Path to the file. ~ is expanded.
Called once per line. Return false to stop.
true if iteration completed or was stopped by the callback returning false; false if the file could not be opened or read (see hs.fs.lastError), or if the callback threw.
Call a function for each line of a file. This behaves exactly like opening the file and calling
HSFile.eachLine(): line endings (\nor\r\n) are stripped; the callback may returnfalse(and onlyfalse) to stop early; if the callback throws, iteration stops and the exception propagates to you; and invalid UTF-8 stops iteration withhs.fs.lastError.code === "EILSEQ".