shell报错:-bash: [: ==: 期待一元表达式 解决方法
问题背景: if [ "$frut" == '2' ]; then mode='--run' else mode='' fi 如上代码, 执行shell报错:-b ...
问题背景: if [ "$frut" == '2' ]; then mode='--run' else mode='' fi 如上代码, 执行shell报错:-b ...