English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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;   
books@havenrock.com         When a nation ignores the Way,
                            Horses bear soldiers through
                                its streets.
                            --Lao Tzu (Peter Merel, trans.)