Results 1 to 3 of 3
Is it possible to get bold font in echo's as i'm one of these fussy people that like to have a nice look (yes, even with his scripting lol) [/b]...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-04-2003 #1Just Joined!
- Join Date
- Sep 2003
- Posts
- 2
Bold Font in Bash Script
Is it possible to get bold font in echo's as i'm one of these fussy people that like to have a nice look (yes, even with his scripting lol)
[/b]
- 09-04-2003 #2Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
Because the 'ls' command sometimes can manipulate different colors, I would assume that there could be a way to manipulate rich types but maybe it's possible in Bash and not Bourne.
The best things in life are free.
- 09-05-2003 #3Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
You would have to send the escape sequences manually. Of course, that would look very bad in dumb terminals, but there's no other way, if you don't also want to check the value of the TERM variable. See the manpage for console_codes for a complete reference.


Reply With Quote
