Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Arg parsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-10-26 (22:33)
From: Matt Gushee <mgushee@h...>
Subject: Re: [Caml-list] Problem with location.
On Tue, Oct 26, 2004 at 09:36:10PM +0000, Tiago Dionizio wrote:
> You can try using:
> #!/usr/bin/env ocamlrun
> although i don't know how reliable this is, it should work.

Not 100% portable, I believe, but it should work on any Linux system,
and probably also *BSD and Solaris. This technique is commonly used in
the Python world.

Matt Gushee                 When a nation follows the Way,
Haven Rock Press            Horses bear manure through
Englewood, Colorado, USA        its fields;         When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                            --Lao Tzu (Peter Merel, trans.)