Fix reading text from stdin
3 files changed