Should I script in csh or tsch?
From Mac OS X Server FAQ
The csh based shells are considered good for interactive use, but not advised for scripting for numerous reasons.
Read "Csh Programming Considered Harmful".
Instead, write your scripts in an sh-like shell such as bash, or a more featureful language such as perl.
