When i execute the below shell script with 2 different Input files, for one of the data files (datafile1) my email message body in the outlook messes up and every thing comes up in one line. May i please know what i am doing wrong here or how to fix this? The only difference in data files is one is... (1 Reply)
Hi,
I am using log4j syslog appender to redirect the application logs to the solaris syslog.
However, I am facing issue in formatting. It is not able to interpret new line characters and is printing \n as it is.
Ex: Following is getting written into the syslog file.
"\n \n File =... (4 Replies)
Oracle Linux 5.6 x-86-64 (Red Hat derivitive)
I have several shell scripts that capture output to a log file, then use that log file as the source of an email. For a very simplified example:
echo Today is `date` >> $logfile
/bin/mail -s "$subject" "$sendto" < $logfile
(yes, $subject... (6 Replies)
How to remove any space around a specific charachter from a string using sed.
for exmple :
the string is like following
str1='"name", "roll", "addr","job", "pay",'
I need to remove all the spaces aronnd the commas. (8 Replies)
I am running this query in a SQL session :
info_dtls=`sqlplus -s / <<eof
whenever sqlerror exit 1
set feedback off;
set verify off;
set echo off;
set heading off;
select trim(a.cont_title)||'","'||trim(b.cpgrp_desc)||
'","'||trim(to_char(to_date('20100930','yyyymmdd'),'MM/DD/YYYY'))||... (1 Reply)
Hi all
I had a mail issue earlier today where I was not receiving any emails from the servers of one of our clients.
The mail queue just showed this:
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
o8S7eSpp020274* 5858 Tue Sep 28 10:42... (0 Replies)