Sh ist null, wenn
VARIABLE="this variable is not null"
if [[ -z $VARIABLE ]]
then
echo "is null"
else
echo "is not null"
fi
Wrong Willet
VARIABLE="this variable is not null"
if [[ -z $VARIABLE ]]
then
echo "is null"
else
echo "is not null"
fi