summaryrefslogtreecommitdiff
path: root/etc/doall.lua
blob: fb0fad702f8cd652d9d1cd33896382df7f137cbb (plain)
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