<?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"
	>
<channel>
	<title>Comments on: Shells Shells Everywhere Shells!</title>
	<atom:link href="http://konsilience.wordpress.com/2008/04/10/shells/feed/" rel="self" type="application/rss+xml" />
	<link>http://konsilience.wordpress.com/2008/04/10/shells/</link>
	<description></description>
	<pubDate>Thu, 24 Jul 2008 15:26:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: Daniel Holbach</title>
		<link>http://konsilience.wordpress.com/2008/04/10/shells/#comment-55</link>
		<dc:creator>Daniel Holbach</dc:creator>
		<pubDate>Fri, 11 Apr 2008 05:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://konsilience.wordpress.com/?p=23#comment-55</guid>
		<description>Keep it up, Greg! :-)</description>
		<content:encoded><![CDATA[<p>Keep it up, Greg! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: googlehimer</title>
		<link>http://konsilience.wordpress.com/2008/04/10/shells/#comment-54</link>
		<dc:creator>googlehimer</dc:creator>
		<pubDate>Fri, 11 Apr 2008 05:10:51 +0000</pubDate>
		<guid isPermaLink="false">http://konsilience.wordpress.com/?p=23#comment-54</guid>
		<description>whats the difference between the following?

$ history &#124; awk '{print $1 }' &#124; sort &#124; uniq -c &#124; sort -rn &#124; head
$ history &#124; awk '{a[$2]++} END{for(i in a){print a[i] " " i}}' &#124; sort -rn &#124; head


As far as i can see both give the same output</description>
		<content:encoded><![CDATA[<p>whats the difference between the following?</p>
<p>$ history | awk &#8216;{print $1 }&#8217; | sort | uniq -c | sort -rn | head<br />
$ history | awk &#8216;{a[$2]++} END{for(i in a){print a[i] &#8221; &#8221; i}}&#8217; | sort -rn | head</p>
<p>As far as i can see both give the same output</p>
]]></content:encoded>
	</item>
</channel>
</rss>
