[Omake] "#!" processing.
Jason Hickey
jyh at cs.caltech.edu
Fri Apr 27 17:49:56 PDT 2007
On Apr 27, 2007, at 5:06 PM, Aleksey Nogin wrote:
> The standard Unix interpretation of the "#!" allows passing at most
> one argument. If a file "f" starts with
>
> #!foo bar baz
>
> then "./f" is equivalent to "foo 'bar baz' ./f"
Interesting, Linux behaves like you say, but OSX does it the "right"
way. But you have convinced me that the "set" command is better.
So, the plan is:
- Add a "set" command that is like OMakeFlags, but is also active
at compile time.
- Remove OMakeArgv; always process options in "strict" mode.
- (Suggested, but hard to do) Allow unknown -W<...> flags.
- Remove the #! from the lexer, etc.
I'll do it for 0.9.8.x
Jason
--
Jason Hickey http://www.cs.caltech.edu/~jyh
Caltech Computer Science Tel: 626-395-6568 FAX: 626-792-4257
More information about the OMake-Devel
mailing list