Re: [PLUG] "multiple" grep

2020-10-02 Thread Paul Mullen
On Thu, Oct 01, 2020 at 11:10:22PM -0700, 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

Re: [PLUG] "multiple" grep

2020-10-02 Thread Rich Shepard
On Thu, 1 Oct 2020, Tomas Kuchta wrote: But - I can recommend Recoll for desktop search - it is the greatest thing since the invention of sliced bread. Tomas, Sliced bread? Really? You need to expand your eating experiences. :-) Thanks for making me aware of Recoll. It's now installed and I

Re: [PLUG] "multiple" grep

2020-10-02 Thread Rich Shepard
On Fri, 2 Oct 2020, Tomas Kuchta wrote: Pipes and grep would only be useful if the whole email is on single line. Context is needed in this instance. Okay. I was too early in the morning with my response. Carpe weekend, Tomas, Rich ___ PLUG: https:

Re: [PLUG] "multiple" grep

2020-10-02 Thread Tomas Kuchta
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 wrote: > On Thu, 1 Oct 2020, Keith Lofstrom wrote: > > > On plug-talk a few years ago, someone suggested a vendor for aftermarket > > laptop batt

Re: [PLUG] "multiple" grep

2020-10-02 Thread Rich Shepard
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, thousand

Re: [PLUG] "multiple" grep

2020-10-01 Thread Russell Senior
In case you don't mind grep, you can use grep with one word to recursively search files and return the filename, and feed that list of filenames to another grep with a second search word, something like: grep -ril batter | xargs grep -i laptop Or some variant of that. On Thu, Oct 1, 2020 at 11:

Re: [PLUG] "multiple" grep

2020-10-01 Thread Tomas Kuchta
Cannot help with reputable battery vendor - there are so many fake sellers of batteries with fake reviews that I gave up. Just the thought of going to google or Amazon for laptop battery makes me dizzy. But - I can recommend Recoll for desktop search - it is the greatest thing since the invention

[PLUG] "multiple" grep

2020-10-01 Thread Keith Lofstrom
The why: 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 ".co