On Thu, May 29, 2003 at 07:41:46PM -0500, Alan Shutko wrote...... > Kevin Coyner <kevin@rustybear.com> 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: kevin@rustybear.com GnuPG key: 1024D/8CE11941
Attachment:
pgpevh8YFvFE0.pgp
Description: PGP signature