shell ||

true && echo “a” || echo “b”

  

result :a
false && echo “a” || echo “b”

  

result :  b
posted @ 2021-01-06 13:08  碧水东流至此回  阅读(53)  评论(0编辑  收藏  举报