Hi,

Since latest bb release (1.22.0) the command:
 grep -w ^ file.txt

will hang (as long as file.txt exists and has one or more lines data).

Yes, the above grep is more or less bogus, but it should still not hang.
And it did not hang in earlier releases.

I suspect the commit:

commit 414db791d0dc79905e5afe20e503941b8f9778cc
Author: Bartosz Golaszewski <[email protected]>
Date:   Wed May 15 03:53:26 2013 +0200

    grep: don't bail out on first mismatch if '-w' option is set

To be the culprit after initial look - but have not tested.

Would you Bartosz care to look at it?

Thanks,
 Timo
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to