Remove dead code, re-write gen.ksh in nawk.