lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

It does seem quite a mess. And how many people actually use lua for general
scripting ?

Compared to embedded type tasks?

-----Original Message-----
From: John Belmonte []
Sent: Thursday, August 02, 2001 5:18 PM
To: Multiple recipients of list
Subject: Re: /usr/bin/env and the Lua bytecode format

> > Not the end of the world, but right now I don't see that
> > we'd gain much except making the code a little bit
> > more complicated. Plus are you really suggesting that
> > people edit binary files to add the #! line?
> Yes.  It's easy.  See the Makefile in the original post on this
> topic.  It contained a line like this to translate a byte code file
> into a #! commented byte code file.

By doing this, systems that are limited to detecting binary file types by
just looking for a magic number at some offset in the file (such as binfmt)
can no longer be used.  This is breaking one thing to fix another, on top of
the added complexity.