From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29002 invoked from network); 13 Jun 1998 16:16:27 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 13 Jun 1998 16:16:27 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id MAA14208; Sat, 13 Jun 1998 12:09:29 -0400 (EDT) Resent-Date: Sat, 13 Jun 1998 12:09:17 -0400 (EDT) Message-ID: <19980613181013.A4302@math.fu-berlin.de> Date: Sat, 13 Jun 1998 18:10:13 +0200 From: Sven Guckes To: zsh-users@math.gatech.edu Subject: lssum - summing up sizes of files Mail-Followup-To: zsh-users@math.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.92.8i X-Mailer-Info: http://www.math.fu-berlin.de/~guckes/mutt/ Resent-Message-ID: <"2cZNh2.0.RT3.fGgWr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1602 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Does anyone have a nice and small function to sum up the sizes of files? I know it can be done with awk, sed, and perl - but I just want to use zsh and its arithmetic. Is it possible? And yet fast? I think I must have asked this before, but - I can't find info on it. I just hope this isn't a standard example in the zsh manuals - yet. but I think it should be. ;-) Sven