echo 'Hello World!' | pbcopy
Pastes from your clipboard to stdout.
echo `pbpaste`
What can’t you do! Oh, you want examples? Well…
* You could grab the output of a grep/awk/sed to paste into IM/IRC.
* You could use a macro tool (like iKey, QS, et cetera) to create text modifying workflows that grab highlighted text, manipulate it, and replace it inline.
* You could pull changelogs from svn into the clipboard when tagging for release so you could email them to coworkers.
Hiç yorum yok:
Yorum Gönder