I didn't find any examples in the docs for processing STDIN for more than 
one read. I'm happy to contribute an example, but I wanted to make sure I 
knew the best way.

Reading lines from STDIN:

for line = eachline(STDIN)
    print("Found: $line")
end

Reading Chars:

while !eof(STDIN)
    x = read(STDIN, Char)
    println("Found: $x")
end

Does that look pretty reasonable?

Thanks.
Matt Wood

Reply via email to