How about perl? Perl is very handy for extracting text from\to with a set of pre-defined parameters.
-Danny -----Original Message----- From: I am Who i am [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 11:45 AM To: user@ant.apache.org Subject: How to email only the error part Hi All Is there a way to email only, the error part from ant for eg. lets say i'm compiling with ant, and its being written to a log file, when error happend, instead of attaching full log file i just want to send the portion where its failing with "Compliation Error' part Please help This e-mail message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Gartner makes no warranty that this e-mail is error or virus free. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]