1 strA="long string" 2 strB="string" 3 result=$(echo $strA | grep "${strB}") 4 if [[ "$result" != "" ]] 5 then 6 echo "包含" 7 else 8 echo ...
確定! 回上一頁