lua-users home
lua-l archive

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


For scripting with stand-alone lua, the idiom is:

    #!/usr/bin/lua -f

However things break down when you want to use env for keeping your script independent of lua's path on a given system. It's common to invoke interpreters in this fashion:

    #!/usr/bin/env python

It doesn't seem that the lua command line interface was designed with this in mind. Could it be improved to work like other interpreters?

-John


--
OpenPGP encrypted mail welcome.