Issue
Hopefully fairly straightforward, to explain the use case when I run the following command (OS X 10.6):
$ pwd | pbcopy
the pasteboard contains a newline character at the end. I'd like to get rid of it.
Solution
pwd | tr -d '\n' | pbcopy
Answered By - grep Answer Checked By - Katrina (WPSolving Volunteer)