lua-users home
lua-l archive

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



On 17 February 2013 06:59, Chris Babcock <cbabcock@asciiking.com> wrote:
Just put your Lua scripts into cgi-bin and begin them with a she-bang:

#!/usr/local/bin/lua
--- Some Lua code here

Use "which lua" to find out where Lua actually lives in your system.

Chris

I've always just used:
#!/usr/bin/env lua

I recall it was touted as better due to abstraction of platform specifics...