17
Inverting match with grep, unless another term exists
(lemmy.world)
grep -E '(^[^B]*$|A)'
EDIT: Whoops, I meant to make this a top-level comment.
EDIT 2: On one client it looked like a nested comment and on this other client it looks top level and now I'm a confused old man.
You don't need parentheses here.
~~How dare you?~~
Thanks!
Haha, on Lemmy.World it looks like a top level. Thank you, either way :)