Note the code is not polished or packaged. The shell scripty
bits are particularly prone to hacking and breakage. I am publishing
it simply for the fun of a quick hack that would have required a
supercomputer twenty years ago.