<?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 脚本来curl某些链接]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Sun, 04 Jul 2010 02:36:14 +0000</pubDate> 
<guid>http://jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	<div class="code"><br/>#!/bin/sh<br/>v1=$1<br/>v2=$2<br/>func_until_0()&#123;<br/>&nbsp;&nbsp;while &#91; &quot;$v2&quot; != &quot;$v1&quot; &#93; ; do<br/>&nbsp;&nbsp; echo &#039;curl http://10.20.129.20/chart/get?channel=&#039;$v2<br/>&nbsp;&nbsp; curl http://10.20.129.20/chart/get?channel=$v2 -t 10 &amp;<br/>&nbsp;&nbsp; v2=`expr $v2 - 1`<br/>&nbsp;&nbsp;done<br/>&#125;<br/> <br/>if &#91; -n &quot;$v2&quot; &#93;; then<br/>&nbsp;&nbsp;echo &#039;2&#039;<br/>else<br/>&nbsp;&nbsp;v1=0<br/>&nbsp;&nbsp;v2=$1<br/>fi<br/> <br/>if &#91; &quot;$1&quot; = &quot;k&quot; &#93;; then<br/>&nbsp;&nbsp;kill -9 $(ps -ef&#124; grep curl &#124; grep -v &#039;grep&#039;&#124; awk -F&#039; &#039; &#039;&#123;print $2&#125;&#039;)<br/>else<br/>&nbsp;&nbsp;echo &#039;run&#039;<br/>&nbsp;&nbsp;func_until_0<br/>fi<br/></div>
]]>
</description>
</item><item>
<link>http://jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] 编写一段shell 脚本来curl某些链接]]></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>