lua-users home
lua-l archive

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


> The lack of LUA_INIT does bother me a bit. I find myself starting each
> script with:
> #!/usr/bin/env lua
> local init = os.getenv("LUA_INIT"); if init then
> 	if init:sub(1,1) == '@' then dofile(init:sub(2)) else loadstring(init)() end
> end

I'm sorry, you've lost me here: what lack of LUA_INIT?