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 RAA11210; Tue, 10 Dec 2002 17:05:10 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA10959 for ; Tue, 10 Dec 2002 17:05:07 +0100 (MET) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBAG56104777 for ; Tue, 10 Dec 2002 17:05:06 +0100 (MET) Received: from user-0cev2t6.cable.mindspring.com ([24.239.139.166] helo=[192.168.0.3]) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18Lmsa-0000yR-00 for caml-list@inria.fr; Tue, 10 Dec 2002 08:05:05 -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: <1039535397.1505.6.camel@dragonfly.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 10 Dec 2002 11:05:03 -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