From: "Mikkel Fahnøe Jørgensen" <mikkel@dvide.com>
To: "Andre Nathan" <andre@digirati.com.br>
Cc: "Zheng Li" <zheng_li@users.sourceforge.net>, caml-list@inria.fr
Subject: Re: [Caml-list] [ANN] camlish: a simple module for shell scripting in OCaml
Date: Mon, 27 Oct 2008 14:43:18 +0100 [thread overview]
Message-ID: <caee5ad80810270643v65324581l977e274323cf4cdf@mail.gmail.com> (raw)
In-Reply-To: <1225113356.15582.0.camel@andre.mz.digirati.com.br>
2008/10/27 Andre Nathan <andre@digirati.com.br>:
> On Mon, 2008-10-27 at 14:11 +0100, Mikkel Fahnøe Jørgensen wrote:
>> I'm currently adding a simple file globber.
>
> FWIW,
>
> http://github.com/andrenth/ocaml-glob/
>
This is nice.
I wanted a simple ocaml based globber that can be embedded directly in
the shell_utils.ml source so there isn't any cross platform and
installation issues. But my globber only takes a single directory for
now and is probably not fast.
Users could install your globber and use it together with shell_utils.ml.
I need to think about the 'cp' interface a bit more.
Currently it takes a string. Should there be a variant taking a glob,
or an expanded list, or should cp take a single string of multiple
files that could originate from a glob?
Or should cp always take a glob pattern and have a way to plug in
other glob functions?
Mikkel
next prev parent reply other threads:[~2008-10-27 13:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 3:30 Zheng Li
2008-10-27 8:51 ` Sylvain Le Gall
2008-10-27 10:09 ` Zheng Li
2008-10-27 13:11 ` [Caml-list] " Mikkel Fahnøe Jørgensen
2008-10-27 13:15 ` Andre Nathan
2008-10-27 13:18 ` Sylvain Le Gall
2008-10-27 13:21 ` [Caml-list] " Andre Nathan
2008-10-27 13:33 ` Sylvain Le Gall
2008-10-27 13:43 ` Mikkel Fahnøe Jørgensen [this message]
2008-10-27 14:10 ` Zheng Li
2008-10-27 14:02 ` [Caml-list] " Mikkel Fahnøe Jørgensen
2008-10-27 14:35 ` Zheng Li
[not found] ` <caee5ad80810270745h352a35bye70f9cc045ad441a@mail.gmail.com>
2008-10-27 15:45 ` Zheng Li
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=caee5ad80810270643v65324581l977e274323cf4cdf@mail.gmail.com \
--to=mikkel@dvide.com \
--cc=andre@digirati.com.br \
--cc=caml-list@inria.fr \
--cc=zheng_li@users.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox