摘要:
1 #!/bin/bash 2 a=4 3 b=5 4 5 echo 6 if [ "$a" -ne "$b" ] 7 then 8 echo "$a is not equal to $b" 9 echo "(arithmetic comparison)"10 fi11 12 echo13 14 if [ "$a" != "$b" ]15 then16 echo "$a is not equal to $b"17 echo "(string co 阅读全文
摘要:
1 #!/bin/bash 2 a=4 3 b=5 4 5 echo 6 if [ "$a" -ne "$b" ] 7 then 8 echo "$a is not equal to $b" 9 echo "(arithmetic comparison)"10 fi11 12 echo13 14 if [ "$a" != "$b" ]15 then16 echo "$a is not equal to $b"17 echo "(string co 阅读全文
|