命令行输出到剪贴板

OSX:

echo 'Hello World!' | pbcopy