Highlighted output from shell script?

Jan B. Andersen jba at harald.ruc.dk
Fri Feb 2 13:03:56 AEST 1990


jiang at hbar.rice.edu (Jun Jiang) writes:

>I am trying to write a shell script which should be able to print 
>something in highlighted text.  Does anyone out there have any idea
>how to do it?  Thanks a lot.

If you have terminfo this should work:

% bold=`tput bold`
% normal=`tput sgr0`
% echo $bold Some text $normal



More information about the Comp.unix.questions mailing list