Woops. I have a mistake in the code. Should be:
import std.stdio : writeln;
import std.stream;
void main() {
auto fin = new File("temp.csv");
char[] line;
int count;
while(!fin.eof()) {
line = fin.readLine();
writeln(line);
}
}
Thanks!
TJB