aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2012-02-17 09:00:00 +0000
committerDavid Seifert <soap@gentoo.org>2012-02-17 09:00:00 +0000
commit008fb1e761e20336d42a19132292183e00909181 (patch)
treea28e0246f0b0404a5c066b8f2a888db45e30fc44 /test/echo.lua
downloadlua-patches-008fb1e761e20336d42a19132292183e00909181.tar.gz
lua-patches-008fb1e761e20336d42a19132292183e00909181.tar.bz2
lua-patches-008fb1e761e20336d42a19132292183e00909181.zip
Add upstream 5.1.5
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'test/echo.lua')
-rw-r--r--test/echo.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/echo.lua b/test/echo.lua
new file mode 100644
index 0000000..4313439
--- /dev/null
+++ b/test/echo.lua
@@ -0,0 +1,5 @@
+-- echo command line arguments
+
+for i=0,table.getn(arg) do
+ print(i,arg[i])
+end