<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:html="http://www.w3.org/1999/html" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Ross Burton</title><link>http://www.burtonini.com/blog</link><description>A potted account of Ross' life</description><language>en</language><ttl>60</ttl><dc:creator>Ross Burton</dc:creator><admin:generatorAgent rdf:resource="http://pyblosxom.sourceforge.net/"/><admin:errorReportsTo rdf:resource="mailto:ross@burtonini.com"/><item><title>Tip Of The Week</title><guid isPermaLink="false">computers/tip-of-the-week-2007-08-17-11-20</guid><link>http://www.burtonini.com/blog/computers/tip-of-the-week-2007-08-17-11-20</link><description>This fragment of shell doesn't do what you'd expect at a quick glance: if [ $? -ne 0 ]; then ...</description><content:encoded><![CDATA[    <p>
      This fragment of shell doesn't do what you'd expect at a quick glance:
    </p>
    <pre>if [ $? -ne 0 ]; then
    exit $?
fi</pre>
    <p>
      The act of checking <tt>$?</tt> causes <tt>$?</tt> to be set to the result
      of the test, so this executes <tt>exit 0</tt> if <tt>$?</tt> is non-zero. 
    </p>
    <p>
      <small>NP: <cite>Cosmos</cite>, Murcof</small>
    </p>
]]></content:encoded><category domain="http://www.burtonini.com">/computers</category><dc:date>2007-08-17T10:20:00Z</dc:date></item></channel></rss>