Category: Software

Yes, my thoughts are usually this mundane and obscure. I searched the web hoping for likeminded people who’d had a similar obscure, mundane thought and were motivated to do something about it.

Anyway, I’ve added teeshout to my bash config and we’ll see how often I use it in the coming weeks.

The STDOUT.sync=true at the beginning is important because Ruby (and it turns out other tools like grep, below) buffer output when it is not going straight to the terminal; run that command directly and it’s all chatty, but when piped to another command things get real quiet.

So tee will be command1 here, passing my target output to the terminal, and command2 will be my filtering and notification commands.

Related Articles