<?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: Shell scripting for fun and profit</title>
	<atom:link href="http://aralbalkan.com/1330/feed" rel="self" type="application/rss+xml" />
	<link>http://aralbalkan.com/1330</link>
	<description>Changing the world through technology and oratory.</description>
	<pubDate>Sat, 10 Jan 2009 00:15:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/1330/comment-page-1#comment-141720</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Thu, 01 May 2008 07:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1330#comment-141720</guid>
		<description>And one more from me: I noticed that the expect script was timing out on the SFTP transfer so I added:

&lt;pre&gt;set timeout -1&lt;/pre&gt; 

And that fixed it. It makes expect wait indefinitely for actions to end without timing out.</description>
		<content:encoded><![CDATA[<p>And one more from me: I noticed that the expect script was timing out on the SFTP transfer so I added:</p>
<pre>set timeout -1</pre>
<p>And that fixed it. It makes expect wait indefinitely for actions to end without timing out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aral</title>
		<link>http://aralbalkan.com/1330/comment-page-1#comment-141719</link>
		<dc:creator>Aral</dc:creator>
		<pubDate>Thu, 01 May 2008 07:41:39 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1330#comment-141719</guid>
		<description>Hi Dominic, Kristof, thanks for your useful suggestions. I'll update the script :)</description>
		<content:encoded><![CDATA[<p>Hi Dominic, Kristof, thanks for your useful suggestions. I&#8217;ll update the script <img src='http://aralbalkan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kristof Neirynck</title>
		<link>http://aralbalkan.com/1330/comment-page-1#comment-140628</link>
		<dc:creator>Kristof Neirynck</dc:creator>
		<pubDate>Mon, 28 Apr 2008 07:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1330#comment-140628</guid>
		<description>Sed has an inline function so there is no need for that superfluous mv.
sed -e s/$1/$2/g -i .bak templates/base.html

If you remove the .bak part it won't even make a backup file.
I don't recommend that though.</description>
		<content:encoded><![CDATA[<p>Sed has an inline function so there is no need for that superfluous mv.<br />
sed -e s/$1/$2/g -i .bak templates/base.html</p>
<p>If you remove the .bak part it won&#8217;t even make a backup file.<br />
I don&#8217;t recommend that though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Mitchell</title>
		<link>http://aralbalkan.com/1330/comment-page-1#comment-140624</link>
		<dc:creator>Dominic Mitchell</dc:creator>
		<pubDate>Mon, 28 Apr 2008 06:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://aralbalkan.com/1330#comment-140624</guid>
		<description>Oooh, I love a good shell script.  Just one minor point though.  You may wish to switch from &lt;code&gt;if [ … ]&lt;/code&gt; to &lt;code&gt;if [[ … ]]&lt;/code&gt;.  It's a bash-ism, but it prevents certain irritating quoting issues which can occur in the above code.

Also, I'm &lt;em&gt;really&lt;/em&gt; glad to see someone still using expect.  That saved my life when trying to configure Cisco routers a few years ago.  I still have the O'Reilly book, but alas little chance to use it.</description>
		<content:encoded><![CDATA[<p>Oooh, I love a good shell script.  Just one minor point though.  You may wish to switch from <code>if [ … ]</code> to <code>if [[ … ]]</code>.  It&#8217;s a bash-ism, but it prevents certain irritating quoting issues which can occur in the above code.</p>
<p>Also, I&#8217;m <em>really</em> glad to see someone still using expect.  That saved my life when trying to configure Cisco routers a few years ago.  I still have the O&#8217;Reilly book, but alas little chance to use it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
