Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Filename.quote - again
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-20 (11:10)
From: Alain Frisch <frisch@c...>
Subject: Re: [Caml-list] command arguments sticking together
On Fri, 19 Apr 2002, Brock wrote:

> This is getting close to what I need, and indeed solves the
> multiple-arguments-stuck-into-a-single-argument problem. What I'm trying to do
> is take the program mhtml (which is written in caml) and allow it to be used as
> a script interpreter for MacroHTML. The body of such a script could be
> something as simple as:
> #!/usr/bin/mhtml -I /path/to/include/files
> <h1>Hello!</h1>
> And the idea is that the body of the script should be passed to mhtml through
> stdin, just like with the other interpreters.

No, this is not the way Unix works: the file is not dumped to the
interpreter stdin, but the script filename is added to the interpreter
command line.

-- Alain

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: