I realize this is a trivial question, but every now and then I want to check the output of
I'm sure it is a simple thing I should have at the tip of my fingers, but after some googling and trial and error I'm still stuck on the errors part of the trials.
I'd like to filter the output for lines that do not contain "dbg" as in what I'd expect from
spamassassin -D --lint
for errors and piping it through grep
doesn't work, even with --line-buffer
. I'm sure it is a simple thing I should have at the tip of my fingers, but after some googling and trial and error I'm still stuck on the errors part of the trials.
I'd like to filter the output for lines that do not contain "dbg" as in what I'd expect from
spamassassin -D --lint | grep -v dbg
.