Hi Fabian,
On Tue, Dec 05, 2006 at 11:34:45 +0100, Fabian H??nsel wrote:
sum=1000000000 for number in `cat file` do let sum=$sum-$number done
Oder so: sum=1000000000 for number in `cat file` do sum=$[sum-number] done
Achtung: Der Zahlenbereich geht "nur" von -2^63 .. 2^63-1 (bash 3.0)
Gruss, Chris