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 NAA04461; Sat, 20 Apr 2002 13:10:02 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA04454 for ; Sat, 20 Apr 2002 13:10:01 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3KB9xL13971 for ; Sat, 20 Apr 2002 13:09:59 +0200 (MET DST) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g3KB9xa76101 ; Sat, 20 Apr 2002 13:09:59 +0200 (CEST) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.9.2/jb-1.1) id NAA29637 ; Sat, 20 Apr 2002 13:09:58 +0200 (MET DST) Date: Sat, 20 Apr 2002 13:09:58 +0200 (MET DST) From: Alain Frisch To: Brock cc: Christopher Quinn , Subject: Re: [Caml-list] command arguments sticking together In-Reply-To: <20020419193947.A1565@deathonastick.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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 >

Hello!

> > 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