How do you test a variable size to know if it is empty or not?
Thanks
Ummm... do you think that the technique is the same for all languages?
my mistake. It is in korn shell
Thanks
There are many ways. One is:
if [[ -z $var ]] ; then
echo var is empty
fi
Thanks!