Andrei Alexandrescu: >> "byDupLines" > > It introduces the notion of "dup" to newbies. I'd rather go > with a natural name. In Python you write: for line in file("text.txt"): ... So can't you make File iterable? foreach (line; "text.txt".File) {} Bye, bearophile