<?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: Cleaning up a set of tags with Awk</title>
	<atom:link href="http://porg.es/blog/cleaning-up-a-set-of-tags-with-awk/feed" rel="self" type="application/rss+xml" />
	<link>http://porg.es/blog/cleaning-up-a-set-of-tags-with-awk</link>
	<description></description>
	<lastBuildDate>Tue, 27 Dec 2011 14:16:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Porges</title>
		<link>http://porg.es/blog/cleaning-up-a-set-of-tags-with-awk/comment-page-1#comment-124722</link>
		<dc:creator>Porges</dc:creator>
		<pubDate>Sun, 31 May 2009 03:21:13 +0000</pubDate>
		<guid isPermaLink="false">http://porg.es/blog/?p=266#comment-124722</guid>
		<description>Jonas: I suspect some implementations are faster than others. I am using mawk, which is the default on ’buntus :)

Also good points about the filter; I suspect I wrote it that way because it&#039;s easier to see what&#039;s going on.</description>
		<content:encoded><![CDATA[<p>Jonas: I suspect some implementations are faster than others. I am using mawk, which is the default on ’buntus <img src="http://porg.es/blog/wp-content/plugins/wp-smiley-switcher/noktahhitam/icon_smile.gif" alt="" /></p>
<p>Also good points about the filter; I suspect I wrote it that way because it&#8217;s easier to see what&#8217;s going on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas Lindström</title>
		<link>http://porg.es/blog/cleaning-up-a-set-of-tags-with-awk/comment-page-1#comment-124568</link>
		<dc:creator>Jonas Lindström</dc:creator>
		<pubDate>Sat, 30 May 2009 07:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://porg.es/blog/?p=266#comment-124568</guid>
		<description>Nice article. I am already a Ruby addict, and recently I have begun to use AWK more and more. Both languages have their strengths for text processing. Anything which calls for data structures, sorting and more complex stuff and I tend to use Ruby. AWK is great for oneliners and for writing small functions in shell scripts.

A couple of notes about the alphabetic filter: the AWK version can be written even more concisely as &lt;code lang=&quot;awk&quot;&gt;/[a-zA-Z]/&lt;/code&gt;, since it matches against &lt;code&gt;$0&lt;/code&gt; anyway. &lt;code lang=&quot;awk&quot;&gt;/[[:alpha:]]/&lt;/code&gt; might be even better.

And the Ruby version is hampered by a needlessly convoluted implementation:
&lt;code lang=&quot;ruby&quot;&gt;ruby -ne &#039;puts $_ if (/[[:alpha:]]/)&#039;&lt;/code&gt; is clearer and faster.

The difference is in any case nowhere near 8-9 times on my machine. :) With the second Ruby version, AWK is only slightly faster.</description>
		<content:encoded><![CDATA[<p>Nice article. I am already a Ruby addict, and recently I have begun to use AWK more and more. Both languages have their strengths for text processing. Anything which calls for data structures, sorting and more complex stuff and I tend to use Ruby. AWK is great for oneliners and for writing small functions in shell scripts.</p>
<p>A couple of notes about the alphabetic filter: the AWK version can be written even more concisely as <code lang="awk">/[a-zA-Z]/</code>, since it matches against <code>$0</code> anyway. <code lang="awk">/[[:alpha:]]/</code> might be even better.</p>
<p>And the Ruby version is hampered by a needlessly convoluted implementation:<br />
<code lang="ruby">ruby -ne 'puts $_ if (/[[:alpha:]]/)'</code> is clearer and faster.</p>
<p>The difference is in any case nowhere near 8-9 times on my machine. <img src="http://porg.es/blog/wp-content/plugins/wp-smiley-switcher/noktahhitam/icon_smile.gif" alt="" /> With the second Ruby version, AWK is only slightly faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith Pickett</title>
		<link>http://porg.es/blog/cleaning-up-a-set-of-tags-with-awk/comment-page-1#comment-103102</link>
		<dc:creator>Keith Pickett</dc:creator>
		<pubDate>Wed, 28 Jan 2009 13:52:52 +0000</pubDate>
		<guid isPermaLink="false">http://porg.es/blog/?p=266#comment-103102</guid>
		<description>It does my heart proud to see the classics still being used.</description>
		<content:encoded><![CDATA[<p>It does my heart proud to see the classics still being used.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

