On Thu, May 29, 2003 at 07:41:46PM -0500, Alan Shutko wrote......

> Kevin Coyner <[EMAIL PROTECTED]> writes:
> 
> >     1.  only read lines with the word "Message" in it
> >     2.  in lines with "Message", output everything to the right of the
> >         word "Message".  This could be one word or twenty words.
> 
> awk '/Message/ { print substr($0, index($0, "Message")+length("Message")) }'

Pefect.  Thanks.

-- 
Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to