<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[linuxの飘扬]]></title> 
<link>https://www.linuxfly.org/index.php</link> 
<description><![CDATA[Power by www.linuxfly.org]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[linuxの飘扬]]></copyright>
<item>
<link>https://www.linuxfly.org/post/263/</link>
<title><![CDATA[[原]Bash计算和比较浮点数]]></title> 
<author>linuxing &lt;emos#linuxfly.org&gt;</author>
<category><![CDATA[Bash]]></category>
<pubDate>Thu, 27 Nov 2008 03:39:37 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/263/</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;Bash中的变量没有数据类型的定义，这样，在处理字符串和数值时会带来麻烦。例如，使用-eq比较数值，==比较字符串等。另外，Bash中常用的let、expr仅支持整数运算，不支持浮点数计算。要实现浮点数计算，可以使用bc或awk。<br/>............<br/><br/>Tags - <a href="https://www.linuxfly.org/tags/bash/" rel="tag">bash</a>
]]>
</description>
</item><item>
<link>https://www.linuxfly.org/post/263/#blogcomment2183</link>
<title><![CDATA[[评论] [原]Bash计算和比较浮点数]]></title> 
<author>higkoo &lt;higkoo@tom.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 05 Jan 2009 14:24:49 +0000</pubDate> 
<guid>https://www.linuxfly.org/post/263/#blogcomment2183</guid> 
<description>
<![CDATA[ 
	是的，我之前就只想到用AWK。<br/><br/> 当然，没有想到还有这么多方法。<br/><br/><br/>我比较过几款博客：WordPress/Bo-blog/serendipity/PjHome，属Bo-blog性能最佳！
]]>
</description>
</item>
</channel>
</rss>