All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike McCarty <Mike.McCarty@sbcglobal.net>
To: linux-msdos@vger.kernel.org
Subject: Re: How print output into  diffent color
Date: Tue, 09 Dec 2008 12:28:50 -0600	[thread overview]
Message-ID: <493EB8E2.1010305@sbcglobal.net> (raw)
In-Reply-To: <20081209120758.b5c96918.theatre@sasktel.net>

Frank Cox wrote:
> On Tue, 9 Dec 2008 08:29:25 -0800 (PST)
> Dos_Neo wrote:
> 
>> I executing one batch file in dos prompt.So my problem is that if it give
>> correct answer than it particalur line should print in green other wise in
>> red color.
>>
>> Is there any command though which i can do it.
> 
> http://www.robvanderwoude.com/ansi.html

Good info, but that site wants to set cookies, so beware.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!

  reply	other threads:[~2008-12-09 18:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-24  6:51 How print output into diffent color Dos_Neo
2008-11-24  7:08 ` Frank Cox
2008-12-09 18:07 ` Frank Cox
2008-12-09 18:28   ` Mike McCarty [this message]
2008-12-09 18:53     ` Frank Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=493EB8E2.1010305@sbcglobal.net \
    --to=mike.mccarty@sbcglobal.net \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.