shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] somar numero


From: Eriberto
Subject: Re: [shell-script] somar numero
Date: Wed, 12 Jul 2006 18:46:44 -0300
User-agent: Thunderbird 1.5.0.4 (Windows/20060516)

Mais uma:

a=0; for i in `cat valores.txt`; do a=$[a + i]; done; echo $a

[]s

Eriberto - www.eriberto.pro.br

Eduardo daSilva Ramos escreveu:
preciso calcular numeros contidos num arquivo ex:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]