Test variable is MYSETUP.
This is how I am trying to check it.
if ( $?MYSETUP ) then
echo "IS SET"
echo "NOT SET"
If the variable is not set instead of returning "NOT SET" it returns "MYSETUP: Undefined variable.".
With the variable set it echos the value and returns "IS SET".
Looks like the shell is doing something with the conditional besides just testing for TRUE or FALSE.
This should be trivial but I can't get it to work.
tcsh version is 6.14.00 but I have no root privileges so that can not be changed.
I'm open to suggestions and thanks in advance.