Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Unix output formatting
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:
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-lReceived on Tue Mar 21 2006 - 08:34:08 CST
![]() |
![]() |