summaryrefslogtreecommitdiff
path: root/magic/Magdir/lua
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/lua')
-rw-r--r--magic/Magdir/lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/magic/Magdir/lua b/magic/Magdir/lua
new file mode 100644
index 0000000..4c578be
--- /dev/null
+++ b/magic/Magdir/lua
@@ -0,0 +1,22 @@
+
+#------------------------------------------------------------------------------
+# $File: lua,v 1.6 2013/01/09 16:23:17 christos Exp $
+# lua: file(1) magic for Lua scripting language
+# URL: http://www.lua.org/
+# From: Reuben Thomas <rrt@sc3d.org>, Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
+
+# Lua scripts
+0 search/1/w #!\ /usr/bin/lua Lua script text executable
+!:mime text/x-lua
+0 search/1/w #!\ /usr/local/bin/lua Lua script text executable
+!:mime text/x-lua
+0 search/1 #!/usr/bin/env\ lua Lua script text executable
+!:mime text/x-lua
+0 search/1 #!\ /usr/bin/env\ lua Lua script text executable
+!:mime text/x-lua
+
+# Lua bytecode
+0 string \033Lua Lua bytecode,
+>4 byte 0x50 version 5.0
+>4 byte 0x51 version 5.1
+>4 byte 0x52 version 5.2