Identify Color and send email with same color


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Identify Color and send email with same color
# 8  
Lovely,you are a rockstar mate,Big thanks for yor help
cheers

---------- Post updated 03-26-14 at 01:00 PM ---------- Previous update was 03-25-14 at 02:00 PM ----------

@"Chubler XL" The command you have given is working 100% percent perfectly mate,I was looking at ansi2html script,was trying to convert this script only to work using shell and awk ,as I am not permitted to install new packages in my office server.I tried pretty hard yesterday but it dint work well.Please if possible help me on this(I am from java background,my unix knowledge is of begginer range)
Thanks for the help you have done so far,really appreciate the time you are spending to help novices and begginers in this forum!!, you rock.
# 9  
The attached updated version should work. It does use multi-byte characters and some awk implementations may not like this, I've only tested with GNU awk.

Last edited by Chubler_XL; 03-26-2014 at 03:12 PM..
This User Gave Thanks to Chubler_XL For This Post:
# 10  
I've replaced to attached file with a new version that avoids using UTF8 characters in awk so it should be more compatible with older awk implementations. However it looks like GNU sed is also required by other parts of the script, so it is still unlikely to run on Solaris/AIX.
This User Gave Thanks to Chubler_XL For This Post:
# 11  
You rock
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #220
Difficulty: Easy
When multiple routers are used in interconnected networks, the routers can exchange information about destination addresses using a routing protocol.
True or False?

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Send mail with font color change

Hi All, I have a file that contains following entries. I want to highlight the line that has word as "FAILURE" while sending the email. File ------------------------------------------------------------ Job Name: ABC Start Time: 07/20/2019 07:32:39 End Time: 07/20/2019... (4 Replies)
Discussion started by: sdosanjh
4 Replies

2. UNIX for Dummies Questions & Answers

How to change the background color in the init 3 mode(not line color)

Hello, I am using RHEL 6.1 on VMware I am searching for a way to change background color (not line by line color wich one can using tput command) basically changing the color of the whole screen to white instead of the default black and changing font color to black and alos would like to... (2 Replies)
Discussion started by: Dexobox
2 Replies