The pbcopy command copies whatever is sent to it on STDIN to the clipboard, ensuring that you won’t have any extraneous newlines or other problems.
pbcopy
via GitHub guide
Mooi. Dat weten we ook weeral. :)