xref: /freebsd/contrib/file/magic/Magdir/lua (revision eb69d1f144a6fcc765d1b9d44a5ae8082353e70b)
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