Can read from stdin.
Strip trailing whitespace from output