help-octave
[Top][All Lists]
Advanced

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

Re: command line octave


From: ldoolitt
Subject: Re: command line octave
Date: Fri, 26 Feb 1999 14:54:25 -0500 (EST)

Andy  -
 
> What I would like to do occasionally is use octave like a 
> command line calculator. To do this I would need to be able
> to use a command like switch like the -e from perl
> 
> ie. you can do
> > perl -e 'print 3+6, "\n"'
> 
> and I'd like to do
> > octave -e 'disp( 5+3 )'

Is anything wrong with
    echo "disp(5+3)" | octave -q
??

      - Larry Doolittle  <address@hidden>



reply via email to

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