<?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 puzzle 2</title>
	<atom:link href="http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/</link>
	<description>Dave Neary's view of the world</description>
	<lastBuildDate>Wed, 17 Mar 2010 17:32:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rudd-O</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-1010</link>
		<dc:creator>Rudd-O</dc:creator>
		<pubDate>Fri, 30 Nov 2007 18:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-1010</guid>
		<description>Marius: he&#039;s asking a riddle, not wondering why the script fails.  Scott got the answer.</description>
		<content:encoded><![CDATA[<p>Marius: he&#8217;s asking a riddle, not wondering why the script fails.  Scott got the answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius Gedminas</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-999</link>
		<dc:creator>Marius Gedminas</dc:creator>
		<pubDate>Thu, 29 Nov 2007 16:05:37 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-999</guid>
		<description>Try this instead:

  #!/bin/sh
  set -e -x

It will work on all Unixes, and it will work when you run the script with &#039;sh script.sh&#039;.</description>
		<content:encoded><![CDATA[<p>Try this instead:</p>
<p>  #!/bin/sh<br />
  set -e -x</p>
<p>It will work on all Unixes, and it will work when you run the script with &#8217;sh script.sh&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-998</link>
		<dc:creator>m</dc:creator>
		<pubDate>Thu, 29 Nov 2007 15:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-998</guid>
		<description>It runs here (Solaris) fine without error:

~ $ cat /tmp/p.sh
#!/bin/sh -e -x

true
~ $ /tmp/p.sh
~ $ 

Linux issue?</description>
		<content:encoded><![CDATA[<p>It runs here (Solaris) fine without error:</p>
<p>~ $ cat /tmp/p.sh<br />
#!/bin/sh -e -x</p>
<p>true<br />
~ $ /tmp/p.sh<br />
~ $ </p>
<p>Linux issue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Robinson</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-997</link>
		<dc:creator>Scott Robinson</dc:creator>
		<pubDate>Thu, 29 Nov 2007 15:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-997</guid>
		<description>Because all text after the initial interpreter name is passed in the first argument.

$ /bin/sh &quot;-e -x&quot;</description>
		<content:encoded><![CDATA[<p>Because all text after the initial interpreter name is passed in the first argument.</p>
<p>$ /bin/sh &#8220;-e -x&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fraggle</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-996</link>
		<dc:creator>fraggle</dc:creator>
		<pubDate>Thu, 29 Nov 2007 15:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-996</guid>
		<description>I think that #! only allows you to specify one additional parameter?</description>
		<content:encoded><![CDATA[<p>I think that #! only allows you to specify one additional parameter?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphaël Quinet</title>
		<link>http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/comment-page-1/#comment-994</link>
		<dc:creator>Raphaël Quinet</dc:creator>
		<pubDate>Thu, 29 Nov 2007 14:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/bolsh/2007/11/29/shell-puzzle-2/#comment-994</guid>
		<description>Your script could work on some Unix variants such as BSDi, older FreeBSDs or Minix.

Some hints can be found in the following table:
http://www.in-ulm.de/~mascheck/various/shebang/#results</description>
		<content:encoded><![CDATA[<p>Your script could work on some Unix variants such as BSDi, older FreeBSDs or Minix.</p>
<p>Some hints can be found in the following table:<br />
<a href="http://www.in-ulm.de/~mascheck/various/shebang/#results" rel="nofollow">http://www.in-ulm.de/~mascheck/various/shebang/#results</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
