Linux shell中if判斷條件使用通配符或正則表達式或算術運算符

參考文章:https://blog.csdn.net/m0_37556444/article/details/82950021正則表達式 shell中if判斷條件使用通配符或者正則表達式,出現不生效狀況,參考上面文章。shell if條件中使用通配符.net #compare hello if [[ "$value" == "hello"* ]];then
相關文章
相關標籤/搜索