if [[ $str == *"AAA"* ]]; then echo "yes" else echo "no" fi
if [[ $str =~ "AAA" ]]; then echo "yes" else echo "no" fi
No comments:
Post a Comment