Make gen.ksh more readable.