Made gen_docs input a little more unix-y