On Mon, Feb 20, 2006 at 04:57:48PM -0500, Brian McCullough wrote:
> > >All as expected.  But you want more filtering, so you type:
> > >'tail -f logfile | grep foo | grep bar'
> 
> 
> I presume from this that you want _only_ lines that contain _both_ foo
> AND bar, correct?

Yes.  Otherwise it'd be much neater to use Jason's -e foo -e bar method.

I just didn't expect my data to get stuck in the pipe.  Perhaps I need a 
plunger.

--Brian

-- 
I think my life is fuller because I realize
that I don't know what I'm doing.
I'm delighted with the width of the world!
                        ---Richard Feynman


Brian Daniels                  [EMAIL PROTECTED]
      http://www.eviloverlord.net

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to