| Summary: | grep -w str on pattern "strstr foo" will give a match. | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | frank chen <frank.chen2> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | 1.22.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | chine the line position on continue case. | ||
> grep -w str on pattern "strstr foo" will give a match
It is fixed in 1.22.1:
# echo "strstr foo" | busybox grep -w str
<nothing>
# busybox 2>&1 | head -1
BusyBox v1.22.1 (2014-02-01 19:25:19 CET) multi-call binary.
the patch is not in the v1.22.1 patch, and not in the release package. 1.22.1 contains a partial fix, it requires CONFIG_EXTRA_COMPAT=y in .config file. Current git has additional fix for non-CONFIG_EXTRA_COMPAT mode. |
Created attachment 5318 [details] chine the line position on continue case. if you do grep -w strs on "strstr foo" will not give you match, which is right.