Why does the ksh shell-script abort at line #9
and does not continue like in line #5?
Both lines have errors. So I expect a returncode
unequal zero. In line #6 I can see the returncode of
the action of line #5. But line #10 will never reached
to show the returncode of line #9, because the shell-script abort.
There is no change in behavior, if you set "set +o errexit".
script: --------------------------------------------
#!/bin/ksh
echo started #3
typeset -ir inum1=5 #4
unset inum1 #5
echo $? #6
echo continued #7
typeset -i inum2=5 #8
inum2=xyz #9
echo $? #10
echo ended #11