Standard input stream.
Counting the number of lines from standard input.
import io; size_t lines = 0; foreach (line; stdin.byLine) ++lines;
See Implementation
Standard input stream.