don't print output with extra newline
Merge pull request #574 from sgraham/no-extra-nl

don't print output with extra newline