In a csh script, what is the correct way to determine if an environment variable is set? The following code snippet works, but complains if the DISPLAY variable isn't set:
if ($DISPLAY != "") then
#Set some display stuff
endif
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy