IF I have to check that if a variable is empty or not for that in bash shell i can check with the following script:
if [ -z \"$1\" ] then echo \"variabl
EDIT: see comment below.
if ( $?1 ) then echo "variable is empty" else echo "variable contains $1" endif