Hi,
I'm farely new to Unix and was wondering if you could tell me how to check that a variable $TEST has a value assigned to it?
Do I do something like:
if [ $TEST = "" ] then
$EXITVAL=100
exit $EXITVAL
or is there a better way? Your help will be very much appreciated!
S
I'm farely new to Unix and was wondering if you could tell me how to check that a variable $TEST has a value assigned to it?
Do I do something like:
if [ $TEST = "" ] then
$EXITVAL=100
exit $EXITVAL
or is there a better way? Your help will be very much appreciated!
S