I'm curious as to why you need to write a tcsh script at all. Writing scripts in csh (or tcsh) is generally frowned upon; see Csh Programming Considered Harmful for the gory details. Good old /bin/sh is more portable and a generally sounder programming language.
If you possibly can get away with it, however, I strongly urge you to consider writing the whole thing in Perl.
In reply to Re: Command-line arguments to command-line Perl
by eyepopslikeamosquito
in thread Command-line arguments to command-line Perl
by RecursionBane
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |