extracting with sed
From: Mohammed Mehraj Hussain <mhdmehraj_at_gmail.com>
Date: Fri, 5 Feb 2010 15:47:14 +0530
Message-ID: <b081c0a51002050217g2d36cf53q75d0f4539c859255_at_mail.gmail.com>
Hi all,
Date: Fri, 5 Feb 2010 15:47:14 +0530
Message-ID: <b081c0a51002050217g2d36cf53q75d0f4539c859255_at_mail.gmail.com>
Hi all,
i have a log file which consists of the below text
Code:
SQL> _at_.[%OSAUTH_PREFIX_DOMAIN%]
SP2-0310: unable to open file ".[FALSE]"
SQL> spool off
From this file i need to extract the text from the second line in between [] (i.e) False and need to put this output to a another file...
How can i do this with SED command
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Feb 05 2010 - 04:17:14 CST