Command line tool to trim whitespace from plain text