[Bug 10931] New: String searching
bugzilla at busybox.net
bugzilla at busybox.net
Mon Apr 9 08:52:06 UTC 2018
https://bugs.busybox.net/show_bug.cgi?id=10931
Bug ID: 10931
Summary: String searching
Product: Busybox
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: ale5000 at gmail.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list