<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#330000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">okay<br>
      <br>
      On 26/02/2013 17:55, Sylvestre Ledru wrote:<br>
    </div>
    <blockquote cite="mid:512CE8FB.3070906@scilab-enterprises.com"
      type="cite">
      <pre wrap="">On 26/02/2013 17:45, Adrien Vogt-Schilb wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">hi

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

scilab myfile.sce
</pre>
      </blockquote>
      <pre wrap="">It is this way for legacy reasons. We could change that for Scilab 6.


</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>