caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] error messages to stdout?
@ 2002-01-16  5:12 Doug Bagley
  2002-01-16 18:50 ` Warp
  2002-01-16 19:49 ` Remi VANICAT
  0 siblings, 2 replies; 9+ messages in thread
From: Doug Bagley @ 2002-01-16  5:12 UTC (permalink / raw)
  To: caml-list

I've been learning how to use Ocaml for writing scripts, and I've
encountered a small problem.

By "scripts", I mean they have the canonical custom toplevel in the
interpreter line.  They also dynamically load libs.

I had updated one lib and not another that depended on it, so I got a
message like so, to stdout:

 File /usr/local/lib/ocaml/contrib/fs_lib.cma is not up-to-date with respect to
 interface Pcre

The problem was that I piped my ocaml script's output to a file that
was supposed to just contain data, and then I graphed it, so the error
message showed up in a graph, which was kind of funny but not what I
expected. I use pipes and filters a lot, so this could really put a
wrench in my plans.

Anyway, it would be like, cool, if I could get those errors going to
stderr instead, or be enlightened as to the error of my ways. Thanks.

cheers,
doug
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-01-21 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-16  5:12 [Caml-list] error messages to stdout? Doug Bagley
2002-01-16 18:50 ` Warp
2002-01-16 19:06   ` Doug Bagley
2002-01-16 19:49 ` Remi VANICAT
2002-01-16 20:09   ` Doug Bagley
2002-01-17 18:33     ` John Malecki
2002-01-17 19:15       ` Doug Bagley
2002-01-19  8:11       ` Stefano Zacchiroli
2002-01-19  8:46       ` Florian Douetteau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).