<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/9f060e61f00e207b4edf2064adf0c957"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-12-10T16:05:28"
  subject="[Caml-list] .ocamlinit equivalent from the command line?"
  prev="2002/12/2740972965db19b54afe531bdddfb74d"
  next="2002/12/6e4f1518eb7ad7eee939898ec70eabc8"
  prev-thread="2002/12/f566cd61147cbd280839f2be813cce5a"
  next-thread="2002/12/6e4f1518eb7ad7eee939898ec70eabc8"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] .ocamlinit equivalent from the command line?">
<msg 
  url="2002/12/9f060e61f00e207b4edf2064adf0c957"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2002-12-10T16:05:28"
  subject="[Caml-list] .ocamlinit equivalent from the command line?">
</msg>
</thread>

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

</contents>

</message>

