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 RAA11400; Tue, 10 Dec 2002 17:05:28 +0100 (MET) 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 RAA11040 for ; Tue, 10 Dec 2002 17:05:27 +0100 (MET) Received: from mallard.mail.pas.earthlink.net (mallard.mail.pas.earthlink.net [207.217.120.48]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id gBAG5QX01575 for ; Tue, 10 Dec 2002 17:05:26 +0100 (MET) Received: from user-0cev2t6.cable.mindspring.com ([24.239.139.166] helo=[192.168.0.3]) by mallard.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18Lmso-0002OE-00 for caml-list@inria.fr; Tue, 10 Dec 2002 08:05:19 -0800 Subject: [Caml-list] .ocamlinit equivalent from the command line? From: "Yaron M. Minsky" To: Caml List Content-Type: text/plain Organization: Cornell University Message-Id: <1039536303.1924.8.camel@dragonfly.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 10 Dec 2002 11:05:17 -0500 Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there any equivalent to .ocamlinit from the command line? I'd like to have different shell scripts which invoke ocaml instances with different modules loaded and opened. But I can't figure out any effective way to do the module-opening from the invoking script. (I suppose I could create a .ocamlinit file on the fly, but that seems too awful.) It seems like a simple solution would be to have a command-line option to specify some initial commands to be executed (or a file containing such commands). y ------------------- 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