Currently I am using unbuffer command to get this thing done. <div><a href="http://linux.die.net/man/1/unbuffer">http://linux.die.net/man/1/unbuffer</a><br clear="all">regards<div>Vivek Goel</div><br>
<br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 10:45 PM, vivek goel <span dir="ltr"><<a href="mailto:goelvivek2011@gmail.com" target="_blank">goelvivek2011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CMake currently checks if it is writing to a TTY, and if not it switch off colors. <div>Problem is that I am piping make o/p to sed command. </div><div>One way to solve this problem is I can use unbuffer command. </div>
<div>
Is there any other solution to always force color output ?</div><div><br></div><div><br clear="all">regards<span class="HOEnZb"><font color="#888888"><div>Vivek Goel</div><br>
</font></span></div>
</blockquote></div><br></div>