Csh /Tcsh Issue

100ji itz100ji-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Tue Dec 30 22:56:11 EST 2008


Hi all,

I have an issue with csh and environment variables. In csh/tcsh I can only
use environment variables when I quote them. For example see the example
below:

providence% setenv CLASSPATH
"/u/suman/installs/aspectj1.6/lib/:/u/suman/installs/lib/java/*.jar:."
providence% echo $CLASSPATH
echo: No match.
providence% echo "$CLASSPATH"
/u/suman/installs/aspectj1.6/lib/:/u/suman/installs/lib/java/*.jar:.

While this is not much of an issue for me, it causes issues when I run other
people's scripts. I have tried using other people's .cshrc where the above
commands work as expected, but it doesn't seem to work on my machine. I am
not sure where the problem is. Any ideas on why this is happening?

TIA,
-S-





More information about the Discuss mailing list