egrep shouldn't find anything, you are searching for the string "" in
"some text here", clearly, it isn't there.

On 9/7/06, Martin Marusak <[EMAIL PROTECTED]> wrote:
OpenBSD egrep finds nothing in any text:
---
% echo "some text here" | egrep -x "" ; echo $status
some text here
0
---

GNU grep does not:
---
% echo "some text here" | gegrep -x "" ; echo $status
1
---
Isn't that a bug in OpenBSD egrep?

M.




--
AndrC)s Delfino

Reply via email to