xref: /freebsd/contrib/file/magic/Magdir/varied.script (revision d93a896ef95946b0bf1219866fcb324b78543444)
1#------------------------------------------------------------------------------
2# $File: varied.script,v 1.11 2015/03/27 17:59:39 christos Exp $
3# varied.script:  file(1) magic for various interpreter scripts
4
50	string/t		#!\ /			a
6>3	string		>\0			%s script text executable
7
80	string/b		#!\ /			a
9>3	string		>\0			%s script executable (binary data)
10
110	string/t		#!\t/			a
12>3	string		>\0			%s script text executable
13
140	string/b		#!\t/			a
15>3	string		>\0			%s script executable (binary data)
16
170	string/t		#!/			a
18>2	string		>\0			%s script text executable
19
200	string/b		#!/			a
21>2	string		>\0			%s script executable (binary data)
22
230	string/t		#!\ 			script text executable
24>3	string		>\0			for %s
25
260	string/b		#!\ 			script executable
27>3	string		>\0			for %s (binary data)
28
29# using env
300	string/t	#!/usr/bin/env		a
31>15	string/t	>\0			%s script text executable
32!:strength / 10
33
340	string/b	#!/usr/bin/env		a
35>15	string/b	>\0			%s script executable (binary data)
36!:strength / 10
37
380	string/t	#!\ /usr/bin/env	a
39>16	string/t	>\0			%s script text executable
40!:strength / 10
41
420	string/b	#!\ /usr/bin/env	a
43>16	string/b	>\0			%s script executable (binary data)
44!:strength / 10
45
46# From: arno <arenevier@fdn.fr>
47# mozilla xpconnect typelib
48# see http://www.mozilla.org/scriptable/typelib_file.html
490	string 		XPCOM\nTypeLib\r\n\032		XPConnect Typelib
50>0x10  byte        x       version %d
51>>0x11 byte        x      \b.%d
52