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> Sincerely, Byunghee -- ^고맙습니다 _布德天下_ 감사합니다_^))//
signature.asc
Description: PGP signature

