<?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: That Looks Completely Wrong</title>
	<atom:link href="http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/feed/" rel="self" type="application/rss+xml" />
	<link>http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/</link>
	<description>Technology and Geek Stuff by Eric Burke</description>
	<lastBuildDate>Thu, 04 Nov 2010 22:37:00 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: SneakyWho_am_i</title>
		<link>http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/comment-page-1/#comment-17775</link>
		<dc:creator>SneakyWho_am_i</dc:creator>
		<pubDate>Mon, 14 Jul 2008 10:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/#comment-17775</guid>
		<description>@Adam, whoa!
That&#039;s insane!

$ history&#124;awk &#039;{print $2}&#039;&#124;sort&#124;uniq -c&#124;sort -rn&#124;head
    213 sudo
     49 ls
     48 ssh
     36 nslookup
     36 cat
     21 telnet
     19 yum
     13 locate
     13 exit
     13 cd

way too much sudo.</description>
		<content:encoded><![CDATA[<p>@Adam, whoa!<br />
That&#8217;s insane!</p>
<p>$ history|awk &#8216;{print $2}&#8217;|sort|uniq -c|sort -rn|head<br />
    213 sudo<br />
     49 ls<br />
     48 ssh<br />
     36 nslookup<br />
     36 cat<br />
     21 telnet<br />
     19 yum<br />
     13 locate<br />
     13 exit<br />
     13 cd</p>
<p>way too much sudo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/comment-page-1/#comment-9203</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 15 Apr 2008 03:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/#comment-9203</guid>
		<description>@echo off
::This is hawk.cmd (hawk == history+awk stuff)
setlocal EnableDelayedExpansion
mkdir hawk_temp &amp;&amp; pushd hawk_temp
doskey /history &gt; __history.txt &amp;&amp; for /f &quot;usebackq&quot; %%a in (__history.txt) do (echo.&gt;&gt; _%%a)
del __history.txt &amp;&amp; set count=0 &amp;&amp; for /f &quot;usebackq&quot; %%e in (`dir /b/o-s`) do (
  set /a count = !count! + 1 &amp;&amp; if !count! leq 10 (
    set /a n = %%~ze / 2 &amp;&amp; set file=%%e &amp;&amp; set c=!file:~1!
    if !n! geq 100 (echo !n! !c!) else (if !n! geq 10 (echo  !n! !c!) else (echo   !n! !c!))))
popd &amp;&amp; rmdir /s/q hawk_temp &gt; NUL 2&gt;&amp;1</description>
		<content:encoded><![CDATA[<p>@echo off<br />
::This is hawk.cmd (hawk == history+awk stuff)<br />
setlocal EnableDelayedExpansion<br />
mkdir hawk_temp &amp;&amp; pushd hawk_temp<br />
doskey /history &gt; __history.txt &amp;&amp; for /f &#8220;usebackq&#8221; %%a in (__history.txt) do (echo.&gt;&gt; _%%a)<br />
del __history.txt &amp;&amp; set count=0 &amp;&amp; for /f &#8220;usebackq&#8221; %%e in (`dir /b/o-s`) do (<br />
  set /a count = !count! + 1 &amp;&amp; if !count! leq 10 (<br />
    set /a n = %%~ze / 2 &amp;&amp; set file=%%e &amp;&amp; set c=!file:~1!<br />
    if !n! geq 100 (echo !n! !c!) else (if !n! geq 10 (echo  !n! !c!) else (echo   !n! !c!))))<br />
popd &amp;&amp; rmdir /s/q hawk_temp &gt; NUL 2&gt;&amp;1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/comment-page-1/#comment-9152</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 14 Apr 2008 15:10:58 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/#comment-9152</guid>
		<description>start with &quot;doskey /history&quot;, doing the analysis is left as an exercise for the reader</description>
		<content:encoded><![CDATA[<p>start with &#8220;doskey /history&#8221;, doing the analysis is left as an exercise for the reader</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Franzone</title>
		<link>http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/comment-page-1/#comment-9103</link>
		<dc:creator>Jonathan Franzone</dc:creator>
		<pubDate>Sun, 13 Apr 2008 12:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://stuffthathappens.com/blog/2008/04/12/that-looks-completely-wrong/#comment-9103</guid>
		<description>It works fine on my Windoze system... of course I&#039;m running cygwin as well. :)</description>
		<content:encoded><![CDATA[<p>It works fine on my Windoze system&#8230; of course I&#8217;m running cygwin as well. <img src='http://stuffthathappens.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.240 seconds -->

