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=1.9 required=5.0 tests=AWL,DNS_FROM_SECURITYSAGE, SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 3E7FFBB84 for ; Mon, 27 Oct 2008 09:51:29 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlYDAJcdBUnAXQIngWdsb2JhbACTfwEBFiKsE4NP X-IronPort-AV: E=Sophos;i="4.33,491,1220220000"; d="scan'208";a="18549009" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 27 Oct 2008 09:51:28 +0100 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id m9R8pGpn026310 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Mon, 27 Oct 2008 09:51:28 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvEAABEeBUlQW+UCe2dsb2JhbACTfwEBFiIErBWDTw X-IronPort-AV: E=Sophos;i="4.33,491,1220220000"; d="scan'208";a="19236099" Received: from main.gmane.org (HELO ciao.gmane.org) ([80.91.229.2]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 27 Oct 2008 09:51:28 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KuNos-0003LR-Nn for caml-list@inria.fr; Mon, 27 Oct 2008 08:51:26 +0000 Received: from ks300734.kimsufi.com ([91.121.65.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2008 08:51:26 +0000 Received: from sylvain by ks300734.kimsufi.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Oct 2008 08:51:26 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sylvain Le Gall Subject: Re: [ANN] camlish: a simple module for shell scripting in OCaml Date: Mon, 27 Oct 2008 08:51:18 +0000 (UTC) Message-ID: References: <490535D8.8020500@users.sourceforge.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ks300734.kimsufi.com User-Agent: slrn/pre0.9.9-102 (Linux) Sender: news X-Miltered: at concorde with ID 49058104.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; le-gall:01 ocaml:01 ocaml:01 bug:01 cvs:01 le-gall:01 git:98 sourceforge:01 wrote:01 unix:01 functions:01 functions:01 grep:01 api:02 external:03 Hello, On 27-10-2008, Zheng Li wrote: > Hi, > > I'd like to announce the availability of a small module for shell > scripting: camlish. > > The project URL is: http://zheng.li/projects/ocaml/camlish, where you > can get all the code and docs. A source repo is going to provide later. > If you want to setup a source code repository, you should consider http://forge.ocamlcore.org where you can have bug report, mailing list and source repository (git, darcs, hg, svn and cvs). > > * It's also tempting to implement simple versions of common unix > tools such as "ls" and "grep" as OCaml functions to achieve better > composability. We opt not for the core module and not for now. > You should take a look at http://le-gall.net/sylvain+violaine/documentation/ocaml-fileutils/html/api/FileUtil.StrUtil.html Where you already have a basic implementation for ls, find, touch, rm, cp, du, cmp... These are pure OCaml functions, that you can call directly from OCaml (not external call). Regards, Sylvain Le Gall