bug-grep
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: bug#37754: wish for grep --and -eX -eY -eZ (X∩Y∩Z intersection, not X∪Y∪Z union)
Date: Fri, 18 Oct 2019 10:51:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/18/19 4:49 AM, Trent W. Buck wrote:
In that case, each grep in the pipeline has to pay the costs to
de-serialize input from the previous grep

Sure, but grep is designed to be a simple tool and we need to draw the line somewhere. For something more complicated there are already sed and awk (if you want to write to POSIX) or Perl or Python or whatever.

I mildly of prefer the A\&B notation because it could be used everywhere, not just in grep. (But of course someone would have to implement it. :-)





reply via email to

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