<?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: let under kornshell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453739#M770223</link>
    <description>I still don't understand why it should send a SIGERR. One minus one or two minus two is clearly zero without error, and no one makes any mistake. &lt;BR /&gt;Unix is very bizarre, no wonder why Windows NT with its Visual Basic is progressing.</description>
    <pubDate>Mon, 16 Oct 2000 17:24:33 GMT</pubDate>
    <dc:creator>Harris Chandra</dc:creator>
    <dc:date>2000-10-16T17:24:33Z</dc:date>
    <item>
      <title>let under kornshell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453737#M770221</link>
      <description>Does anybody know why the command line herebelow sends a SIGERR under HPUX/9000 kornshell ?&lt;BR /&gt;&lt;BR /&gt;let k=1-1&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;--------&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;trap 'echo SIGERR detected $?' ERR&lt;BR /&gt;let k=2-1&lt;BR /&gt;let k=1-1&lt;BR /&gt;let k=1-2</description>
      <pubDate>Sun, 15 Oct 2000 06:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453737#M770221</guid>
      <dc:creator>Harris Chandra</dc:creator>
      <dc:date>2000-10-15T06:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: let under kornshell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453738#M770222</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Because (extract from linux ksh manpage):&lt;BR /&gt;&lt;BR /&gt; let [expression ...]&lt;BR /&gt;              Each expression is evaluated, see Arithmetic Expressions above.  If all expressions are successfully evaluated, the exit status is 0 (1) if the last expression evaluated to  non-zero  (zero). &lt;BR /&gt;&lt;BR /&gt;So, exit status is 1 when result is 0, and since 1-1 equals 0 ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Rik.</description>
      <pubDate>Sun, 15 Oct 2000 17:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453738#M770222</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2000-10-15T17:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: let under kornshell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453739#M770223</link>
      <description>I still don't understand why it should send a SIGERR. One minus one or two minus two is clearly zero without error, and no one makes any mistake. &lt;BR /&gt;Unix is very bizarre, no wonder why Windows NT with its Visual Basic is progressing.</description>
      <pubDate>Mon, 16 Oct 2000 17:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/let-under-kornshell/m-p/2453739#M770223</guid>
      <dc:creator>Harris Chandra</dc:creator>
      <dc:date>2000-10-16T17:24:33Z</dc:date>
    </item>
  </channel>
</rss>

