What is wrong with this code?
if (( `date +%U` % 2 -eq 0 ))
then
VOLUME= "A"
else
VOLUME="B"
fi
I´m getting "syntax error in expression (error token is "0 ")" eror.
What is wrong with this code?
if (( `date +%U` % 2 -eq 0 ))
then
VOLUME= "A"
else
VOLUME="B"
fi
I´m getting "syntax error in expression (error token is "0 ")" eror.