Jeff Leeman wrote:
> Which OS are you using?

Linux though that should really not make any difference. The ruby code I 
posted will work on any platform (though you'd be using something other than 
cat to write the code into the file on systems without cat - but then you'd 
be doing that anyway, I only used cat so I could copy'n'paste the whole thing 
from my bash prompt).

> Also, are you running this from an IRC prompt 
> or a standard bash shell?

bash. "~>" is my bash prompt.