title: interactive lua: command line arguments
body: <p>I wish to do </p>
  
  <pre><code> lua prog.lua arg1 arg2
  </code></pre>
  
  <p>from the command line</p>
  
  <p>Inside prog.lua, I want to say, for instance</p>
  
  <pre><code>print (arg1, arg2, '\n')
  </code></pre>
  
  <p>Lua doesn't seem to have argv[1] etc and the methods I've seen for dealing with command line arguments seem to be immature and / or cumbersome. Am I missing something? </p>