File: doall.lua

package info (click to toggle)
lua50 5.0.2-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,036 kB
  • ctags: 1,941
  • sloc: ansic: 11,883; makefile: 325; sh: 18
file content (6 lines) | stat: -rw-r--r-- 146 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
-- emulate the command line behaviour of Lua 4.0
-- usage: lua doall.lua f1.lua f2.lua f3.lua ...

for i=1,table.getn(arg) do
 dofile(arg[i])
end