Search Results

Search: Posts Made By: sdosanjh
4,347
Posted By sdosanjh
@Scrutinizer Yes that also working perfectly. ...
@Scrutinizer
Yes that also working perfectly.
Thanks once again.

So problem was determining "white spaces" ?<br>
4,347
Posted By sdosanjh
@SriniShoo..and Moderators... Thanks.. You...
@SriniShoo..and Moderators...
Thanks..
You rocked and it worked :)
4,347
Posted By sdosanjh
contents in file is not broken. it is a simple...
contents in file is not broken. it is a simple text file

GAP Ric FEYEI201402300.M4 Flag2 13 Sym FEYE1420I23-4 msg SEQ_NO:342 db:5 diff 337 process msg
GAP Ric FEYEI201402350.M4 Flag2 21 Sym...
4,347
Posted By sdosanjh
@srinishoo, posting the code after masking ...
@srinishoo,
posting the code after masking

#!/usr/bin/bash

FILE=/tmp/RicGapInfo
DAY=`date |awk '{print $1}'| tr -s '[:upper:]' '[:lower:]'`

LIST=`grep perRicGapCount /tmp/alert.$DAY | awk...
4,347
Posted By sdosanjh
Here is entire code /usr/xpg4/bin/awk...
Here is entire code

/usr/xpg4/bin/awk 'BEGIN{print "<pre>"}1' ORS='<br>' ${FILE}.txt <<EOF | /usr/sbin/sendmail -oi -t
From: abc@xyz.com
To: def@xyz.com
Subject: GAP Report
Content-Type:...
4,347
Posted By sdosanjh
@Don Cragun, sorry i missed that info part. it...
@Don Cragun,
sorry i missed that info part. it is SunOS.

Awk error is no more existing now after changing it to /usr/xpg4/bin/awk

The new error came now, despite of giving From and To:
I am...
4,347
Posted By sdosanjh
@Srinishoo I am getting the below error ...
@Srinishoo

I am getting the below error

awk: syntax error near line 1
awk: bailing out near line 1
No recipient addresses found in header


---------- Post updated at 05:08 PM ----------...
4,347
Posted By sdosanjh
Can someone pls help, issue is still open.
Can someone pls help, issue is still open.
4,347
Posted By sdosanjh
I got the email as HTML format now, but there is...
I got the email as HTML format now, but there is no new lines.
everything is in continuation

GAP Ric FEYEI201402550.M4 Flag2 10 Sym FEYE1420I25.5-4 msg SEQ_NO:1223 db:5 diff 1218 process msg GAP...
4,347
Posted By sdosanjh
No luck with mailx. Actually after some code...
No luck with mailx. Actually after some code written in script i am sending the email.
I am not using mailx from command prompt.
Sorry if i was not clear in my first post
4,347
Posted By sdosanjh
Unable to send the email in formatted way
Legends,

I have following entries in /tmp/a.txt file

GAP Ric XEOJ181477500.W Flag2 5 Sym XEO1418J775-E msg SEQ_NO:159 db:5 diff 154 process msg
GAP Ric XEOJ181400.W Flag2 19 Sym XE418J815-E...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy