[ “$str” =~ “IEEE80211” ] && echo “it contains IEEE80211”
nicephil@gmail.com 2017-5-11
shell判断变量内容里包含特定字符串
原文:http://www.cnblogs.com/nicephil/p/6840499.html