Bash 4 Craziness (And Gist Hack Test)
With any luck at all, this will show up as a proper embedded gist:
So … what’s that? Basically, Bash 4 added support for a Rubyism that a lot of us abuse to no end. Effectively, command_not_found_handle is Ruby’s method_missing, but for Bash. The above implements FizzBuzz using this mechanism. It’s awesome. It’s overkill. It’s awesome overkill.