Date: Wed, 20 Sep 1995 14:14:13 -0400 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: Wolfram Schneider <wosch@cs.tu-berlin.de> Cc: current@freebsd.org Subject: from(1) Message-ID: <9509201814.AA04895@halloran-eldar.lcs.mit.edu> In-Reply-To: <199509201737.TAA03936@caramba.cs.tu-berlin.de> References: <199509201737.TAA03936@caramba.cs.tu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 20 Sep 1995 19:37:08 +0200, Wolfram Schneider <wosch@cs.tu-berlin.de> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509201814.AA04895>