# Input loop

To read from the standard input, you can use _STDIN_ as your _fh_.

```ruby
var file = File(__FILE__)
file.open_r(\var fh, \var err) || die "#{file}: #{err}"

fh.each { |line|              # iterates the lines of the fh
    line.each_word { |word|   # iterates the words of the line
        say word
    }
}
```
