<?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>《命令行下简单的检索》的评论</title>
	<atom:link href="http://blog.happysa.org/tips/easy_index_for_tips.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.happysa.org/tips/easy_index_for_tips.html</link>
	<description>做快乐的系统管理员</description>
	<lastBuildDate>Sat, 21 Jan 2012 08:41:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>作者：Tour 2012</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-1680</link>
		<dc:creator>Tour 2012</dc:creator>
		<pubDate>Sun, 20 Nov 2011 14:17:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-1680</guid>
		<description>&lt;strong&gt;trackback...&lt;/strong&gt;

trackback...
&lt;div class=&quot;vote&quot; id=&quot;vote-1680&quot;&gt;&lt;span id=&quot;acv_stat_1680&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-1680&quot; href=&quot;javascript:acv_vote(1680,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-1680&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-1680&quot;  href=&quot;javascript:acv_vote(1680,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-1680&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><strong>trackback&#8230;</strong></p>
<p>trackback&#8230;</p>
<div class="vote" id="vote-1680"><span id="acv_stat_1680"></span><a class="acvclick acv4" id="vote4-1680" href="javascript:acv_vote(1680,1);">支持</a>(<span id="cos_support-1680">0</span>)<a class="acvclick acva"  id="votea-1680"  href="javascript:acv_vote(1680,0);">反对</a>	(<span id="cos_unsupport-1680">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：Konzerte 2012</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-1679</link>
		<dc:creator>Konzerte 2012</dc:creator>
		<pubDate>Sun, 20 Nov 2011 14:12:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-1679</guid>
		<description>&lt;strong&gt;trackback...&lt;/strong&gt;

Kindle Ebook Reader...
&lt;div class=&quot;vote&quot; id=&quot;vote-1679&quot;&gt;&lt;span id=&quot;acv_stat_1679&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-1679&quot; href=&quot;javascript:acv_vote(1679,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-1679&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-1679&quot;  href=&quot;javascript:acv_vote(1679,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-1679&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><strong>trackback&#8230;</strong></p>
<p>Kindle Ebook Reader&#8230;</p>
<div class="vote" id="vote-1679"><span id="acv_stat_1679"></span><a class="acvclick acv4" id="vote4-1679" href="javascript:acv_vote(1679,1);">支持</a>(<span id="cos_support-1679">0</span>)<a class="acvclick acva"  id="votea-1679"  href="javascript:acv_vote(1679,0);">反对</a>	(<span id="cos_unsupport-1679">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：wuzhez</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-803</link>
		<dc:creator>wuzhez</dc:creator>
		<pubDate>Thu, 21 Jan 2010 02:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-803</guid>
		<description>&lt;a href=&quot;#comment-797&quot; rel=&quot;nofollow&quot;&gt;@monger &lt;/a&gt; 
谢谢指点，以后多交流。
&lt;div class=&quot;vote&quot; id=&quot;vote-803&quot;&gt;&lt;span id=&quot;acv_stat_803&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-803&quot; href=&quot;javascript:acv_vote(803,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-803&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-803&quot;  href=&quot;javascript:acv_vote(803,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-803&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-797" rel="nofollow">@monger </a><br />
谢谢指点，以后多交流。</p>
<div class="vote" id="vote-803"><span id="acv_stat_803"></span><a class="acvclick acv4" id="vote4-803" href="javascript:acv_vote(803,1);">支持</a>(<span id="cos_support-803">0</span>)<a class="acvclick acva"  id="votea-803"  href="javascript:acv_vote(803,0);">反对</a>	(<span id="cos_unsupport-803">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：monger</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-799</link>
		<dc:creator>monger</dc:creator>
		<pubDate>Wed, 20 Jan 2010 16:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-799</guid>
		<description>把读文件符给吃掉了。。。
&lt;div class=&quot;vote&quot; id=&quot;vote-799&quot;&gt;&lt;span id=&quot;acv_stat_799&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-799&quot; href=&quot;javascript:acv_vote(799,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-799&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-799&quot;  href=&quot;javascript:acv_vote(799,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-799&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>把读文件符给吃掉了。。。</p>
<div class="vote" id="vote-799"><span id="acv_stat_799"></span><a class="acvclick acv4" id="vote4-799" href="javascript:acv_vote(799,1);">支持</a>(<span id="cos_support-799">0</span>)<a class="acvclick acva"  id="votea-799"  href="javascript:acv_vote(799,0);">反对</a>	(<span id="cos_unsupport-799">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：monger</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-798</link>
		<dc:creator>monger</dc:creator>
		<pubDate>Wed, 20 Jan 2010 16:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-798</guid>
		<description>\;
&lt;div class=&quot;vote&quot; id=&quot;vote-798&quot;&gt;&lt;span id=&quot;acv_stat_798&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-798&quot; href=&quot;javascript:acv_vote(798,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-798&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-798&quot;  href=&quot;javascript:acv_vote(798,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-798&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>\;</p>
<div class="vote" id="vote-798"><span id="acv_stat_798"></span><a class="acvclick acv4" id="vote4-798" href="javascript:acv_vote(798,1);">支持</a>(<span id="cos_support-798">0</span>)<a class="acvclick acva"  id="votea-798"  href="javascript:acv_vote(798,0);">反对</a>	(<span id="cos_unsupport-798">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：monger</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-797</link>
		<dc:creator>monger</dc:creator>
		<pubDate>Wed, 20 Jan 2010 16:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-797</guid>
		<description>open $fp, &#039;&lt; tmp1&#039;;
 %t = map { chomp; split } ;

 open $fp, &#039;&lt; tmp2;
 print $_, &quot;\n&quot; foreach map { chomp; $t{$_} } ;
&lt;div class=&quot;vote&quot; id=&quot;vote-797&quot;&gt;&lt;span id=&quot;acv_stat_797&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-797&quot; href=&quot;javascript:acv_vote(797,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-797&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-797&quot;  href=&quot;javascript:acv_vote(797,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-797&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>open $fp, &#8216;&lt; tmp1&#039;;<br />
 %t = map { chomp; split } ;</p>
<p> open $fp, &#8216;&lt; tmp2;<br />
 print $_, &quot;\n&quot; foreach map { chomp; $t{$_} } ;</p>
<div class="vote" id="vote-797"><span id="acv_stat_797"></span><a class="acvclick acv4" id="vote4-797" href="javascript:acv_vote(797,1);">支持</a>(<span id="cos_support-797">0</span>)<a class="acvclick acva"  id="votea-797"  href="javascript:acv_vote(797,0);">反对</a>	(<span id="cos_unsupport-797">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：珍爱网</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-409</link>
		<dc:creator>珍爱网</dc:creator>
		<pubDate>Wed, 10 Jun 2009 09:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-409</guid>
		<description>有点奇怪啊
&lt;div class=&quot;vote&quot; id=&quot;vote-409&quot;&gt;&lt;span id=&quot;acv_stat_409&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-409&quot; href=&quot;javascript:acv_vote(409,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-409&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-409&quot;  href=&quot;javascript:acv_vote(409,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-409&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>有点奇怪啊</p>
<div class="vote" id="vote-409"><span id="acv_stat_409"></span><a class="acvclick acv4" id="vote4-409" href="javascript:acv_vote(409,1);">支持</a>(<span id="cos_support-409">0</span>)<a class="acvclick acva"  id="votea-409"  href="javascript:acv_vote(409,0);">反对</a>	(<span id="cos_unsupport-409">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：wuzhez</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-408</link>
		<dc:creator>wuzhez</dc:creator>
		<pubDate>Sun, 31 May 2009 03:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-408</guid>
		<description>&lt;a href=&quot;#comment-407&quot; rel=&quot;nofollow&quot;&gt;@zesheng&lt;/a&gt; 
试了下果然是很慢，10万行数据，在perl里用双重循环用了12s，hash用了0.2s，命令行下循环用了4m多钟。perl的效率比shell要高很多
&lt;div class=&quot;vote&quot; id=&quot;vote-408&quot;&gt;&lt;span id=&quot;acv_stat_408&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-408&quot; href=&quot;javascript:acv_vote(408,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-408&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-408&quot;  href=&quot;javascript:acv_vote(408,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-408&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-407" rel="nofollow">@zesheng</a><br />
试了下果然是很慢，10万行数据，在perl里用双重循环用了12s，hash用了0.2s，命令行下循环用了4m多钟。perl的效率比shell要高很多</p>
<div class="vote" id="vote-408"><span id="acv_stat_408"></span><a class="acvclick acv4" id="vote4-408" href="javascript:acv_vote(408,1);">支持</a>(<span id="cos_support-408">0</span>)<a class="acvclick acva"  id="votea-408"  href="javascript:acv_vote(408,0);">反对</a>	(<span id="cos_unsupport-408">0</span>)</div>
]]></content:encoded>
	</item>
	<item>
		<title>作者：zesheng</title>
		<link>http://blog.happysa.org/tips/easy_index_for_tips.html/comment-page-1#comment-407</link>
		<dc:creator>zesheng</dc:creator>
		<pubDate>Sat, 30 May 2009 13:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.happysa.org/tips/%e5%91%bd%e4%bb%a4%e8%a1%8c%e4%b8%8b%e7%ae%80%e5%8d%95%e7%9a%84%e6%a3%80%e7%b4%a2.html#comment-407</guid>
		<description>命令行下那个还是老问题：那可是两层循环呀，文件大了估计要等很久。。。
&lt;div class=&quot;vote&quot; id=&quot;vote-407&quot;&gt;&lt;span id=&quot;acv_stat_407&quot;&gt;&lt;/span&gt;&lt;a class=&quot;acvclick acv4&quot; id=&quot;vote4-407&quot; href=&quot;javascript:acv_vote(407,1);&quot;&gt;支持&lt;/a&gt;(&lt;span id=&quot;cos_support-407&quot;&gt;0&lt;/span&gt;)&lt;a  class=&quot;acvclick acva&quot;  id=&quot;votea-407&quot;  href=&quot;javascript:acv_vote(407,0);&quot;&gt;反对&lt;/a&gt;	(&lt;span id=&quot;cos_unsupport-407&quot;&gt;0&lt;/span&gt;)&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>命令行下那个还是老问题：那可是两层循环呀，文件大了估计要等很久。。。</p>
<div class="vote" id="vote-407"><span id="acv_stat_407"></span><a class="acvclick acv4" id="vote4-407" href="javascript:acv_vote(407,1);">支持</a>(<span id="cos_support-407">0</span>)<a class="acvclick acva"  id="votea-407"  href="javascript:acv_vote(407,0);">反对</a>	(<span id="cos_unsupport-407">0</span>)</div>
]]></content:encoded>
	</item>
</channel>
</rss>

