我跑的时候
if [[ 10 < 2 ]]; then echo "yes"; else echo "no"; fi
在shell中,它返回yes.为什么?应该是no吗?而当我跑
yes
no
if [[ 20 < 2 ]]; then echo "yes"; else echo "no"; fi
它返回no.
bash shell
bash ×1
shell ×1