2013/5/14 Michael Tokarev <[email protected]>:
> 15.05.2013 01:01, Bartosz Golaszewski wrote:
>> This fixes bug 4520: 'grep -w fails when pattern is a strict substring
>> of a word'. If '-w' option is set - grep will retry to match against
>> the rest of the string after it finds a match not enclosed by delimiting
>> symbols.
>
> It's been fixed by
>
> commit 2f5b5beb28a3ffe9d12a19b79c453c640cee2f29
> Author: Denys Vlasenko <[email protected]>
> Date:   Sun Jan 20 16:57:19 2013 +0100
>
>     grep: fix grep -Fw not respecting the -w option. Closes 5792
>
> Apparently 4520 should have been fixed too at that time.
>
> Thanks,
>
> /mjt

I pulled from current git and 'echo "foop foo" | ./busybox grep -w
foo' doesn't match,
although 'echo "foop foo" | ./busybox grep -Fw foo' does.

--
Best Regards,
Bartosz Gołaszewski
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to