Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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 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