string='My long string'

if [[ $string == *"My long"* ]] || [[ $string == *"my long"* ]]; then
echo "It's there"
fi



相关文章: