<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://jackxiang.com/post//</link>
<title><![CDATA[Linux下查询大于1G的文件夹方法，Awk的match用法]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 01 Nov 2010 02:48:07 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	先上示例Demo：<br/><textarea name="code" class="html" rows="15" cols="100">
示例Demo：
root@116.255.139.240:/data1/logs#&nbsp;&nbsp;&nbsp;&nbsp; find . -name &quot;*&quot; &#124;du -sh *&#124;awk &#039;&#123;if(match($1, &quot;G&quot;)&gt;0) print $0 &#125;&#039;
5.0G&nbsp;&nbsp;&nbsp;&nbsp;access.log
</textarea><br/><br/><br/><div class="code">du -lh&#124;awk &#039;&#123;if(match($1,&quot;G&quot;) != 0) print$0&#125;&#039;</div><br/>awk中Match的用法test：<br/>Hello<br/>Welcom<br/>What<br/>Why<br/>jackxiang<br/>取得每行的大写字母：<br/><div class="code">LANG=C awk &#039; &#123; if(match($0,/&#91;A-Z&#93;+/)) print substr($0,RSTART,RLENGTH)&#125;&#039;&nbsp;&nbsp;test</div><br/><br/><div class="code"><br/>H<br/>W<br/>W<br/>W<br/></div><br/>RSTART&nbsp;&nbsp; 被匹配函数匹配的字符串首<br/>RLENGTH&nbsp;&nbsp; 被匹配函数匹配的字符串长度<br/><br/>确实加LANG=C 就OK了...<br/><br/><div class="code">awk --version</div><br/>GNU Awk 3.1.5<br/>Copyright (C) 1989, 1991-2005 Free Software Foundation.<br/><br/>务必参考：http://www.cnblogs.com/chengmo/archive/2010/10/06/1844818.html
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] Linux下查询大于1G的文件夹方法，Awk的match用法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>