okay

On 26/02/2013 17:55, Sylvestre Ledru wrote:
On 26/02/2013 17:45, Adrien Vogt-Schilb wrote:
hi

is there any reasons why I can't type from a console:

scilab myfile.sce
It is this way for legacy reasons. We could change that for Scilab 6.


and expect scilab to execute myfile.sce and redirect output to the
standard output?

I can almost to that with
scilab-cli -f
and
scilab-cli -e

but i still have to exit manually at the end, or construct an alias ofr
scilab-cli -e exec('#1');quit
or something
You can do:
echo "disp(%pi)"|scilab-cli

(note that the multiline is broken in 5.4.0 but works in 5.3.3 and will
work in 5.4.1)

Sylvestre

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to