shell--双方括号
if [[ $n1 -gt $n2 && $n2 -lt $n3 ]]
then
commands
fi
if [[ $n1 > $n2 && $n2 < $n3 ]]
then
commands
fi
双[[ ]] 中变量名必须加$
括号旁边必须有空格
if [[ $n1 -gt $n2 && $n2 -lt $n3 ]]
then
commands
fi
if [[ $n1 > $n2 && $n2 < $n3 ]]
then
commands
fi
双[[ ]] 中变量名必须加$
括号旁边必须有空格