<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jabbering Giraffe &#187; meme</title>
	<atom:link href="http://happygiraffe.net/blog/tag/meme/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog</link>
	<description></description>
	<lastBuildDate>Wed, 19 Oct 2011 10:40:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>That Looks Somewhat Iffy</title>
		<link>http://happygiraffe.net/blog/2008/04/13/that-looks-somewhat-iffy/</link>
		<comments>http://happygiraffe.net/blog/2008/04/13/that-looks-somewhat-iffy/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 09:32:00 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[meme]]></category>
		<category><![CDATA[sh]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/2008/04/13/that-looks-somewhat-iffy/</guid>
		<description><![CDATA[Oh, go on, then. % history 1 &#124; awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'&#124;sort -rn&#124;head 320 git 112 ll 80 cd 48 ls 24 less 20 man 19 happygiraffe.net 17 sudo 15 rm 14 xattr NB: &#8230; <a href="http://happygiraffe.net/blog/2008/04/13/that-looks-somewhat-iffy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Oh, <a href="http://www.dehora.net/journal/2008/04/10/that-looks-about-right/">go</a> <a href="http://plasmasturm.org/log/497/">on</a>, <a href="http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/">then</a>.</p>
<pre>
  % history 1 | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
  320 git
  112 ll
  80 cd
  48 ls
  24 less
  20 man
  19 happygiraffe.net
  17 sudo
  15 rm
  14 xattr
</pre>
<p><strong>NB:</strong></p>
<ol>
<li>This is at home, not work.  At work, there&#8217;s significantly more <code>git</code>, <code>ant</code>, <code>mvn</code> and <code>mate</code>.</li>
<li>I turn all my ssh known_hosts entries into command line aliases, hence &#8220;happygiraffe.net&#8221;.</li>
<li>I&#8217;ve only just found xattr, so I&#8217;ve been playing with it.</li>
<li>zsh only lists 25 history items by default.  I have to ask it to start from the beginning.</li>
<li>I obviously do too much as root.</li>
</ol>
<p>As always, I can&#8217;t resist tinkering with the shell.  I&#8217;d have written it as <code>history 1 | awk '{print $2}' | sort | uniq -c | sort -rn | head</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2008/04/13/that-looks-somewhat-iffy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

