Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: How to print colored word in text file

by Happy-the-monk (Monsignor)
on Jun 21, 2013 at 07:06 UTC ( #1040090=note: print w/ replies, xml ) Need Help??


in reply to How to print colored word in text file

red color in a text file

Colour as in coloured text is some kind of formatting.

Text files are understood as to contain text, but no such formatting.

So the answer is you don't. In order to colour text, you need an output format that can colour text like some rich text format or html. Do you have something in mind already?

Cheers, Sören

(hooked on the Perl Programming language)


Comment on Re: How to print colored word in text file

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1040090]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2014-09-20 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls