in reply to shell scripts + user response

I've never heard of a shell that doesn't like that, nor of a shell that has "error unrecognised command" as an error message. And it isn't a Perl error either.

Are you sure the problem is with the shell? In that case, you should probably go to a newsgroup discussing the shell you are using. Or could it be that it's actually the program that is generating is error message?

Abigail