help-octave
[Top][All Lists]
Advanced

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

Re: retaining interpreter when running script from command line


From: Andy Adler
Subject: Re: retaining interpreter when running script from command line
Date: Thu, 3 Mar 2005 15:57:24 -0500 (EST)

On Thu, 3 Mar 2005, John W. Eaton wrote:
> It would not be hard to add an option like
>
>   octave --eval "arbitrary-code"
>
> but if we do this, do we also need --funcall?

I would really like a '--eval' option (or just -e). This
would allow me to replace the many scripts where I use

   FOUR=`echo 2+2 | octave -qf`

We may not need --funcall, but I propose we leave it there,
since it may be useful, and isn't in the way or anything.

--
Andy




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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