On Saturday, 1 February 2014 at 22:59:12 UTC, bearophile wrote: > deed: > >> auto lines = File(filename).byLine.array; >> writeln(lines); // Crap >> --- > > Beside the answers that others have already given you, another > way to do that is to read the whole file (with read or > readText) and then use splitlines on the string. > > Bye, > bearophile Thanks