From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 9864CBCA8 for ; Tue, 5 Apr 2005 18:23:41 +0200 (CEST) Received: from first.in-berlin.de (dialin-145-254-065-220.arcor-ip.net [145.254.65.220]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j35GNe54029691 for ; Tue, 5 Apr 2005 18:23:40 +0200 Received: by first.in-berlin.de (Postfix, from userid 501) id BF376CEDD8; Tue, 5 Apr 2005 18:13:26 +0200 (CEST) Date: Tue, 5 Apr 2005 18:13:26 +0200 From: Oliver Bandel To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Re: some comments on ocaml{lex,yacc} from a novice's POV Message-ID: <20050405161326.GB605@first.in-berlin.de> References: <49464.202.164.198.46.1112355123.squirrel@www.ivorykite.com> <200504041051.07270.jon@ffconsultancy.com> <87mzsdv3gb.fsf@nagash.wacky> <200504051449.39133.jon@ffconsultancy.com> <20050405142616.GA13493@furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050405142616.GA13493@furbychan.cocan.org> User-Agent: Mutt/1.5.6i X-Miltered: at concorde with ID 4252BB8C.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; oliver:01 bandel:01 oliver:01 in-berlin:01 caml-list:01 ocaml:01 caml-list:01 ...:98 wrote:01 wrote:01 lex:01 grep:01 caml:02 archives:02 perhaps:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: On Tue, Apr 05, 2005 at 03:26:16PM +0100, Richard Jones wrote: > On Tue, Apr 05, 2005 at 02:49:38PM +0100, Jon Harrop wrote: > > For example, I recently tried to write programs to compute the number of > > unique posters per month on the two caml lists. > > Perhaps a case for a specialised language? Once you've split up the > mail into monthly archives, something like: > > < mail/caml-list.YYYY.MM formail -s formail -x 'From:' | sort -u | wc -l [...] Well, even formail is overhead. :) Why not using grep for this?! ;-) Ciao, Oliver