|
In that part of the manual, script would probably be better than chunk. But note that skipping the first line if it begins with # is done by luaL_loadfilex (and so luaL_loadfile, luaL_dofile, and require); it is not a feature restricted to the standalone interpreter.