Update docs.
Read from stdin.

Update README, too.
Add a more real-world example.