xref: /minix3/external/bsd/file/dist/magic/magdir/varied.script (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1ef01931fSBen Gras#------------------------------------------------------------------------------
2*0a6a1f1dSLionel Sambuc# $File: varied.script,v 1.10 2014/03/01 22:32:39 christos Exp $
3ef01931fSBen Gras# varied.script:  file(1) magic for various interpreter scripts
4ef01931fSBen Gras
5835f6802SDirk Vogt0	string/t		#!\ /			a
6ef01931fSBen Gras>3	string		>\0			%s script text executable
708ff44c4SLionel Sambuc!:strength / 2
8*0a6a1f1dSLionel Sambuc
9*0a6a1f1dSLionel Sambuc0	string/b		#!\ /			a
10*0a6a1f1dSLionel Sambuc>3	string		>\0			%s script executable (binary data)
11*0a6a1f1dSLionel Sambuc!:strength / 2
12*0a6a1f1dSLionel Sambuc
13835f6802SDirk Vogt0	string/t		#!\t/			a
14ef01931fSBen Gras>3	string		>\0			%s script text executable
1508ff44c4SLionel Sambuc!:strength / 2
16*0a6a1f1dSLionel Sambuc
17*0a6a1f1dSLionel Sambuc0	string/b		#!\t/			a
18*0a6a1f1dSLionel Sambuc>3	string		>\0			%s script executable (binary data)
19*0a6a1f1dSLionel Sambuc!:strength / 2
20*0a6a1f1dSLionel Sambuc
21835f6802SDirk Vogt0	string/t		#!/			a
22ef01931fSBen Gras>2	string		>\0			%s script text executable
2308ff44c4SLionel Sambuc!:strength / 2
24*0a6a1f1dSLionel Sambuc
25*0a6a1f1dSLionel Sambuc0	string/b		#!/			a
26*0a6a1f1dSLionel Sambuc>2	string		>\0			%s script executable (binary data)
27*0a6a1f1dSLionel Sambuc!:strength / 2
28*0a6a1f1dSLionel Sambuc
29835f6802SDirk Vogt0	string/t		#!\ 			script text executable
30ef01931fSBen Gras>3	string		>\0			for %s
3108ff44c4SLionel Sambuc!:strength / 3
3208ff44c4SLionel Sambuc
33*0a6a1f1dSLionel Sambuc0	string/b		#!\ 			script executable
34*0a6a1f1dSLionel Sambuc>3	string		>\0			for %s (binary data)
35*0a6a1f1dSLionel Sambuc!:strength / 3
36*0a6a1f1dSLionel Sambuc
3708ff44c4SLionel Sambuc# using env
3808ff44c4SLionel Sambuc0	string/t	#!/usr/bin/env		a
3908ff44c4SLionel Sambuc>15	string/t	>\0			%s script text executable
4008ff44c4SLionel Sambuc!:strength / 10
41*0a6a1f1dSLionel Sambuc
42*0a6a1f1dSLionel Sambuc0	string/b	#!/usr/bin/env		a
43*0a6a1f1dSLionel Sambuc>15	string/b	>\0			%s script executable (binary data)
44*0a6a1f1dSLionel Sambuc!:strength / 10
45*0a6a1f1dSLionel Sambuc
4608ff44c4SLionel Sambuc0	string/t	#!\ /usr/bin/env	a
4708ff44c4SLionel Sambuc>16	string/t	>\0			%s script text executable
4808ff44c4SLionel Sambuc!:strength / 10
49ef01931fSBen Gras
50*0a6a1f1dSLionel Sambuc0	string/b	#!\ /usr/bin/env	a
51*0a6a1f1dSLionel Sambuc>16	string/b	>\0			%s script executable (binary data)
52*0a6a1f1dSLionel Sambuc!:strength / 10
53*0a6a1f1dSLionel Sambuc
54ef01931fSBen Gras# From: arno <arenevier@fdn.fr>
55ef01931fSBen Gras# mozilla xpconnect typelib
56ef01931fSBen Gras# see http://www.mozilla.org/scriptable/typelib_file.html
57ef01931fSBen Gras0	string 		XPCOM\nTypeLib\r\n\032		XPConnect Typelib
58ef01931fSBen Gras>0x10  byte        x       version %d
59ef01931fSBen Gras>>0x11 byte        x      \b.%d
60