in reply to Need help using Perl -e in C shell

The problem arises from the character "!", which is special for some shells, and seemingly for your C shell.

I really wonder why you aren't using a separate file or a here-document in your shell script (if C shell supports them). ... And why you're using C shell at all ...

Replies are listed 'Best First'.
Re^2: Need help using Perl -e in C shell
by agidden (Novice) on Apr 27, 2005 at 21:03 UTC
    Thank you for the answer. We tried to escape the exclamations, but perhaps we combined it with something else that caused a problem. We have a legacy-based process that we are trying to scab some newer features into. The product generates source code and we have to work with what is already being generated (CSH, and cannot add files). We blew a lot of time on this, and your help finding the simple problem has been priceless.