emb978@leah.Albany.Edu (Eric M. Boehm) (04/06/88)
Is there any way to test for an undefined variable? I have a variable defined in my .login. If I invoke another shell interactively, there is no problem. However, if I invoke a shell when I am not online (usually with "at") I run into problems. An alias in .cshrc refers to the variable from .login. I cannot find any reference to a command such as: if X is undefined then ... Right now I am preventing .cshrc from referencing this variable. I don't like setting it to a null value as that will cause problems when I invoke a subshell interactively. Please e-mail responses. Thanks in advance for any help. Eric M. Boehm EMB978@ALBNY1VX.BITNET EMB978@LEAH.ALBANY.EDU