Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix output formatting

Re: Unix output formatting

From: Michael McMullen <ganstadba_at_hotmail.com>
Date: Tue, 21 Mar 2006 09:34:08 -0500
Message-ID: <BAY103-DAV2AA5A24EE3037E064B6C2A6D80@phx.gbl>


I do something like this and have never had a problem viewing through outlook.

You'll get something like this

03/21/06-01:30:00:



03/21/06-01:30:00: Starting cops import
03/21/06-01:30:00:

LOG_FILE="${LOGSDIR}/cops_import.${today}.log" DASHED_LINE=\

"============================================================"

export ORACLE_SID ORAENV_ASK NLS_LANG LOG_FILE SQLDIR

LogMsg() {

   echo "`date +"%D-%T"`: $1" >> ${LOG_FILE} }

############################################################################
####
### MAIN
###
############################################################################
####

LogMsg ${DASHED_LINE}
LogMsg "Starting cops import"
LogMsg ${DASHED_LINE}

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 21 2006 - 08:34:08 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US