<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Scripts and If in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797582#M99780</link>
    <description>Ian,&lt;BR /&gt;&lt;BR /&gt;IF loop ends with fi&lt;BR /&gt;&lt;BR /&gt;if [ $# -eq 0 ] &lt;BR /&gt;then&lt;BR /&gt;echo "No file name entered "&lt;BR /&gt;exit&lt;BR /&gt;else&lt;BR /&gt;fi&lt;BR /&gt;</description>
    <pubDate>Wed, 31 May 2006 09:02:23 GMT</pubDate>
    <dc:creator>Luk Vandenbussche</dc:creator>
    <dc:date>2006-05-31T09:02:23Z</dc:date>
    <item>
      <title>Scripts and If</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797581#M99779</link>
      <description>Why does the following script fragment not work?&lt;BR /&gt;&lt;BR /&gt;if [ $# -eq 0 ] &lt;BR /&gt;then&lt;BR /&gt;    echo "No file name entered "&lt;BR /&gt;    exit&lt;BR /&gt;else&lt;BR /&gt;    echo "ok"&lt;BR /&gt;endif&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If I run this, I get the error&lt;BR /&gt;Syntax error: `if' is not matched. every time.&lt;BR /&gt;&lt;BR /&gt;Is it just me being exceedingly thick??&lt;BR /&gt;&lt;BR /&gt;Ian Warner&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 09:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797581#M99779</guid>
      <dc:creator>Ian Warner</dc:creator>
      <dc:date>2006-05-31T09:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts and If</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797582#M99780</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;IF loop ends with fi&lt;BR /&gt;&lt;BR /&gt;if [ $# -eq 0 ] &lt;BR /&gt;then&lt;BR /&gt;echo "No file name entered "&lt;BR /&gt;exit&lt;BR /&gt;else&lt;BR /&gt;fi&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 09:02:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797582#M99780</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2006-05-31T09:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts and If</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797583#M99781</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;it depends which shell you're running.&lt;BR /&gt;See also:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1026132" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1026132&lt;/A&gt;&lt;BR /&gt;and for the options:&lt;BR /&gt;&lt;A href="http://www.context-switch.com/reference/kshref/ch4.html" target="_blank"&gt;http://www.context-switch.com/reference/kshref/ch4.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 09:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797583#M99781</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2006-05-31T09:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scripts and If</title>
      <link>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797584#M99782</link>
      <description>Thank you,&lt;BR /&gt;&lt;BR /&gt; I will put it down to me being thick.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Ian&lt;BR /&gt;</description>
      <pubDate>Wed, 31 May 2006 09:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/scripts-and-if/m-p/3797584#M99782</guid>
      <dc:creator>Ian Warner</dc:creator>
      <dc:date>2006-05-31T09:08:51Z</dc:date>
    </item>
  </channel>
</rss>

