Mariusz Kruk a écrit :
On czw, 2008-09-11 at 07:53 -0500, Jack L. Stone wrote:
Folks, I'm trying to capture/grep specific given info from the subject
output, like this:
#spamassassin -D --lint | grep database
I KNOW that doesn't work, but describes my issue at hand. I've spent an
hour+ searching for others with this same question without success. I
remember this being posted on this list apprx 2 years ago and I can't find
it now.
Piping and grepping is easy to grab on other commands, but this one escapes
me.
I don't understand what's your problem. You can't redirect stderr to
different stream or what?
No need for that attitude, we were all newbies once...
It wouldn't have taken any longer to give the actual solution:
spamassassin -D --lint 2>&1 | grep database
John.
--
-- Over 3000 webcams from ski resorts around the world - www.snoweye.com
-- Translate your technical documents and web pages - www.tradoc.fr