From owner-freebsd-current Wed Sep 20 11:15:33 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA22299 for current-outgoing; Wed, 20 Sep 1995 11:15:33 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id LAA22294 for ; Wed, 20 Sep 1995 11:15:30 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA04895; Wed, 20 Sep 1995 14:14:13 -0400 Date: Wed, 20 Sep 1995 14:14:13 -0400 From: "Garrett A. Wollman" Message-Id: <9509201814.AA04895@halloran-eldar.lcs.mit.edu> To: Wolfram Schneider Cc: current@freebsd.org Subject: from(1) In-Reply-To: <199509201737.TAA03936@caramba.cs.tu-berlin.de> References: <199509201737.TAA03936@caramba.cs.tu-berlin.de> Sender: owner-current@freebsd.org Precedence: bulk < said: > - Option '-c' print a count of matching lines Use wc(1). > - Option '-t' don't change access time Or, alternatively: - Option '-t' change modification time > count mails in archive: > $ zcat hack.gz | from -c -f - > 47 $ zcat hack.gz | from -f - | wc -l 47 Or, for that matter: $ zcat hack.gz | egrep '^From ' | wc -l And `Content-Length' is a really idiotic AT&T-ism designed by people who didn't understand mail; I would not bloat our programs by attempting to support it. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant