str

Results 2 issues of str

When using pbcopy on Mac, copied buffer contains a newline character at the end, which will be then pasted. Strip it so the copied test will be clean.