bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul Eggert
Subject: bug#43782: in egrep (grep 3.0), the order of include & exclude is surprisingly significant
Date: Sat, 3 Oct 2020 12:44:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

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, but it's not documented and should be. Thanks for bringing it up. I installed the attached doc patch.

Attachment: 0001-doc-document-include-exclude-better.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]