File: doall.lua

package info (click to toggle)
lua50 5.0.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,120 kB
  • ctags: 1,941
  • sloc: ansic: 11,792; sh: 1,062; makefile: 299
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