[Bug 10931] String searching

bugzilla at busybox.net bugzilla at busybox.net
Mon Apr 9 11:22:03 UTC 2018


--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> ---
[[ ]] is a bashism.

You can keep your scripts standard by using:

aa='My string'; if [ "${aaa##*stri*}" = "" ]; then echo "It's there!"; fi

You are receiving this mail because:
You are on the CC list for the bug.

More information about the busybox-cvs mailing list