7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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. Shell Programming and Scripting
The following is an extract of code I wrote to produce an email report of accounts that are about to expire.
It works fine except each time I run it the output is appended to all text from the previous mail that was sent. Can anybody see what I'm doing wrong?
paexpire=`sqlplus -s... (2 Replies)
Discussion started by: runnerpaul
2 Replies
3. Shell Programming and Scripting
Hi,
We are using KSH.
I was able to write a script where a mail is sent to the concerned persons and this is working perfectly file. I need to give a different color to a part of the data in the mail which. The script written is as follows;
(echo "From: $REPLY"
echo "To: $DLIST"
echo... (6 Replies)
Discussion started by: jmathew99
6 Replies
4. Programming
I'm writing my own Unix ls command in c and I was wondering if anyone knows how to or can point me to a tutorial that shows me how to change the text color of the filename depending on if it's a directory, regular file, linked file, etc..., like the real ls command does? Thanks. (4 Replies)
Discussion started by: snag49ers
4 Replies
5. Red Hat
Hi. How do I change the background color and text in Fedora. I did find the set_color -b command.
Thanks (1 Reply)
Discussion started by: Ccccc
1 Replies
6. Shell Programming and Scripting
Hi all
I have a file contains columns showing figures as below :
Input file
A B C
D 50 60 90
E 100 20 53
F 30 40 70
G 25 27 45
I want to color the value above or equal 90 by red and to be shown as below
output file... (5 Replies)
Discussion started by: Bluetoot
5 Replies
7. Shell Programming and Scripting
Hi,
The following command i executed
mailx -s "hi" abc@yahoo.com<<EOF
`echo "^[[31mWelcome"`
EOF
I don't any color (RED) in my mail.
Please assist me?
Os is SunOs 5.8
Thanks. (1 Reply)
Discussion started by: shahnazurs
1 Replies