Imported from ../lua-5.0.3.tar.gz.
[lua.git] / etc / doall.lua
blobfb0fad702f8cd652d9d1cd33896382df7f137cbb
1 -- emulate the command line behaviour of Lua 4.0
2 -- usage: lua doall.lua f1.lua f2.lua f3.lua ...
4 for i=1,table.getn(arg) do
5 dofile(arg[i])
6 end