| Summary: | String searching | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Ale <ale5000> |
| Component: | Other | Assignee: | unassigned |
| Status: | NEW --- | ||
| Severity: | normal | CC: | ale5000, busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Ale
2018-04-09 08:52:06 UTC
[[ ]] is a bashism.
You can keep your scripts standard by using:
aa='My string'; if [ "${aaa##*stri*}" = "" ]; then echo "It's there!"; fi
|