<?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>评论：迥异的Linux Shell Script</title>
	<atom:link href="http://www.orczhou.com/index.php/2009/09/linux-shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/</link>
	<description>一个故事@MySQL DBA</description>
	<lastBuildDate>Tue, 07 Sep 2010 05:59:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>来自：gary</title>
		<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/comment-page-1/#comment-1136</link>
		<dc:creator>gary</dc:creator>
		<pubDate>Sun, 01 Aug 2010 12:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://orczhou.com/?p=774#comment-1136</guid>
		<description>我一段时间不写shell,就忘记了许多语法了. 所以现在一般拿旧的脚本来改.
至于perl,熟悉的人写得随心所欲,不熟悉的人看得头大.
2.关于双引号,和单引号,是针对逃逸字符来说有个区别的.单引号忽略所有特殊字符,双引号三种特殊字符不被忽略:$,\,`
3.奇怪的算术运算里的$((和))将算术运算括起来,是bash shell才有的,好像.我也觉得怪异.</description>
		<content:encoded><![CDATA[<p>我一段时间不写shell,就忘记了许多语法了. 所以现在一般拿旧的脚本来改.<br />
至于perl,熟悉的人写得随心所欲,不熟悉的人看得头大.<br />
2.关于双引号,和单引号,是针对逃逸字符来说有个区别的.单引号忽略所有特殊字符,双引号三种特殊字符不被忽略:$,\,`<br />
3.奇怪的算术运算里的$((和))将算术运算括起来,是bash shell才有的,好像.我也觉得怪异.</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：admin</title>
		<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/comment-page-1/#comment-327</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 08 Dec 2009 07:08:45 +0000</pubDate>
		<guid isPermaLink="false">http://orczhou.com/?p=774#comment-327</guid>
		<description>算术运算还可以写为：expr $i + 1   仍然要注意加号两边的空格</description>
		<content:encoded><![CDATA[<p>算术运算还可以写为：expr $i + 1   仍然要注意加号两边的空格</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：P.Linux</title>
		<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/comment-page-1/#comment-246</link>
		<dc:creator>P.Linux</dc:creator>
		<pubDate>Thu, 22 Oct 2009 03:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://orczhou.com/?p=774#comment-246</guid>
		<description>还是Perl好，Shell脚本看还好写要命啊……</description>
		<content:encoded><![CDATA[<p>还是Perl好，Shell脚本看还好写要命啊……</p>
]]></content:encoded>
	</item>
	<item>
		<title>来自：orczhou</title>
		<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/comment-page-1/#comment-191</link>
		<dc:creator>orczhou</dc:creator>
		<pubDate>Mon, 21 Sep 2009 03:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://orczhou.com/?p=774#comment-191</guid>
		<description>补充一个：
变量在初始化、赋值的时候，不需$；在使用该变量的时候则需要加$符号
&lt;blockquote&gt;
myvar=4
echo $myvar
#比较迥异，还有什么语言变量在初始化和使用的时候会不一样的？
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>补充一个：<br />
变量在初始化、赋值的时候，不需$；在使用该变量的时候则需要加$符号</p>
<blockquote><p>
myvar=4<br />
echo $myvar<br />
#比较迥异，还有什么语言变量在初始化和使用的时候会不一样的？
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>来自：su27</title>
		<link>http://www.orczhou.com/index.php/2009/09/linux-shell-script/comment-page-1/#comment-187</link>
		<dc:creator>su27</dc:creator>
		<pubDate>Thu, 17 Sep 2009 09:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://orczhou.com/?p=774#comment-187</guid>
		<description>双引号那个，倒是在php里面也有吧。复杂的任务别用bash了，用perl或者Python吧。</description>
		<content:encoded><![CDATA[<p>双引号那个，倒是在php里面也有吧。复杂的任务别用bash了，用perl或者Python吧。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
