bug#43782: in egrep (grep 3.0), the order of include & exclude is surprisingly significant

2020-10-03 Thread John Ruckstuhl
In egrep (grep 3.0), the order of options (multiple --include and --exclude), is surprisingly significant. I was puzzled by 5 extra output lines in my first egrep, so I did another egrep, with the --include moved up front. Known bug? Yes, I realize that the include by itself would have been suffic

bug#43782: in egrep (grep 3.0), the order of include & exclude is surprisingly significant

2020-10-03 Thread Paul Eggert
On 10/3/20 12:00 PM, John Ruckstuhl wrote: In egrep (grep 3.0), the order of options (multiple --include and --exclude), is surprisingly significant. I was puzzled by 5 extra output lines in my first egrep, so I did another egrep, with the --include moved up front. That's expected behavior, bu