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.
> 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.