Hi, it would be nice to support this syntax for string searching: aaa='My string' if [[ "$aaa" == *"stri"* ]]; then echo "It's there!"; fi if [[ "$aaa" =~ .*stri.* ]]; then echo "It's there!"; fi
[[ ]] is a bashism. You can keep your scripts standard by using: aa='My string'; if [ "${aaa##*stri*}" = "" ]; then echo "It's there!"; fi