Wednesday, May 21, 2008

[Mac] pbcopy == Brilliant

For Mac users only (as far as I know):
cat filename | pbcopy
This bit of magic, as I just discovered, will copy the contents of the cat-ed file to the clipboard, for easy pasting wherever you need to paste it.

Macs. Rule.

2 comments:

AlBlue said...

Indeed. And of course, pbpaste.

David Rupp said...

Stands to reason. :-)