--- srl <[EMAIL PROTECTED]> wrote:
> what part of the line do you need to grab, other
> than QAA?
> got some sample data?
actually I needed to grab a particular string. For
example, all patterns matching QAA:
May 11 23:59:57 smtp-out sendmail[7569]: QAA14179:
to=<[EMAIL PROTECTED]>, delay=
07:45:25, xdelay=00:00:01, mailer=esmtp,
relay=mx1.onmedia.com. [209.133.35.49],
stat=Deferred: Illegal seek
May 11 23:59:56 smtp-out sendmail[7569]: QAA14169:
to=<[EMAIL PROTECTED]>, delay=
07:45:29, xdelay=00:00:01, mailer=esmtp,
relay=mx1.onmedia.com. [209.133.35.49],
stat=Deferred: Illegal seek
anyway the easiest way to do this (and the way I did
it before but forgot :>) was to use a "cut" on this
file. (and someone on this list mailed me about "cut!"
:>) Since everything I was looking for was in the same
place on each line.
thanks again for everyone's help with this!
--alissa
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk