[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35318] exit octave after --eval CODE ?
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #35318] exit octave after --eval CODE ? |
Date: |
Mon, 16 Jan 2012 19:40:17 +0000 |
User-agent: |
Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 |
URL:
<http://savannah.gnu.org/bugs/?35318>
Summary: exit octave after --eval CODE ?
Project: GNU Octave
Submitted by: muhali
Submitted on: Mon 16 Jan 2012 11:40:16 AM PST
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
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) ;
It does exit when the script is invoked from stdin:
%> octave -q --eval 'x=1;' foo.m
2.72
%> octave -q --eval 'x=1;' < foo.m
%>
I suggest a phrase like 'and exit if FILE is empty' as help text.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35318>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #35318] exit octave after --eval CODE ?,
Muhali <=