Colour me impressed. I thought you needed fancy (relatively) modern stuff like Ruby for decent in-language DSLs, but clearly Bash can do the trick, too.
I wonder how decent a programming language you could turn bash into using tricks like these.
I wonder how decent a programming language you could turn bash into using tricks like these.