[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
exit octave after --eval CODE ?
From: |
Muhali |
Subject: |
exit octave after --eval CODE ? |
Date: |
Mon, 16 Jan 2012 10:01:10 -0800 (PST) |
The help on command line options has
`--eval CODE'
Evaluate CODE and exit when done unless `--persist' is also
specified.
but octave does not exit when invoked with a script file, such as
------
# foo.m
disp(e) ;
------
%> octave -q --eval 'x=1;' foo.m
%> 2.72
%>
I suggest a phrase like 'and exit if FILE is empty' as help text.
M.
--
View this message in context:
http://octave.1599824.n4.nabble.com/exit-octave-after-eval-CODE-tp4300364p4300364.html
Sent from the Octave - General mailing list archive at Nabble.com.
- exit octave after --eval CODE ?,
Muhali <=