<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Highlight Warnings in Make</title>
	<atom:link href="http://shawnwilsher.com/archives/184/feed" rel="self" type="application/rss+xml" />
	<link>http://shawnwilsher.com/archives/184</link>
	<description></description>
	<lastBuildDate>Mon, 05 Dec 2011 17:26:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Brad</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3696</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Sat, 30 May 2009 07:58:32 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3696</guid>
		<description>for sed, -E appears to be an OSX only flag.  I think the linux equivalent is -r, so: 

&lt;pre&gt;make()
{
  pathpat=&quot;(/[^/]*)+:[0-9]+&quot;
  ccred=$(echo -e &quot;33[0;31m&quot;)
  ccyellow=$(echo -e &quot;33[0;33m&quot;)
  ccend=$(echo -e &quot;33[0m&quot;)
  /usr/bin/make &quot;$@&quot; 2&gt;&amp;1 &#124; sed -r -e &quot;/[Ee]rror[: ]/ s%$pathpat%$ccred&amp;$ccend%g&quot; -e &quot;/[Ww]arning[: ]/ s%$pathpat%$ccyellow&amp;$ccend%g&quot;
  return ${PIPESTATUS[0]}
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>for sed, -E appears to be an OSX only flag.  I think the linux equivalent is -r, so: </p>
<pre>make()
{
  pathpat="(/[^/]*)+:[0-9]+"
  ccred=$(echo -e "33[0;31m")
  ccyellow=$(echo -e "33[0;33m")
  ccend=$(echo -e "33[0m")
  /usr/bin/make "$@" 2&gt;&amp;1 | sed -r -e "/[Ee]rror[: ]/ s%$pathpat%$ccred&amp;$ccend%g" -e "/[Ww]arning[: ]/ s%$pathpat%$ccyellow&amp;$ccend%g"
  return ${PIPESTATUS[0]}
}</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: adw</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3555</link>
		<dc:creator>adw</dc:creator>
		<pubDate>Wed, 11 Feb 2009 04:21:01 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3555</guid>
		<description>\o/</description>
		<content:encoded><![CDATA[<p>\o/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Wilsher</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3260</link>
		<dc:creator>Shawn Wilsher</dc:creator>
		<pubDate>Thu, 04 Dec 2008 15:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3260</guid>
		<description>@Mike
I honestly don&#039;t know.</description>
		<content:encoded><![CDATA[<p>@Mike<br />
I honestly don&#8217;t know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blog.no-panic.at &#187; Colorful make output</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3258</link>
		<dc:creator>blog.no-panic.at &#187; Colorful make output</dc:creator>
		<pubDate>Thu, 04 Dec 2008 08:30:28 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3258</guid>
		<description>[...] via shawnwilsher.com [...]</description>
		<content:encoded><![CDATA[<p>[...] via shawnwilsher.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Beltzner</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3257</link>
		<dc:creator>Mike Beltzner</dc:creator>
		<pubDate>Thu, 04 Dec 2008 08:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3257</guid>
		<description>Any way we can get this styling applied to the buildlogs submitted to tinderbox so that it&#039;s easier to spot the problems when investigating a failed build?</description>
		<content:encoded><![CDATA[<p>Any way we can get this styling applied to the buildlogs submitted to tinderbox so that it&#8217;s easier to spot the problems when investigating a failed build?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hanspeter</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3255</link>
		<dc:creator>Hanspeter</dc:creator>
		<pubDate>Thu, 04 Dec 2008 02:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3255</guid>
		<description>Nope.  It&#039;s giving me curly quotes for the terminating quote on the first line, the opening quote on the 2nd line, and the ones around warning in the 2nd to last line.  If you look at the source code of this page, wordpress is converting the quote characters into &amp; # 8221; and &amp; # 8220; (hopefully I spaced that out enough that it won&#039;t convert them into the actual characters here...)

(on windows, but obviously the wordpress output is system agnostic)</description>
		<content:encoded><![CDATA[<p>Nope.  It&#8217;s giving me curly quotes for the terminating quote on the first line, the opening quote on the 2nd line, and the ones around warning in the 2nd to last line.  If you look at the source code of this page, wordpress is converting the quote characters into &amp; # 8221; and &amp; # 8220; (hopefully I spaced that out enough that it won&#8217;t convert them into the actual characters here&#8230;)</p>
<p>(on windows, but obviously the wordpress output is system agnostic)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Holbert</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3253</link>
		<dc:creator>Daniel Holbert</dc:creator>
		<pubDate>Thu, 04 Dec 2008 00:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3253</guid>
		<description>On Linux, you can just install the &#039;colormake&#039; package and use that in place of make.

(colormake should work on non-Linux platforms, too -- you&#039;d just need to download the perl &amp; bash scripts and put them in the right places yourself)

More info:
http://bre.klaki.net/programs/colormake/</description>
		<content:encoded><![CDATA[<p>On Linux, you can just install the &#8216;colormake&#8217; package and use that in place of make.</p>
<p>(colormake should work on non-Linux platforms, too &#8212; you&#8217;d just need to download the perl &amp; bash scripts and put them in the right places yourself)</p>
<p>More info:<br />
<a href="http://bre.klaki.net/programs/colormake/" rel="nofollow">http://bre.klaki.net/programs/colormake/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn Wilsher</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3252</link>
		<dc:creator>Shawn Wilsher</dc:creator>
		<pubDate>Wed, 03 Dec 2008 23:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3252</guid>
		<description>@Hanspeter
I think if you drag and copy, you should be good.  I don&#039;t see any escape issues - just some layout truncation issues.</description>
		<content:encoded><![CDATA[<p>@Hanspeter<br />
I think if you drag and copy, you should be good.  I don&#8217;t see any escape issues &#8211; just some layout truncation issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hanspeter</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3251</link>
		<dc:creator>Hanspeter</dc:creator>
		<pubDate>Wed, 03 Dec 2008 23:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3251</guid>
		<description>Looks nice, but wordpress seems to have messed many of the quote characters.</description>
		<content:encoded><![CDATA[<p>Looks nice, but wordpress seems to have messed many of the quote characters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Humphrey</title>
		<link>http://shawnwilsher.com/archives/184/comment-page-1#comment-3250</link>
		<dc:creator>David Humphrey</dc:creator>
		<pubDate>Wed, 03 Dec 2008 20:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://shawnwilsher.com/?p=184#comment-3250</guid>
		<description>Absolutely delicious.  Thank you!</description>
		<content:encoded><![CDATA[<p>Absolutely delicious.  Thank you!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

