[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35159: Bug in grep -e (GNU grep 2.51)
From: |
Andrew Browne |
Subject: |
bug#35159: Bug in grep -e (GNU grep 2.51) |
Date: |
Fri, 5 Apr 2019 13:18:08 +0000 |
Hi,
I am using GNU grep 2.5.1, so maybe this has been fixed by now.
Bug: 'grep -e <pattern1> -e <pattern2> <file>' sometimes doesn't show all of
the matches for one pattern.
Example: 'grep -e blah -e stuff <file>' finds all "blah", but only some of
"stuff", when <file> contains lots of "blah" and only a few "stuff" mixed in.
As an alternative that works, I used 'grep -E '<pattern1>|<patter2>' <file>'
Andrew Browne
- bug#35159: Bug in grep -e (GNU grep 2.51),
Andrew Browne <=