[PLUG] "multiple" grep

Tomas Kuchta tomas.kuchta.lists at gmail.com
Fri Oct 2 16:15:56 UTC 2020


Pipes and grep would only be useful if the whole email is on single line.
Context is needed in this instance.


On Fri, Oct 2, 2020, 05:38 Rich Shepard <rshepard at appl-ecosys.com> wrote:

> On Thu, 1 Oct 2020, Keith Lofstrom wrote:
>
> > On plug-talk a few years ago, someone suggested a vendor for aftermarket
> > laptop batteries. I can't find that email using simple "grep" in the
> > hundreds of megabytes of plug emails I've saved over the decades. Tens of
> > thousands of hits for laptop, thousands for battery, thousands for
> ".com".
>
> Keith,
>
> Have you considered a pipeline with multiple greps? Each one finds
> files/lines for one search string; e.g., laptops -> battery -> .com?
>
> Rich
> _______________________________________________
> PLUG: https://pdxlinux.org
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list