Alessandro Baretta a écrit : > Hendrik Tews wrote: > >> Alessandro Baretta writes: >> >> Short of writing my own Pr_stdout module, is there any way to achieve >> the result of interactively getting camlp4 to preprocess some code and >> print it back to stdout? >> cat - | camlp4 pa_o.cmo pr_r.cmo -impl - > > > Cool command line! How did you discover the '-' option? As far as I can > see it is not documented. > this is traditional, "-" replaces a filename by stdin or stdout depending upon the context ... so it is always worth a try !! > Alex > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs