Find the answer to your Linux question:
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.
  1. #1
    Just 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]

  2. #2
    Linux 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.

  3. #3
    Linux 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •