ignore eof in shell