Hi, El 16/09/19 a las 12:09, Trent W. Buck escribió: > Package: grep > Version: 3.3-1 > Severity: wishlist > > (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!) > > Right now if you do > > grep -eX -eY -eZ > > You'll get lines that match *any of* X, Y, or Z. > Quite often I want to search for lines that match *all of* X, Y, and Z — but > in any order. > For example, > > # all 4TB 2.5-inch SATA products > grep -Fwi -eSATA -e2TB -e2.5in products.csv > > Below is a short discussion of the workarounds I know about. > > Is "grep --and" something that has already been discussed and rejected? > I looked through debbugs.gnu.org and the source tarball, but > I couldn't find anything about this. > …
Could you please forward your request to the upstream developers at bug-g...@gnu.org? I know I could do it by myself, but I'd prefer to keep you in the loop directly. Cheers, -- Santiago
signature.asc
Description: PGP signature