A="helloworld"
B="low"
if [[ $A == *$B* ]]
then
    echo "包含"
else
    echo "不包含"
fi
来发评论吧~
Powered By Valine
v1.4.16