rogerlipscombe, tfw you find a script that you wrote a few years ago, and you want to write it up as a blog post, and you can't figure out how you wrote it in the first place.
This post brought to you by the Erlang compiler's +to_pp option, which seems to be undocumented, and I don't remember where I found out about it.