irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is the new irony is

Uploading bash output within IRSSI

I’m hardly an IRSSI power-user, but I occasionally make use of its more advanced features. While IRSSI already allows shell execution, it’s handy to have an alias that prints both the command and results to the channel (particularly when you’re running IRSSI on a server). I had previously picked up such an alias from Whales in #rgrd:

/alias do say `$*`; exec -o - $*

(Make sure to save it!)

However, this approach has drawbacks: I convinced Whales to run yes WEED (try it yourself if you don’t know what this does), which got him disconnected for flooding. Since I occasionally do want to run commands that produce a lot of output, I wrote a bash script intended to be executed from IRSSI. Here’s what it does:

Donations

Like my projects? I work on them in my spare time, and when I'm worrying about income, I have a lot less of that. Even a small donation means I have that much more time to make cool things for you to enjoy.