Read a file one line at a time,
as opposed to reading the entire file at once.



Related tasks

 Read a file character by character
 Input loop.


/* Read by line, in Jsish */
var f = new Channel('read-by-line.jsi');
var line;
 
while (line = f.gets()) puts(line);
f.close();