<?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: Advanced parameter substitution with bash</title>
	<atom:link href="http://www.purinchu.net/wp/2005/06/11/advanced-parameter-substitution-with-bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.purinchu.net/wp/2005/06/11/advanced-parameter-substitution-with-bash/</link>
	<description>The answer to life, the universe, and everything</description>
	<lastBuildDate>Fri, 10 Feb 2012 03:15:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: <img class="identicon" src="http://www.gravatar.com/avatar.php?gravatar_id=d9a68c4e38d6479ad15c4069b1fc7f51&#38;size=35&#38;default=http://www.purinchu.net/wp/wp-content/plugins/wp-identicon/identicon/40e54115254140a.png" alt="felipe1982 Identicon Icon" height="35" width="35" /> felipe1982</title>
		<link>http://www.purinchu.net/wp/2005/06/11/advanced-parameter-substitution-with-bash/comment-page-1/#comment-6574</link>
		<dc:creator><img class="identicon" src="http://www.gravatar.com/avatar.php?gravatar_id=d9a68c4e38d6479ad15c4069b1fc7f51&#38;size=35&#38;default=http://www.purinchu.net/wp/wp-content/plugins/wp-identicon/identicon/40e54115254140a.png" alt="felipe1982 Identicon Icon" height="35" width="35" /> felipe1982</dc:creator>
		<pubDate>Wed, 13 Apr 2011 03:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.purinchu.net/wp/2005/06/11/advanced-parameter-substitution-with-bash/#comment-6574</guid>
		<description>&gt; First off, let me demonstrate with a sample:
&gt; 
&gt; KDEDOCS=${KDEDOCS:-default}
&gt; 
&gt; The :- says that if KDEDOCS is unset (or is set to a null value),
&gt; then to use default as the result. The original variable is left
&gt; unchanged.
Unfortunately, in this example, KDEDOCS is not left unchanged.
unset KDEDOCS
echo $KDEDOCS
# there is no output
KDEDOCS=${KDEDOCS:-default}
echo $KDEDOCS
# output is &#039;default&#039;
default
unset KDEDOCS</description>
		<content:encoded><![CDATA[<p>&gt; First off, let me demonstrate with a sample:<br />
&gt;<br />
&gt; KDEDOCS=${KDEDOCS:-default}<br />
&gt;<br />
&gt; The :- says that if KDEDOCS is unset (or is set to a null value),<br />
&gt; then to use default as the result. The original variable is left<br />
&gt; unchanged.<br />
Unfortunately, in this example, KDEDOCS is not left unchanged.<br />
unset KDEDOCS<br />
echo $KDEDOCS<br />
# there is no output<br />
KDEDOCS=${KDEDOCS:-default}<br />
echo $KDEDOCS<br />
# output is &#8216;default&#8217;<br />
default<br />
unset KDEDOCS</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
