https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81421

--- Comment #17 from Ian Lance Taylor <ian at airs dot com> ---
Thanks.  I have no recommendation.  I can not explain why your version of grep
behaves differently than mine, and, since nobody else has reported this bug,
apparently differently than everyone else's.

I do notice one interesting thing, which is that earlier you said

> grep --version
> egrep (GNU grep) 2.4.2

On my system running `grep --version` prints

grep (GNU grep) 2.16

(plus a copyright notice) and running `egrep --version` prints

egrep (GNU grep) 2.16

It's interesting that on your system `grep --version` prints "egrep" rather
than "grep".  If your "grep" program is somehow really "egrep", that would
explain the problem you are seeing.  But I don't know how that could happen.

Reply via email to