bug#37753: wish for glob(7)-like matcher

2019-10-14 Thread Trent W. Buck
Package: grep Version: 2.20-4 Severity: wishlist Tags: upstream This bug was originally reported as https://bugs.debian.org/813356 I am attempting to upstream it into bugs.gnu.org. PS: nowadays I also know to mention fnmatch(3). On Mon, 01 Feb 2016 18:19:06 +1100 "Trent W. Buck&qu

bug#37754: wish for grep --and -eX -eY -eZ (X∩Y∩Z intersection, not X∪Y∪Z union)

2019-10-14 Thread Trent W. Buck
Package: grep Version: 3.3-1 Severity: wishlist This bug was originally reported as https://bugs.debian.org/940464 Trent W. Buck wrote: > (Surely someone has already asked for this, but I can't see where. > I may have already reported this myself, and forgotten. > If so, sorry!) &g

bug#37754: wish for grep --and -eX -eY -eZ (X∩Y∩Z intersection, not X∪Y∪Z union)

2019-10-16 Thread Trent W. Buck
Paul Eggert wrote: > Wouldn't it be more useful to have an intersection operator in regular > expressions? That is, the pattern 'A\&B' would match anything that is > matched by both A and B. If A and B have parenthesized subexpressions, both > sets of parentheses would match and would count. Not f

bug#37754: wish for grep --and -eX -eY -eZ (X∩Y∩Z intersection, not X∪Y∪Z union)

2019-10-18 Thread Trent W. Buck
Paul Eggert wrote: > On 10/16/19 5:19 PM, Trent W. Buck wrote: > > I would expect "grep -Fw -e 4GB -e DDR4 --and" to print the same thing as > > > > grep -Fw 4GB | grep -Fw DDR4 | grep -Fw -e 4GB -e DDR4 -o > > You're right, it's not obvio

bug#37754: wish for grep --and -eX -eY -eZ (X∩Y∩Z intersection, not X∪Y∪Z union)

2023-01-17 Thread Trent W. Buck
On Fri 18 Oct 2019 22:49:23 +1100, Trent W. Buck wrote: > Paul Eggert wrote: > > On 10/16/19 5:19 PM, Trent W. Buck wrote: > > > I would expect "grep -Fw -e 4GB -e DDR4 --and" to print the same thing as > > > > > > grep -Fw 4GB | grep -Fw DDR4 | g