One of those things that must be easy, but I haven’t been able to figure out how:
Given a set of files (specified in a Multi-File search dialog box), I want to find all the files that do NOT contain a string matching a grep pattern (specifically, a line beginning with the string “DecisionDate:").
The best idea I’ve got is to do a multi-file search for a grep pattern (?s)\A<something>\Z, where <something> describes a string that does not contain the pattern ^DecisionDate:. Only, I can’t think of any pattern that does that.
This is a one-shot problem, so I’d be perfectly happy with a command line solution (maybe using the find utility?).
Does anyone have any suggestions?
Thanks,
Neil Faiman