On Tue, Feb 28, 2012 at 10:10 PM, Lorenzo Sutton
<lorenzofsut...@gmail.com> wrote:
> On 28/02/12 15:06, lina wrote:
>>
>> Hi,
>>
>> I wonder:
>>
>> 1]
>>
>> can the output like:
>>
>> 5
>> 3
>> 1
>> 5
>> 3
>>
>> direct it into the LibreOffice directly. without copy and paste.
>>
>> 2]
>>
>> Is it possible to do a quick sum calculations for some output on terminal.
>>
>> like the sum of
>>
>> 3
>> 16
>> 3
>> 3
>> 9
>>
>>
>> Thanks for your suggestions,
>
> I think it would be a little easier if you depicted the scenario ;)

I am not quite so sure about "depicted the scenario", the problem I
faced is that

$  somescipt | awk '{print $1}'
[u'5',
1.0
2.0
2.0
2.0
1.0
2.0
2.0
1.0
1.0
1.0
2.0
3.0
1.0
1.0
2.0
2.0
1.0
2.0
2.0
2.0
2.0
2.0
1.0

I am interested the sum of those numbers. so curious are there some quick way.

Best regards,

> Lorenzo.
>>
>>
>> best regards,
>>
>>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4f4ce070.9060...@gmail.com
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAG9cJm=9nyjboc1b9sbmqhgpq8tszxbfj2varoq4+3bnznv...@mail.gmail.com

Reply via email to