[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua and env
- From: John Belmonte <jvb@...>
- Date: Tue, 11 Jun 2002 16:32:39 +0900
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.