<?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>Comments on: 29.08.2007 Yummy-Yummy Again</title>
	<atom:link href="http://blogs.gnome.org/timj/2007/08/29/29082007-yummy-yummy-again/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/timj/2007/08/29/29082007-yummy-yummy-again/</link>
	<description>Technical ramblings by Tim Janik</description>
	<lastBuildDate>Sat, 11 Apr 2009 19:30:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Olivier Mengué</title>
		<link>http://blogs.gnome.org/timj/2007/08/29/29082007-yummy-yummy-again/comment-page-1/#comment-72</link>
		<dc:creator>Olivier Mengué</dc:creator>
		<pubDate>Thu, 30 Aug 2007 21:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/timj/2007/08/29/29082007-yummy-yummy-again/#comment-72</guid>
		<description>Here are some tips to improve your bash coding style:
- use &quot;[[ ... ]]&quot; instead of &quot;test ...&quot;, &quot;[[ ... &amp;&amp; ... ]]&quot; instead of &quot;test ... &amp;&amp; test ...&quot;
- drop the match() function as &#039;match $pattern &quot;$searchtext&quot;&#039; is the same as &#039;[[ &quot;x$searchtext&quot; = x$pattern ]]&#039;
- do not abuse usage of &#039;&amp;&amp;&#039; and &#039;&#124;&#124;&#039;: an if/then/fi is longer, but often more readable
- use tput(1) instead of hard coding escape sequences
- discover ${0##*/}
- use here-docs : cat </description>
		<content:encoded><![CDATA[<p>Here are some tips to improve your bash coding style:<br />
- use &#8220;[[ ... ]]&#8221; instead of &#8220;test &#8230;&#8221;, &#8220;[[ ... &amp;&amp; ... ]]&#8221; instead of &#8220;test &#8230; &amp;&amp; test &#8230;&#8221;<br />
- drop the match() function as &#8216;match $pattern &#8220;$searchtext&#8221;&#8216; is the same as &#8216;[[ "x$searchtext" = x$pattern ]]&#8217;<br />
- do not abuse usage of &#8216;&amp;&amp;&#8217; and &#8216;||&#8217;: an if/then/fi is longer, but often more readable<br />
- use tput(1) instead of hard coding escape sequences<br />
- discover ${0##*/}<br />
- use here-docs : cat</p>
]]></content:encoded>
	</item>
</channel>
</rss>
