Sponsored Content
Top Forums Shell Programming and Scripting Identify Color and send email with same color Post 302894163 by Kingcobra on Monday 24th of March 2014 07:48:42 AM
Old 03-24-2014
Thanks mate for your reply,however the shell script I am executing does not have --color option,its a custom script written which is printing colors using awk and echo

Since ls has --color options that works fine but what if a custom script does not have color option,Thanks

Code:
ls -rlt --color | ansi2html.sh > king.html

 

2 More Discussions You Might Find Interesting

1. 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

2. 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
All times are GMT -4. The time now is 04:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy