From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA17219; Tue, 29 Jun 2004 22:27:54 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id WAA17207 for ; Tue, 29 Jun 2004 22:27:53 +0200 (MET DST) Received: from caine.easynet.fr (smarthost1.mail.easynet.fr [212.180.1.68]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i5TKRqSH023908 for ; Tue, 29 Jun 2004 22:27:52 +0200 Received: from asi-62.asi256ip.easynet.fr ([212.180.39.62] helo=gros) by caine.easynet.fr with esmtp (Exim 4.34) id 1BfPCp-0007NM-UM; Tue, 29 Jun 2004 22:27:52 +0200 Received: from grand ([192.168.0.14] helo=grand.gallu.homelinux.org) by gros with smtp (Exim 3.36 #1 (Debian)) id 1BfPCp-0002x7-00; Tue, 29 Jun 2004 22:27:51 +0200 Received: by grand.gallu.homelinux.org (sSMTP sendmail emulation); Tue, 29 Jun 2004 22:27:51 +0200 From: "Sylvain LE GALL" Date: Tue, 29 Jun 2004 22:27:51 +0200 To: caml-list@inria.fr Subject: [Caml-list] [ANN] ocaml-fileutils v 0.3.0 Message-ID: <20040629202751.GA9567@grand> Mail-Followup-To: caml-list@inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6+20040523i X-Miltered: at concorde with ID 40E1D0C8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; gall:01 le-gall:01 abstraction:01 readlink:01 accu:01 recursion:01 symlink:01 symlink:01 mkdir:01 le-gall:01 gall:01 implements:01 ocaml:01 command:98 command:98 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hello all, I am pleased to announce a new release of ocaml-fileutils. This library implements some new function : - cmp : compare file - du : give the disk usage of some files - stat : abstraction of Unix.stat - readlink : return a path with link solved to real location This new version comes in particular with a rewritten "find" command which take an "exec" and "accu" parameter allowing to customize the operation done during the directory traversal. ( You can have the same behavior of the previous find command by this way : find test current_dir (fun lst fln -> fln :: lst) [] ). This new command embed a recursion prevention system, allowing not to traverse the same directory twice ( ie, it handles symlink like : ln -s . recurse ). Most of the command also provide a ~follow parameter which dictate the way ocaml-fileutils should follow symlink ( by default Skip, but can also be Follow, AskFollow, SkipInform... ) General : Ocaml fileutils is aimed to be a platform independent library to perform operation on file like : - mv - cp - rm - mkdir - touch - which... Comes also with a module to manipulate abstract filename : - classification - make_relative : made a filename relative to another - make_absolute :... Link : http://www.carva.org/sylvain.le-gall/ocaml-fileutils.html Kind regard Sylvain Le Gall ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners