|
From: | Eriberto |
Subject: | Re: [shell-script] somar numero |
Date: | Wed, 12 Jul 2006 18:39:55 -0300 |
User-agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
Uma solução dentre as milhões possíveis: cat valores.txt | xargs | sed 's/ / + /g' | bc []s Eriberto - www.eriberto.pro.br Eduardo daSilva Ramos escreveu:
preciso calcular numeros contidos num arquivo ex:
[Prev in Thread] | Current Thread | [Next in Thread] |