Re: extracting with sed

  • From: "alever\@libero\.it" <alever@xxxxxxxxx>
  • To: "mhdmehraj" <mhdmehraj@xxxxxxxxx>
  • Date: Mon, 8 Feb 2010 08:49:51 +0100

Maybe this can work for your need:

cat <your_log_file> | grep "\@\.\[\%" | cut -d"%" -f2 


Alessandro


>Hi ,
>
>Here my intention is to read the OSAUTH_PREFIX_DOMAIN registry value and to
>insert it in a oracle table...
>
>
>Is there anyway to do this Efficiently?
>
>Regards,
>Mohammed
>
>> > [oracle@msrac201 ~]$ cat log.txt
>> > SQL> @.[%OSAUTH_PREFIX_DOMAIN%]
>> > SP2-0310: unable to open file ".[FALSE]"
>> > SQL> spool off

--
//www.freelists.org/webpage/oracle-l


Other related posts: