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")) }' -- Alan Shutko <[EMAIL PROTECTED]> - I am the rocks. Looking for a developer in St. Louis? http://web.springies.com/~ats/ Gorns do it cold-bloodedly. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]