In Solaris 10 OS, tcsh has been upgraded to version 6.12. This version no longer accepts environment variables whose names use a dash or an equals sign. Scripts that contain setenv lines and that work in earlier Solaris versions might generate errors in the current Solaris 10 release. The following error message is displayed:
setenv: Syntax error
For more information, refer to the tcsh man page for the Solaris 10 OS.
Workaround: Do not use the dash or equals sign in names for environment variables.