s="STP=20" if [[ "$x" == *"$s"* ]]
该if条件始终是假的; 为什么?
if
试试这个:http : //tldp.org/LDP/abs/html/comparison-ops.html
string comparison = is equal to if [ "$a" = "$b" ]
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句