From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id C7EF9BC0A for ; Thu, 21 Dec 2006 21:27:35 +0100 (CET) Received: from host15.ipowerweb.com (host15.ipowerweb.com [66.235.219.115]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kBLKRYPr013384 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 21 Dec 2006 21:27:35 +0100 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=apotheon.com) by host15.ipowerweb.com with esmtp (Exim 4.52) id 1GxUVl-00041A-5o for caml-list@yquem.inria.fr; Thu, 21 Dec 2006 12:27:29 -0800 Received: by apotheon.com (Postfix, from userid 1000) id 8738B333CC; Thu, 21 Dec 2006 13:27:09 -0700 (MST) Date: Thu, 21 Dec 2006 13:27:09 -0700 From: Chad Perrin To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Scripting in ocaml Message-ID: <20061221202709.GH9440@apotheon.com> References: <6dbd4d000612201941wcd4b09anc503a13889576512@mail.gmail.com> <20061221145953.GA24045@furbychan.cocan.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061221145953.GA24045@furbychan.cocan.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host15.ipowerweb.com X-AntiAbuse: Original Domain - yquem.inria.fr X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - apotheon.com X-Source: X-Source-Args: X-Source-Dir: X-Miltered: at discorde with ID 458AEE36.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 unix:01 wrote:01 caml-list:01 usable:01 output:02 external:02 fork:03 shell:04 partition:05 ccd:94 ccd:94 thu:05 dec:05 perl:09 On Thu, Dec 21, 2006 at 02:59:54PM +0000, Richard Jones wrote: > > Actually, even Perl isn't a very usable alternative for shell > scripting because of the amount of code you have to write just to fork > off a command and capture the output. That's not my experience. Running an external command from Perl is easy, and there are a number of ways to do it, to suit pretty much any purpose. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] unix virus: If you're using a unixlike OS, please forward this to 20 others and erase your system partition.