The three rules of Ruby Quiz:

1.  Please do not post any solutions or spoiler discussion for this quiz until
48 hours have passed from the time on this message.

2.  Support Ruby Quiz by submitting ideas as often as you can:

http://www.rubyquiz.com/

3.  Enjoy!

Suggestion:  A [QUIZ] in the subject of emails about the problem helps everyone
on Ruby Talk follow the discussion.  Please reply to the original quiz message,
if you can.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

by Sean Carley

The goal of cat2rafb is to implement a command line utility that will allow you
to submit arbitrary text to http://rafb.net/paste/ and get the URL for the text
back.  Bonus points for pushing the URL through http://rubyurl.com/ to make it
more manageable.

cat2rafb could work like cat, taking files as input or text until ^D after
entering the command.