Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2008, 02:18 AM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
bold the word in report

I hv script that will output a txt file report , the report content is as below, I would like the word "No error" is bolded so that this message is highlighted , can advise what can i do ? thx

Date : 2002-01-22
Error : No error
Old 01-22-2008, 04:49 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Plain text files (what would normally be generated by a shell script) don't have provision for formatting. For that you need a language that is readable by a word processor, web browser, etc. As I am posting this message, the command for bold causes these words to be bold. In the raw text, the words are contained in "tags" enclosed in square brackets. This tells the LQ software to make these words bold.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to bold words NiallC Programming 2 08-25-2007 11:32 AM
LXer: See changes word by word with dwdiff LXer Syndicated Linux News 0 09-25-2006 07:54 AM
Microsoft Word won't word wrap Micro420 General 1 06-13-2005 04:36 PM
How do I xemacs bold? wmcase Linux - Software 2 05-26-2005 03:15 PM
Viewers for Word, Word Perfect, etc. Claude Williams Linux - General 2 11-22-2001 04:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration