How can i make this bold


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can i make this bold
# 1  
Old 07-29-2007
Power How can i make this bold

Folks;
I'm writing this as a part of a script:
echo "col1 hdg|col2hdg|col3hdg|"

How can i make these fields shows in Bold text?
# 2  
Old 07-29-2007
Try this command:
echo "one $(tput bold)two$(tput rmso) three"
# 3  
Old 07-30-2007
Thanks a lot, but your answer is not clear on how can it be used
# 4  
Old 07-30-2007
Quote:
Originally Posted by moe2266
Thanks a lot, but your answer is not clear on how can it be used
Not clear ???

Thats a direct command which you could readily use it.
Did you try that out in a terminal ?

Am not clear about your requirement.
# 5  
Old 07-30-2007
So i should replace echo "col1 hdg|col2hdg|col3hdg|" with echo "one $(tput bold)two$(tput rmso) three".
Here's the example:
Mine is: echo " Date Viewer Editor"
should it be:

echo " Date$(tput bold) Viewer$(tput rmso) Editor"

Also why is the first one is bold & the second is rmso?
# 6  
Old 07-30-2007
rmso - offbold

man tput
# 7  
Old 07-30-2007
Thanks but it didn't work
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Make bold chars in UNIX

Hi all, I want to make the string as bold in unix. is there any way to acheive this? thanks in advance. (16 Replies)
Discussion started by: SekhaReddy
16 Replies

2. Shell Programming and Scripting

Bold Characters

Hi All, How to make the characters bold in k shell. like for example "File is too large to view" to "File is too large to view" is it like echo "File is too large to view" Please advice and samples (18 Replies)
Discussion started by: rajeshorpu
18 Replies

3. Shell Programming and Scripting

how to display in bold

Hi, i am using mailx option to send mail from unix In the body of the mail i want certain numbers to be displayed in bold Is there any way to do it If so, can anyone help me in this regard. (2 Replies)
Discussion started by: trichyselva
2 Replies

4. Shell Programming and Scripting

how can i bold a text

Dear i want to bold a text using shell script. please give sample.. Thanks rex (1 Reply)
Discussion started by: jrex1983
1 Replies

5. UNIX for Dummies Questions & Answers

What does a bold filename in ls mean?

I am ssh'd into my box using a terminal emulation of vt100. When I do a directory listing (ls) some of the file names are bold. I know that directories are also in bold, but these are not directories. What does a bolded filename mean? This seems like such a basic question, but I've spent 20... (3 Replies)
Discussion started by: nunemaj
3 Replies

6. UNIX for Dummies Questions & Answers

how to make a bold text in vi

pls disregard got my question answered . as you can't do bold in vi (0 Replies)
Discussion started by: xzyan
0 Replies

7. Programming

Bold text

hello, how do i display the text in the printf statement in bold. or is there anyway to display the text on the console in bold thx in advance svh (3 Replies)
Discussion started by: svh
3 Replies

8. UNIX for Dummies Questions & Answers

Printing in Bold

Hi, How do I print some shell variable in BOLD/ Thanks for any suggestions, Preeti (10 Replies)
Discussion started by: preetikate
10 Replies

9. Shell Programming and Scripting

Bold the paragraph

Hi, I have a file with multiple paragraph. I want to look for some word and make that paragraph bold. How can I do that? Thanks, Karthik (3 Replies)
Discussion started by: caprikar
3 Replies

10. UNIX for Dummies Questions & Answers

Bold Text?

Hello, On the linux box I use at work, the directories are bold type to distinguish them. Is there a way to make certain words in a text file bold? Thanks! (4 Replies)
Discussion started by: Atama
4 Replies
Login or Register to Ask a Question