use feof for file eos and init file before environment to parse cmdline on posix