我想检查所有三个变量是否相同然后打印消息
if [ "$x1" == "$x2" == "$3" ]; then echo "all are same" fi
我收到此错误:
[: 争论太多
unix bash shell
bash ×1
shell ×1
unix ×1