]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/file/Magdir/gnu
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / file / Magdir / gnu
1 #------------------------------------------------------------------------------
2 # gnu:  file(1) magic for various GNU tools
3 #
4 # GNU nlsutils message catalog file format
5 #
6 0       string          \336\22\4\225   GNU message catalog (little endian),
7 >4      lelong          x               revision %d,
8 >8      lelong          x               %d messages
9 0       string          \225\4\22\336   GNU message catalog (big endian),
10 >4      belong          x               revision %d,
11 >8      belong          x               %d messages
12 # message catalogs, from Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
13 0       string          *nazgul*        Nazgul style compiled message catalog
14 >8      lelong          >0              \b, version %ld
15
16 # GnuPG
17 # The format is very similar to pgp
18 0       string          \001gpg                 GPG key trust database
19 >4      byte            x                       version %d
20 # Note: magic.mime had 0x8501 for the next line instead of 0x8502
21 0       beshort         0x8502                  GPG encrypted data
22 !:mime  text/PGP # encoding: data
23
24 # This magic is not particularly good, as the keyrings don't have true
25 # magic. Nevertheless, it covers many keyrings.
26 0       beshort         0x9901                  GPG key public ring
27 !:mime  application/x-gnupg-keyring
28
29 # Gnumeric spreadsheet
30 # This entry is only semi-helpful, as Gnumeric compresses its files, so
31 # they will ordinarily reported as "compressed", but at least -z helps
32 39      string          =<gmr:Workbook           Gnumeric spreadsheet
33
34 # From: James Youngman <jay@gnu.org> 
35 # gnu find magic
36 0       string  \0LOCATE        GNU findutils locate database data
37 >7      string  >\0             \b, format %s
38 >7      string  02              \b (frcode)
39
40 # Files produced by GNU gettext
41 0       long    0xDE120495              GNU-format message catalog data
42 0       long    0x950412DE              GNU-format message catalog data