xref: /freebsd/contrib/file/magic/Magdir/lua (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1
2#------------------------------------------------------------------------------
3# $File: lua,v 1.6 2013/01/09 16:23:17 christos Exp $
4# lua:  file(1) magic for Lua scripting language
5# URL:  http://www.lua.org/
6# From: Reuben Thomas <rrt@sc3d.org>, Seo Sanghyeon <tinuviel@sparcs.kaist.ac.kr>
7
8# Lua scripts
90	search/1/w	#!\ /usr/bin/lua	Lua script text executable
10!:mime	text/x-lua
110	search/1/w	#!\ /usr/local/bin/lua	Lua script text executable
12!:mime	text/x-lua
130	search/1	#!/usr/bin/env\ lua	Lua script text executable
14!:mime	text/x-lua
150	search/1	#!\ /usr/bin/env\ lua	Lua script text executable
16!:mime	text/x-lua
17
18# Lua bytecode
190	string		\033Lua			Lua bytecode,
20>4	byte		0x50			version 5.0
21>4	byte		0x51			version 5.1
22>4	byte		0x52			version 5.2
23