Computing.Net > Forums > Unix > how to echo a highlight text ?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

how to echo a highlight text ?

Reply to Message Icon

Name: jeff
Date: November 12, 2002 at 09:40:21 Pacific
OS: win98
CPU/Ram: 256
Comment:

Can somebody tell me that how to display or echo a highlight text in unix?? what command should be used??



Sponsored Link
Ads by Google

Response Number 1
Name: jimbo
Date: November 12, 2002 at 09:47:58 Pacific
Reply:

Using print:
print "\033[01;34m\c"
print "**** Highlighted text ****"
print "\033[0m\c"

Works with echo too.

-jim


0

Response Number 2
Name: Sjako
Date: November 21, 2002 at 16:16:39 Pacific
Reply:

echo "`tput smso`Highlight`tput rmso`"


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: how to echo a highlight text ?

How to conver a text file into .xls www.computing.net/answers/unix/how-to-conver-a-text-file-into-xls/7761.html

how to create a beep sound www.computing.net/answers/unix/how-to-create-a-beep-sound/6312.html

How to delete a file named -x www.computing.net/answers/unix/how-to-delete-a-file-named-x/3350.html