Here is an example of hiding a lot of the code (like tput) and allowing a pattern to be specified for conditional high-lighting:
producing:
The ansifilter is so that the colors show up here, and would not be needed on a terminal -- I use Konsole, I'm assuming that Mate will be similar.
I'll try to attach the script my-hilite as a text file (in this or a following post) so that you may rename it, modify it, etc.
Best wishes ... cheers, drl
--- Post updated at 10:56 ---
Hi.
Cannot seem to get attached file to work, so copied here ... cheers, drl
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)
hi Folks,
Can anyone help with changing the color of the words in a linux shell script?
I get how to change default background etc in putty, but for some reason the text in the script has different colors for different parts of the cript.
Is there a way to have one color in a linux shell... (5 Replies)