<?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: Script in csh in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520253#M872345</link>
    <description>I hate csh but you need to move 'then' to the&lt;BR /&gt;same line as the if (expression) and all is well.</description>
    <pubDate>Mon, 23 Apr 2001 15:41:56 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-04-23T15:41:56Z</dc:date>
    <item>
      <title>Script in csh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520251#M872343</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm working again with csh scripts, now if have to put one if... I need compare if $VAR1 &amp;lt;= $VAR2, but I don't find some information about it. &lt;BR /&gt;It try about some differents like, for example:&lt;BR /&gt;--------------------------&lt;BR /&gt;set VAR1 = 10&lt;BR /&gt;set var2 = 20&lt;BR /&gt;if ($VAR1 &amp;lt;= $VAR2)&lt;BR /&gt;then&lt;BR /&gt;   echo $VAR1&lt;BR /&gt;else &lt;BR /&gt;   echo $VAR2&lt;BR /&gt;endif&lt;BR /&gt;---------------------------&lt;BR /&gt;but it doesn't works fine.&lt;BR /&gt;Could you help me? o tell me some link with some information about csh scripts???&lt;BR /&gt;&lt;BR /&gt;Thanks a lot of.&lt;BR /&gt;Carmen.</description>
      <pubDate>Mon, 23 Apr 2001 15:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520251#M872343</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2001-04-23T15:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Script in csh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520252#M872344</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Try this guide as a resource in addition to the man pages ('man csh'):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B2355-90046/B2355-90046.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B2355-90046/B2355-90046.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 23 Apr 2001 15:27:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520252#M872344</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-04-23T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Script in csh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520253#M872345</link>
      <description>I hate csh but you need to move 'then' to the&lt;BR /&gt;same line as the if (expression) and all is well.</description>
      <pubDate>Mon, 23 Apr 2001 15:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520253#M872345</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-04-23T15:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Script in csh</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520254#M872346</link>
      <description>Furthermore, the "set var2 = ..." should be "set VAR2 = ...".&lt;BR /&gt;&lt;BR /&gt;P.S. csh is a terrible language for writing scripts.  If possible,&lt;BR /&gt;please consider using the POSIX shell (sh) or Korn shell (ksh)&lt;BR /&gt;or almost anything else besides csh.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.perl.com/pub/language/versus/csh.html" target="_blank"&gt;http://www.perl.com/pub/language/versus/csh.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(Some of the bugs listed may have been fixed by individual&lt;BR /&gt;vendors, and tcsh seems to have fixed many of them.)</description>
      <pubDate>Mon, 23 Apr 2001 16:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-in-csh/m-p/2520254#M872346</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2001-04-23T16:22:06Z</dc:date>
    </item>
  </channel>
</rss>

