#  Magic files for dtrt are VERY picky!!
#    firstly, it must not start with a > under any circumstances...
#    that would just make the magic file pointless.
#    secondly, I reccomend you place all the "inside the file" comparisons
#       in the beginning and leave the filename comparisons for the end
#       since internals of a file tend to identify it better.
#    lastly, if you want to check both a filename and a inside, check the filenam
#      before the inside, because * does not support the > prefix.
#    in fact, >* will confuse the program to high heaven...
# .. oh, and comments start with a #


0	short		0x52cc		Utah_Raster
0	string		GIF		GIF
0	long		0x49492A00	TIFF
0	long		0x4D4D002A	TIFF
0	string		PK		ZIP

3	byte		0xE0		JPEG

0	string		begin		UUencoded
# LhArc archive
2	string 		-lhd-		LhA
2	string		-lh1-		LhA
2	string		-lh4-		LhA
2	string		-lh5-		LhA
# ZOO archive
0	string		ZOO		ZOO
# WordPerfect Corporation
1	string		WPC		WordPerfect
# TeX:
1	string		documentstyle	LaTeX

0	byte	0xF7	TeX
>1	byte	0x02	Dvi
>1	byte	0x03	Dvi
# General font:
>1	byte	0x83	Gff
# Packed font
>1	byte	0x59	Pkf
# virtual font
>1	byte	0xCA	Vff
# PostScript
0	string		.*EPSF		EPSF
# Xfig
0	string		#FIG			Xfig
# PPM library
0	string		xbtoa			Btoa
0	string		P1			PBM
0	string		P2			PGM
0	string		P3			PPM
0	string		P4			PBM
0	string		P5			PGM
0	string		P6			PPM
0	string		\131\246\152\225	Sun_raster
# MGR bitmap
0	string		yz			MGR
0	string		\115\115		TIFF
0	string		\111\111		TIFF
8	string		ILBM			IFF_ILBM
0	string		\012\005\001		PCX

0	short		070707		cpio_archive
0	short		0143561		cpio_archive
0	string		070707		cpio_archive
0	string		\037\036	Pack
0	string		\377\037	Compact
0	string		%!		PostScript
0	string		<MakerFile	FrameMaker
0	string		<MIFFile	FrameMaker_MIF
0	string		<MML		FrameMaker_MML
0	string		.snd		audio_snd
8	string		WAVE		PC_WAVE
0	string		FORM		(junk)
>8	string		8SVXVHDR	AMIGA_IFF_Audio

0 	string		VIEW		PM
0	string		\000\732\000	Iris_RGB	

#Xess data file
0	string		XS\040		Xess
#Maple data
0 	string		{VERSION\040	MAPLE
#AutoCad data
0       string 		AC		Auto_Cad


# Some filename extensions
*	extension	.ez		EZ
*	extension	.mat		Matlab
*	extension	.xbm.Z		XBM
*	extension	.pbm.Z		PBM

#*	prefix		foo.		EZ
#*	filename	abcd

# UNIX compress  moved here so it would allow things like .xbm.Z to be xbm
0	string		\037\235	compress
0	string		\037\213	gzip





