Version française
Home     About     Download     Resources     Contact us    
Browse thread
[ANN] camlish: a simple module for shell scripting in OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: [ANN] camlish: a simple module for shell scripting in OCaml
Hello,

On 27-10-2008, Zheng Li <zheng_li@users.sourceforge.net> 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