A great script for pasting to rafb.net.
To install you must:
$ cpan install Getopt::Attribute $ cpan install HTTP::Request
Then put it anywhere in you path. When you run the script it will print the resulting url to the console as well as copy it to your clipboard. So you don't need to highlight and copy it, just go straight to IRC or wherever and paste it in.
To paste from standard in:
grep "this" thatfile.txt | rafbpaste
To paste from a file:
rafbpaste -file thatfile.txt
To paste the current contents of your Mac OS X clipboard, just:
rafbpaste -c
Labels:
