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 QAA00872; Fri, 21 May 2004 16:10:46 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA00979 for ; Fri, 21 May 2004 16:10:45 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from gatekeeper.elmer.external.excelhustler.com (gatekeeper.excelhustler.com [68.99.114.105]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4LEAiEV021201 for ; Fri, 21 May 2004 16:10:44 +0200 Received: from chatterbox.elmer.internal.excelhustler.com (unknown [192.168.0.12]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "chatterbox.elmer.internal.excelhustler.com", Issuer "excelhustler.com" (not verified)) by gatekeeper.elmer.external.excelhustler.com (Postfix) with ESMTP id 6AE6BE014B; Fri, 21 May 2004 09:10:43 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 2F5EB5C068; Fri, 21 May 2004 09:10:43 -0500 (CDT) Received: from chatterbox.elmer.internal.excelhustler.com ([192.168.0.12]) by localhost (chatterbox [192.168.0.12]) (amavisd-new, port 10025) with ESMTP id 31556-09; Fri, 21 May 2004 09:10:39 -0500 (CDT) Received: from wile.internal.excelhustler.com (wile.internal.excelhustler.com [192.168.1.34]) by chatterbox.elmer.internal.excelhustler.com (Postfix) with ESMTP id 2CADF5C00B; Fri, 21 May 2004 09:10:39 -0500 (CDT) Received: by wile.internal.excelhustler.com (Postfix, from userid 1000) id 28C193E056; Fri, 21 May 2004 09:10:39 -0500 (CDT) Date: Fri, 21 May 2004 09:10:39 -0500 From: John Goerzen To: caml-list@inria.fr Subject: Re: [Caml-list] [ANN] OCaml fileutils v0.2.1 Message-ID: <20040521141039.GA3793@excelhustler.com> References: <20040520170527.GA11115@grand> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040520170527.GA11115@grand> User-Agent: Mutt/1.5.5.1+cvs20040105i X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at excelhustler.com X-Miltered: at nez-perce with ID 40AE0DE4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 2004:99 gall:01 predicate:01 mkdir:01 stub:01 intersting:01 32,:01 cygwin:01 le-gall:01 le-gall:01 gall:01 bug:01 faq:01 faq:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk PERFECT! This will be a perfect compliment to Cash. (Debianers: is anyone packaging this new tool?) On Thu, May 20, 2004 at 07:06:26PM +0200, Sylvain LE GALL wrote: > Hello, > > I have been working for some times on a collection of utils to > manipulate files following some UNIX convention. I provide for now those > function : > - cp : copy > - mv : move/rename > - ls : list ( pretty dummy ) > - find : find a set of file according to a predicate ( is directory, is > readable... ) > - rm : delete file/directory ( can prompt, can delete children ) > - mkdir : create a directory ( and optionnaly it's parent ) > - test : do some test regarding a file ( is directory... ) > - touch : update the mtime of a file > - which : find an exec in a path > > This module is FileUtil > > All those function are based for now on the Unix module or the core > ocaml ( mostly Sys ). There is no C stub at all. > > I provide by the same way a library for manipulating filename. It allows > to compute some intersting things : > - make_relative : make a path relative to a root path > - make_absolute : make an absolute path out of a relative path and a > root > - compare : hierachical + lexicographic order > - reduce : remove any a/../b, a/./b ... > > This module is FilePath > > FilePath is abstract and doesn't need to have a real filesystem*. > FileUtil rely on the existence of a filesystem. > > Theorically it should be platform independent ( FilePath comes with four > parser/lexer for each platform supported by ocaml : MacOS, Win32, > Cygwin, Unix ). This should also imply that FileUtil is platform > independent ( but it needs to be tested ). > > You can find the source and documentation here : > http://www.carva.org/sylvain.le-gall/ocaml-fileutils.html > http://sylvain.le-gall.net/ocaml-fileutils.html > > ( webpages are in french, but documentation is in english -- sorry ) > > Don't hesitate to send any feedback/recommendation/bugs. > > 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 ------------------- 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