Re: [merd-devel] Scriptometer
Status: Pre-Alpha
Brought to you by:
pixel_
|
From: Yoann P. <Yoa...@ir...> - 2002-09-23 12:49:21
|
Pixel <pi...@ma...> writes:
> Yoann Padioleau <Yoa...@ir...> writes:
>
> > why you put ocaml as not shebang aware ????
> >
> > you can a file test.ml with:
> > #!/usr/bin/env ocaml
> > print_string "cava\n";
>
> ok, funny that calling /usr/bin/ocaml directly fails whereas
> "/usr/bin/ocamlrun ocaml" works...
> (the kernel doesn't like chaining scripts ;p)
indeed funny.
in fact even #!/usr/bin/ocaml works under eshell.
just use a good shell man :)
>
> > in fact most program can be make shebang aware quite easily; even C
> >
> > just do a wrapper over gcc that compile and run,
>
> not that easily. You need a safe temporary space for storage, which is
> not always easy to achieve.
>
--
Yoann Padioleau, INSA de Rennes, France,
Opinions expressed here are only mine. Je n'écris qu'à titre personnel.
**____ Get Free. Be Smart. Simply use Linux and Free Software. ____**
|