--- import std.stdio; import std.array; auto lines = File(filename).byLine.array; writeln(lines); // Crap --- dmd 2.064(.2 I think) Docs say: - std.stdio.byLine returns an input range - std.array.array takes an input range