<?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: Print out only last revision in list of patches</title>
	<atom:link href="http://www.tech-recipes.com/rx/835/print-out-only-last-revision-in-list-of-patches/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/835/print-out-only-last-revision-in-list-of-patches/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 18:18:34 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/835/print-out-only-last-revision-in-list-of-patches/comment-page-1/#comment-2217</link>
		<dc:creator></dc:creator>
		<pubDate>Tue, 04 Oct 2005 10:08:52 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2217</guid>
		<description>This failed with an awk error on my Solaris 8 system.

showrev -p &#124; awk -F- &#039;{hold0=$0; hold=$1; while (getline &gt; 0) { if (hold!=$1) {print hold0; hold0=$0} if (hold=$1) hold0=$0 } }&#039; 

Changing the &#039;awk&#039; to &#039;nawk&#039; resolved the issue.

showrev -p &#124; nawk -F- &#039;{hold0=$0; hold=$1; while (getline &gt; 0) { if (hold!=$1) {print hold0; hold0=$0} if (hold=$1) hold0=$0 } }&#039; 

Thanks for the tip.</description>
		<content:encoded><![CDATA[<p>This failed with an awk error on my Solaris 8 system.</p>
<p>showrev -p | awk -F- &#8216;{hold0=$0; hold=$1; while (getline &gt; 0) { if (hold!=$1) {print hold0; hold0=$0} if (hold=$1) hold0=$0 } }&#8217; </p>
<p>Changing the &#8216;awk&#8217; to &#8216;nawk&#8217; resolved the issue.</p>
<p>showrev -p | nawk -F- &#8216;{hold0=$0; hold=$1; while (getline &gt; 0) { if (hold!=$1) {print hold0; hold0=$0} if (hold=$1) hold0=$0 } }&#8217; </p>
<p>Thanks for the tip.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
