linux shell script if string compare的相關文章
linux shell script if string compare的相關商品

BASH - How do I compare two string variables in an if statement
瀏覽:1227
日期:2025-04-30
I'm trying to get an if statement to work in bash (using ubuntu): #! ... For string
comparison, use: if [ "$s1" == "$s2" ]. For the a contains b , use: ... $ if ......看更多