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 TAA13663; Thu, 20 May 2004 19:36:03 +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 TAA13892 for ; Thu, 20 May 2004 19:36:01 +0200 (MET DST) Received: from plover.csun.edu (plover.csun.edu [130.166.1.24]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4KHa0EV009326 for ; Thu, 20 May 2004 19:36:00 +0200 Received: from puffin.csun.edu (puffin.csun.edu [130.166.1.21]) by plover.csun.edu (MOS 3.4.6-GR) with ESMTP id BDV51074; Thu, 20 May 2004 10:35:53 -0700 (PDT) Received: from [130.166.10.91] (s010n091.csun.edu [130.166.10.91]) by puffin.csun.edu (MOS 3.4.4-GR) with ESMTP id BTT22806 (AUTH eric); Thu, 20 May 2004 10:35:52 -0700 (PDT) In-Reply-To: <20040520170527.GA11115@grand> References: <20040520170527.GA11115@grand> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <23A365E0-AA84-11D8-A7CF-000A95A1E69A@csun.edu> Content-Transfer-Encoding: 7bit Cc: caml-list@inria.fr From: Eric Stokes Subject: Re: [Caml-list] [ANN] OCaml fileutils v0.2.1 Date: Thu, 20 May 2004 10:35:51 -0700 To: "Sylvain LE GALL" X-Mailer: Apple Mail (2.613) X-Miltered: at nez-perce with ID 40ACEC80.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 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 beginner's:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sounds great! On May 20, 2004, at 10:06 AM, 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