how to represent multiple conditions in shell script? - Stack Overflow

how to represent multiple conditions in shell script? - Stack Overflow

瀏覽:710
日期:2024-08-01
I want to represent multiple condition like this: if [ ( $g -eq 1 -a "$c" = "123" ) -o ( $ g -eq 2 -a "$c" = "456" ) ] then echo abc; else echo efg; fi....看更多