octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #51708] multiple --eval options results in cor


From: Rik
Subject: [Octave-bug-tracker] [bug #51708] multiple --eval options results in corrupted parsing of command line
Date: Wed, 9 Aug 2017 18:59:46 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Follow-up Comment #7, bug #51708 (project octave):

Kind of clunky, but if we are only doing a few tests then we could use
system() in an m-file.  I just tried it and works.


octave:1> [a,b] = system ('./run-octave -f --eval "pi"')
a = 0
b = ans =  3.1416

octave:2> [a,b] = system ('./run-octave -f --eval "pi" --eval "+ 1"')
error: 'pi1' undefined near line 1 column 1
a =  1
b = 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51708>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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