Re the annoying leading whitespace:
If you're doing this with shell, run it through this filter:
sed -e 's/^ *//g' -e 's/^ *//g'
( those blanks are a tab and a space, respectively )
If you are doing it in perl simply use s/^\s+//
eg. $line =~ s/^\s+//;
HTH
Jared
"Post, Ethan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 08/27/2003 03:44 PM
|
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> cc: Subject: RE: Alert log.... |
Be careful of grepping for "^ORA-", I occasionally get " ORA-" (spaces)
when I use this. Anjo gave me a call to make to attempt to get the line to
start at the beginning but I don't think it works. Hard to test since this
situation is not recreatable. AIX 64 bit 4.3 Oracle 8.1.4.
- E
-----Original Message-----
Sent: Wednesday, August 27, 2003 3:04 PM
To: Multiple recipients of list ORACLE-L
> "Roger Xu" <[EMAIL PROTECTED]>
for the guy that asked for writing the the alert.log
file:
dbms_system.ksdwrt(2,'Test line...');
Will write the text to the alert log.
Use 1 instead of 2 to write to the trace file
Use 3 to write to both.
HTH
JL
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Jose Luis Delgado
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author: Post, Ethan
INET: [EMAIL PROTECTED]
Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).