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.


void main() {
    import std.stdio;
 
    foreach (line; "read_a_file_line_by_line.d".File.byLine)
        line.writeln;
}