Tue 21 Dec 2010 08:49:25 PM UTC, comment #2:
This bug report was previously closed, but got reopened because of the savannah hack in November. I'm closing it and adding the discussion for this bug below
Follow-up Comment #2, bug #31593 (project octave):
I think maybe the reporter wanted something similar to the '-e' argument for
perl. Octave could take arguments from command line, make the calculations and
then exit without ever starting an octave shell. For example, in perl one can
do:
$ perl -e 'print "Hello world!n";'
hello world!
I think the requested feature was something like that.
Follow-up Comment #3, bug #31593 (project octave):
octave -q --eval 'prinf("Hello Worldn")'
D.
Follow-up Comment #4, bug #31593 (project octave):
That's handy, I didn't knew something like this was already implemented.
Together with an alias can be very useful.
Also, I flagged the reporter comment as spam by accident and can't find a way
to unflag it. Sorry
Update of bug #31593 (project octave):
Status: None => Invalid
Open/Closed: Open => Closed
_____________________________________________________
Follow-up Comment #6:
I'm closing this report because if the --eval option is what the OP was
looking for then there isn't a problem to fix. And if it was a request to
have a single program understand Octave and sh commands, then I don't think
that is feasible.
|