[TriLUG] Learn something new every day.
Brian Daniels
bitmage at bellsouth.net
Mon Feb 20 17:10:16 EST 2006
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 bitmage at bellsouth.net
http://www.eviloverlord.net
More information about the TriLUG
mailing list