<?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[shell if比较大小范围内，while语法示例，shell中如何一行写while。]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Mon, 27 Dec 2010 11:12:38 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	shell中如何一行写while：<br/><textarea name="code" class="php" rows="15" cols="100">
while true; do echo ok;sleep 1;done
</textarea><br/>From:http://blog.sina.com.cn/s/blog_ac843e330101c55g.html<br/><br/>if elif else demo：<br/><div class="code">#example<br/>if &#91; $1 -gt 90 &#93;;then <br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Good, $1&quot; <br/>elif &#91; $1 -gt 70 &#93;;then <br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;OK, $1&quot; <br/>else<br/>&nbsp;&nbsp;&nbsp;&nbsp;echo &quot;Bad, $1&quot; <br/>fi </div><br/><br/>wile demo：<br/><div class="code">#example<br/>i=1<br/>sum=0<br/>while test $i -le 100<br/>do<br/>&nbsp;&nbsp;&nbsp;&nbsp;let sum=$sum+$i<br/>&nbsp;&nbsp;&nbsp;&nbsp;let i=$i+1<br/>done<br/>echo &quot;1+2+3...+100=&quot;$sum</div><br/>函数示例：<br/><div class="code">#example<br/>function add()<br/>&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let $3=$1+$2<br/>&#125;<br/>add 1 2 ret<br/>echo $ret</div>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] shell if比较大小范围内，while语法示例，shell中如何一行写while。]]></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>