From owner-freebsd-questions Mon May 22 3:31:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hq1.tyfon.net (hq1.tyfon.net [213.212.29.17]) by hub.freebsd.org (Postfix) with ESMTP id EA56537BE6C for ; Mon, 22 May 2000 03:31:28 -0700 (PDT) (envelope-from dl@tyfon.net) Received: from enigmatic (dan [192.168.1.20]) by hq1.tyfon.net (Postfix) with SMTP id D7E921C5C9 for ; Mon, 22 May 2000 12:31:26 +0200 (CEST) From: "Dan Larsson" To: Subject: calculate sum in sh Date: Mon, 22 May 2000 12:33:09 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How to I calculate the sum of all values, the values are listed one value per line in a textfile using shell commands (no perl available)? Regards ------------ Dan Larsson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message