octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave's exit status


From: Julien Bect
Subject: Octave's exit status
Date: Fri, 9 Dec 2016 09:47:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

Hi all,

I observe the following with Octave 4.2.0:

$ octave --eval '1+?'
parse error:

  syntax error

>>> 1+?
      ^

error: unhandled execution exception -- eval failed

$ echo $?
0

Is this a feature or a bug ?

I would have expected a non-zero exit status in such a case...

@++
Julien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]