add broken input redirection
merge bad redirection with eof fix