On Fri, Feb 27, 2026 at 09:35:25 +0000, Chris Green wrote: > 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?
https://mywiki.wooledge.org/BashFAQ/079 I believe you want the section entitled foo AND bar in the same file, not necessarily on the same line although it's hard to be sure, because your problem description is somewhat unclear. (What is the format of a "journal entry"?)

