From: Alain Frisch <alain@frisch.fr>
To: Andrew Warshaver <awarshaver@janestcapital.com>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] ocamlbuild single quotes causing trouble
Date: Fri, 22 Jun 2007 19:10:13 +0200 [thread overview]
Message-ID: <467C0275.2050106@frisch.fr> (raw)
In-Reply-To: <467BE251.2090404@janestcapital.com>
Andrew Warshaver wrote:
> it works just fine. I also discovered that if I don't use the ~ abbrev.
> then everything is happy (although this took me a long time to
> discover!).
The shell is responsible to expand ~ before calling the program. If you
quote it, it won't be expanded; this is normal. When you put ~ on
ocamlbuild's command line, as in "-I,~/multi-oc/lib" it is not expanded
either (~ is interpreted only at the beginning of a word on the command
line).
> Is this a problem with ocamlbuild, or something deeper, or
> perhaps even expected behaviour?
Maybe ocamlbuild should support natively options like "-I xxx" (without
quotes), so that xxx will be processed by the shell.
-- Alain
next prev parent reply other threads:[~2007-06-22 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-22 14:53 Andrew Warshaver
2007-06-22 17:10 ` Alain Frisch [this message]
2007-06-22 17:46 ` [Caml-list] " Andrew Warshaver
2007-06-22 20:38 ` Philippe Wang
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=467C0275.2050106@frisch.fr \
--to=alain@frisch.fr \
--cc=awarshaver@janestcapital.com \
--cc=caml-list@yquem.inria.fr \
/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