I'm pretty sure I've done this in the past (and that an answer is out there somewhere), but can't remember right now.
I'm looking for a one-liner to search for (and return / echo) matches in both the filename and file.
Probably the easiest would be to run
find separately after each other; but I'd prefer a one-liner...
...unless it were possible with a semicolon (?) or other to run these tools sequentially.
I don't think the solution I'm after would involve piping | because, to borrow from set theory, I'm interested in the union of the two sets A and B (A ∪ B), rather than their
intersection (A ∩ B).