File: etc-magic

package info (click to toggle)
mgetty 1.2.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,880 kB
  • sloc: ansic: 42,728; sh: 6,487; perl: 6,262; makefile: 1,457; tcl: 756; lisp: 283
file content (46 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# here are some aditions to /etc/magic that you may find interesting
#
0	string		\037\235		compressed file
0	string		begin			uuencoded file
0	string		xbtoa			btoa'd file

0	string		P1			PBM file
0	string		P2			PGM file
0	string		P3			PPM file
0	string		P4			PBM "rawbits" file
0	string		P5			PGM "rawbits" file
0	string		P6			PPM "rawbits" file

0	string		\361\0\100\273		CMU window manager bitmap
0	string		\131\246\152\225	Sun rasterfile
0	string		yz			MGR bitmap
0	string		\115\115		TIFF file, big-endian
0	string		\111\111		TIFF file, little-endian
8	string		ILBM			IFF ILBM file

0	short		0xd8ff		JPEG
>2	byte		0xff		(Standard)

0	string		GIF		GIF
>3	string		87a		%s
>3	string		89a		%s
>6	short		>0		%d(w)
>8	short		>0		x %d(h)

0	string		%bitmap		FBM pixmap
>30	long		0x31		(mono)
>30	long		0x33		(color)

0	string		PK		ZIP compressed
0	short		0x8b1f		GNUzip compressed

4	string		Research,	Digifax-G3-File
>29	byte		1		, fine resolution
>29	byte		0		, normal resolution

0x10	string		TeX output	TeX DVI file
0	string		\documentstyle	LaTeX source file

0	short		0x0100		raw G3 data, byte-padded
0	short		0x1400		raw G3 data