[Gllug] Sum trouble

Tethys tet at accucard.com
Tue Apr 8 09:59:23 UTC 2003


Richard Jones writes:

>The problem you'll have with all the methods suggested below is
>that they'll overflow at 2 or 4 GiB. (I assume you have a fair-
>sized amount of data being transferred?)

Because mine uses dc to do the addition, it won't overflow.
I admit it's more clumsy than some of the others, though.

As useful scripting tools go, dc rocks...

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list