Byunghee HWANG (황병희) <[email protected]> wrote: > [-- text/plain, size 1.2K, charset utf-8, 35 lines, encoding quoted-printable > --] > > Hellow Chris, > > Chris Green <[email protected]> writes: > > > I know and use grep extensively but this requirement doesn't quite fit > > grep. > > > > I want to search lots of diary/journal entries (which are just plain > > text files) for entries which have two or more specified strings in > > them. > > > > E.g. I'm looking for journal entries which have, say, the words > > 'green', 'water' and 'deep' in them. Ideally the strings searched for > > could be Regular Expressions (though simple command line type wild > > cards would suffice). > > > > Is there a tool out there that can do this? > > > > If not I can probably produce a bash script to do it using grep, i.e. > > use grep to get a list of files with the first word, grep that list of > > files for the second word, and so on. However if there's a ready made > > tool for doing it I'd like to know about it. > > There is very simple way. You don't need any scripting or programming > knowledge. See below: (file size is too big to send email with attach) > <https://gitlab.com/soyeomul/Gnus/-/raw/d1c1a821330fec849c74813dab9c3d069be5940f/stuff/grep-gmail.png> > > That's just an image of my message in Gmail, I can't work out where it's supposed to take me. I can get to the Gnus project in Gitlab but then couldn't find anything very relevant.
N.B. the diary/journal entries are on my own system, not on the cloud anywhere. -- Chris Green ·

