vi math problem

From: E. Richard Glazier (erglazier@hotmail.com)
Date: Wed May 29 2002 - 02:00:49 EDT


Hi mgrs.

Here's a situation that should have a seemingly simple answer:

I have a file with nothing but lines of numbers in it (i.e. each line in the
file is a whole number). How can I sum those numbers? I tried to somehow
pipe the output to bc, but couldn't quite get it.

Thx.

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:42 EDT