vi math problem

From: E. Richard Glazier <erglazier_at_hotmail.com>
Date: Wed, 29 May 2002 06:00:49 +0000

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
Received on Wed May 29 2002 - 06:01:08 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT