1133359Sobrien#------------------------------------------------------------------------------
2284778Sdelphij# $File: varied.script,v 1.11 2015/03/27 17:59:39 christos Exp $
3133359Sobrien# varied.script:  file(1) magic for various interpreter scripts
4133359Sobrien
5226048Sobrien0	string/t		#!\ /			a
6133359Sobrien>3	string		>\0			%s script text executable
7267843Sdelphij
8267843Sdelphij0	string/b		#!\ /			a
9267843Sdelphij>3	string		>\0			%s script executable (binary data)
10267843Sdelphij
11226048Sobrien0	string/t		#!\t/			a
12133359Sobrien>3	string		>\0			%s script text executable
13267843Sdelphij
14267843Sdelphij0	string/b		#!\t/			a
15267843Sdelphij>3	string		>\0			%s script executable (binary data)
16267843Sdelphij
17226048Sobrien0	string/t		#!/			a
18133359Sobrien>2	string		>\0			%s script text executable
19267843Sdelphij
20267843Sdelphij0	string/b		#!/			a
21267843Sdelphij>2	string		>\0			%s script executable (binary data)
22267843Sdelphij
23226048Sobrien0	string/t		#!\ 			script text executable
24133359Sobrien>3	string		>\0			for %s
25133359Sobrien
26267843Sdelphij0	string/b		#!\ 			script executable
27267843Sdelphij>3	string		>\0			for %s (binary data)
28267843Sdelphij
29234250Sobrien# using env
30234250Sobrien0	string/t	#!/usr/bin/env		a
31234250Sobrien>15	string/t	>\0			%s script text executable
32234250Sobrien!:strength / 10
33267843Sdelphij
34267843Sdelphij0	string/b	#!/usr/bin/env		a
35267843Sdelphij>15	string/b	>\0			%s script executable (binary data)
36267843Sdelphij!:strength / 10
37267843Sdelphij
38234250Sobrien0	string/t	#!\ /usr/bin/env	a
39234250Sobrien>16	string/t	>\0			%s script text executable
40234250Sobrien!:strength / 10
41234250Sobrien
42267843Sdelphij0	string/b	#!\ /usr/bin/env	a
43267843Sdelphij>16	string/b	>\0			%s script executable (binary data)
44267843Sdelphij!:strength / 10
45267843Sdelphij
46186690Sobrien# From: arno <arenevier@fdn.fr>
47186690Sobrien# mozilla xpconnect typelib
48186690Sobrien# see http://www.mozilla.org/scriptable/typelib_file.html
49186690Sobrien0	string 		XPCOM\nTypeLib\r\n\032		XPConnect Typelib
50186690Sobrien>0x10  byte        x       version %d
51186690Sobrien>>0x11 byte        x      \b.%d
52