octave behaves differently without tty

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

octave behaves differently without tty

Andy Adler
I'm not sure when this change occured, but it was
somewhere between 2.1.35 and 2.1.42. This broke
my Inline-Octave. I've uploaded a patch (ver0.18),
so there's no problem, but I wanted to point it out.

On cygwin with 2.1.42 or 2.1.45 I get the following

$ octave -q
octave:1> whos -functions
octave:1> whos('-functions')
octave:2> exit

$ cat | octave -q
whos -functions
'arning: whos: unrecognized option `-functions
whos('-functions')

This seems to be the case for all functions that
normally can accept non bracketed arguments.

Is this intentional?

Andy