我想知道两者之间是否有区别
if [ $x -eq $y -o $x -eq 1 ] if [ $x -eq $y ] || [ $x -eq 1 ]
两者似乎都有效。谢谢
command-line bash scripts
bash ×1
command-line ×1
scripts ×1