xref: /freebsd/contrib/file/magic/Magdir/ispell (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
1
2#------------------------------------------------------------------------------
3# $File: ispell,v 1.8 2009/09/19 16:28:10 christos Exp $
4# ispell:  file(1) magic for ispell
5#
6# Ispell 3.0 has a magic of 0x9601 and ispell 3.1 has 0x9602.  This magic
7# will match 0x9600 through 0x9603 in *both* little endian and big endian.
8# (No other current magic entries collide.)
9#
10# Updated by Daniel Quinlan (quinlan@yggdrasil.com)
11#
120	leshort&0xFFFC	0x9600		little endian ispell
13>0	byte		0		hash file (?),
14>0	byte		1		3.0 hash file,
15>0	byte		2		3.1 hash file,
16>0	byte		3		hash file (?),
17>2	leshort		0x00		8-bit, no capitalization, 26 flags
18>2	leshort		0x01		7-bit, no capitalization, 26 flags
19>2	leshort		0x02		8-bit, capitalization, 26 flags
20>2	leshort		0x03		7-bit, capitalization, 26 flags
21>2	leshort		0x04		8-bit, no capitalization, 52 flags
22>2	leshort		0x05		7-bit, no capitalization, 52 flags
23>2	leshort		0x06		8-bit, capitalization, 52 flags
24>2	leshort		0x07		7-bit, capitalization, 52 flags
25>2	leshort		0x08		8-bit, no capitalization, 128 flags
26>2	leshort		0x09		7-bit, no capitalization, 128 flags
27>2	leshort		0x0A		8-bit, capitalization, 128 flags
28>2	leshort		0x0B		7-bit, capitalization, 128 flags
29>2	leshort		0x0C		8-bit, no capitalization, 256 flags
30>2	leshort		0x0D		7-bit, no capitalization, 256 flags
31>2	leshort		0x0E		8-bit, capitalization, 256 flags
32>2	leshort		0x0F		7-bit, capitalization, 256 flags
33>4	leshort		>0		and %d string characters
340	beshort&0xFFFC	0x9600		big endian ispell
35>1	byte		0		hash file (?),
36>1	byte		1		3.0 hash file,
37>1	byte		2		3.1 hash file,
38>1	byte		3		hash file (?),
39>2	beshort		0x00		8-bit, no capitalization, 26 flags
40>2	beshort		0x01		7-bit, no capitalization, 26 flags
41>2	beshort		0x02		8-bit, capitalization, 26 flags
42>2	beshort		0x03		7-bit, capitalization, 26 flags
43>2	beshort		0x04		8-bit, no capitalization, 52 flags
44>2	beshort		0x05		7-bit, no capitalization, 52 flags
45>2	beshort		0x06		8-bit, capitalization, 52 flags
46>2	beshort		0x07		7-bit, capitalization, 52 flags
47>2	beshort		0x08		8-bit, no capitalization, 128 flags
48>2	beshort		0x09		7-bit, no capitalization, 128 flags
49>2	beshort		0x0A		8-bit, capitalization, 128 flags
50>2	beshort		0x0B		7-bit, capitalization, 128 flags
51>2	beshort		0x0C		8-bit, no capitalization, 256 flags
52>2	beshort		0x0D		7-bit, no capitalization, 256 flags
53>2	beshort		0x0E		8-bit, capitalization, 256 flags
54>2	beshort		0x0F		7-bit, capitalization, 256 flags
55>4	beshort		>0		and %d string characters
56# ispell 4.0 hash files  kromJx <kromJx@crosswinds.net>
57# Ispell 4.0
580       string          ISPL            ispell
59>4      long            x               hash file version %d,
60>8      long            x               lexletters %d,
61>12     long            x               lexsize %d,
62>16     long            x               hashsize %d,
63>20     long            x               stblsize %d
64