Based on The One True Awk from http://www.cs.princeton.edu/~bwk/btl.mirror/