[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: /usr/bin/env and the Lua bytecode format
- From: "John Belmonte" <jvb@...>
- Date: Fri, 3 Aug 2001 01:18:28 +0900
> > 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.