#	@(#)magic 5.2a of Aug 17, 1987
#
#		file cmd's magic file
#
#
#	Basically, the fields of this file are as follows:
#	byte offset, value type, optional operator (= by default), value
#	to match (numeric or string), and string to be printed.  Numeric
#	values may be decimal, octal, or hex.  Also note that the last
#	string may have 1 printf format spec.
#	The '>' in occassional column 1's is magic: it forces file to
#	continue scanning and matching additional lines.  The first line
#	afterwards not so marked terminates the search.
#
0	short		0x206	xenix executable
>16	long		>0		not stripped
>28	char		^0x40	word swapped
>28	char		|0x3f	
>>28	char		9	286
>>28	char		4	8086
>30	char		&0x10	overlay
>30	char		|0x6	
>>30	char		&0x2	separate
>>30	char		0x4	pure
>30	char		|0x60	
>>30	char		0x60	large model
>>30	char		0x40	middle model
>31	short		|0xc0	
>>31	short		0xc0	System 5
>>31	short		0x80	V3.0
>>31	short		0x40	V2.3
0	short		0177545		old ar archive
0	short		070707		cpio archive
0	string		070707		ASCII cpio archive
0	long		0177555		obsolete ar archive
0	long		0100554		apl workspace
0	short		017037		packed data
0	string		<ar>		System V Release 1 ar archive
0	string		!<arch>		ar archive
0	short		0514		i386
>18	short		^2		object file
>18	short		|2		executable
>12	long		>0		not stripped
>20	short		0443		(target shared library)
>20	short		0410		(swapped)
>20	short		0413		(paged)
0	short		0407		a.out executable
>8	short		>0		not stripped
>15	byte		>0		- version %ld
0	short		0401		unix-rt ldp
0	short		0405		a.out overlay
0	short		0410		a.out pure executable
>8	short		>0		not stripped
>15	byte		>0		- version %ld
0	short		0411		a.out separate I&D
>8	short		>0		not stripped
>15	byte		>0		- version %ld
0	short		0432		Compiled Terminfo Entry
0	short		0433		Curses screen image
0	short		0434		Curses screen image
0	short		0437		pdp11 kernel overlay
0	short		0570		vax executable
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0575		vax pure executable
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0502		basic-16 executable
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0503		basic-16 executable (TV)
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0510		x86 executable
>12	long		>0		not stripped
0	short		0511		x86 executable (TV)
>12	long		>0		not stripped
0	short		0550		3b20 executable
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0551		3b20 executable (TV)
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0560		WE32000 executable
>12	long		>0		not stripped
>18	short		^00010000	- N/A on 3b2/300 w/paging
>18	short		&00020000	- 32100 required
>18	short		&00040000	and mau hardware required
>20	short		0443		(target shared library)
>20	short		0410		(swapped)
>20	short		0413		(paged)
>22	short		>0		- version %ld
0	short		0561		WE32000 executable (TV)
>12	long		>0		not stripped
>18	short		&00020000	- 32100 required
>18	short		&00040000	and mau hardware required
>22	short		>0		- version %ld
0	short		=0512		iAPX 286 executable small model (COFF)
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		=0522		iAPX 286 executable large model (COFF)
>12	long		>0		not stripped
>22	short		>0		- version %ld
0	short		0520		mc68k executable
>12	long		>0		not stripped
0	short		0521		mc68k executable (shared)
>12	long		>0		not stripped
0	short		0522		mc68k executable (shared demand paged)
>12	long		>0		not stripped
# work for #![space or tab]
0	string		#!	
>3	string		/bin/csh	csh commands text
>3	string		/bin/sh	sh commands text
# compressed data by 'compress' program
0	short		0x9d1f		compressed data
>2	byte		0x8c		- with 12 bits
>2	byte		0x8d		- with 13 bits
>2	byte		0x8e		- with 14 bits
>2	byte		0x8f		- with 15 bits
>2	byte		0x90		- with 16 bits
# compressed data by 'pack' program
0	short		017436		packed data
