[BusyBox] 1.00-pre10 grep -e abc -e xyz problem

Vladimir N. Oleynik dzo at simtreas.ru
Fri Apr 16 08:56:48 UTC 2004


Shuhao,

> ~ # cat text
> abc
> ijk
> xyz
> ~ # cat text | grep -e abc -e xyz
> ~ #
> 
> Expected value:
> abc
> xyz
> But when I use BusyBox v1.00-pre10 grep, it gets nothing.

Thanks. Quick patch attached.

> Busybox CVS grep.c 1.79 doesn't have this problem.

But have other problems. ;-)


--w
vodz

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: grep_qfix
Url: http://lists.busybox.net/pipermail/busybox/attachments/20040416/64b8ca3c/attachment.diff 


More information about the busybox mailing list