LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices



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

Rep: Reputation: 30
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, 05:49 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
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.
 
  


Reply


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 12:32 PM
LXer: See changes word by word with dwdiff LXer Syndicated Linux News 0 09-25-2006 08:54 AM
Microsoft Word won't word wrap Micro420 General 1 06-13-2005 05:36 PM
How do I xemacs bold? wmcase Linux - Software 2 05-26-2005 04:15 PM
Viewers for Word, Word Perfect, etc. Claude Williams Linux - General 2 11-22-2001 05:01 AM


All times are GMT -5. The time now is 08:25 PM.

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