[Scilab-users] Scilab is not a pipe

Adrien Vogt-Schilb vogt at centre-cired.fr
Tue Feb 26 21:03:48 CET 2013


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
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130226/d21a762c/attachment.htm>


More information about the users mailing list