summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/varied.script
blob: c00f72b70e6ff7164fa501eebbad6cdb5ac2a512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$OpenBSD: varied.script,v 1.3 2009/04/24 18:54:34 chl Exp $

#------------------------------------------------------------------------------
# varied.script:  file(1) magic for various interpreter scripts

0	string		#!\ /			a
>3	string		>\0			%s script text executable
0	string		#!\t/			a
>3	string		>\0			%s script text executable
0	string		#!/			a
>2	string		>\0			%s script text executable
0	string		#!\ 			script text executable
>3	string		>\0			for %s

# From: arno <arenevier@fdn.fr>
# mozilla xpconnect typelib
# see http://www.mozilla.org/scriptable/typelib_file.html
0	string 		XPCOM\nTypeLib\r\n\032		XPConnect Typelib
>0x10  byte        x       version %d
>>0x11 byte        x      \b.%d