fork download
  1. while (s=gets.chomp()) != "42" do puts s end
Success #stdin #stdout 0.01s 8036KB
stdin
1
2
10
42
11
stdout
1
2
10