在 shell 脚本中有几种可以判断字符串包含的关系。
利用 grep
| 1 | strA="long string" | 
利用运算符
| 1 | strA="helloworld" | 
利用通配符
| 1 | A="helloworld" | 
最近热读
            
            
            
            
            
            
            
            
            
            
            
      
                扫码关注公众号,或搜索公众号“温欣爸比”
                及时获取我的最新文章
                 
            
       
             
		 
                      