2006-06-19 07:52:15 +00:00
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
# gnu: file(1) magic for various GNU tools
|
2000-11-05 08:33:55 +00:00
|
|
|
#
|
|
|
|
# GNU nlsutils message catalog file format
|
|
|
|
#
|
|
|
|
0 string \336\22\4\225 GNU message catalog (little endian),
|
|
|
|
>4 lelong x revision %d,
|
|
|
|
>8 lelong x %d messages
|
|
|
|
0 string \225\4\22\336 GNU message catalog (big endian),
|
|
|
|
>4 belong x revision %d,
|
|
|
|
>8 belong x %d messages
|
|
|
|
# message catalogs, from Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
|
|
|
|
0 string *nazgul* Nazgul style compiled message catalog
|
|
|
|
>8 lelong >0 \b, version %ld
|
2006-06-19 07:52:15 +00:00
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
# GnuPG
|
|
|
|
# The format is very similar to pgp
|
|
|
|
0 string \001gpg GPG key trust database
|
|
|
|
>4 byte x version %d
|
2009-01-02 02:57:16 +00:00
|
|
|
# Note: magic.mime had 0x8501 for the next line instead of 0x8502
|
2006-06-19 07:52:15 +00:00
|
|
|
0 beshort 0x8502 GPG encrypted data
|
2009-01-02 02:57:16 +00:00
|
|
|
!:mime text/PGP # encoding: data
|
|
|
|
|
2004-08-09 08:45:41 +00:00
|
|
|
# This magic is not particularly good, as the keyrings don't have true
|
|
|
|
# magic. Nevertheless, it covers many keyrings.
|
2006-06-19 07:52:15 +00:00
|
|
|
0 beshort 0x9901 GPG key public ring
|
2009-01-02 02:57:16 +00:00
|
|
|
!:mime application/x-gnupg-keyring
|
2004-08-09 08:45:41 +00:00
|
|
|
|
|
|
|
# Gnumeric spreadsheet
|
|
|
|
# This entry is only semi-helpful, as Gnumeric compresses its files, so
|
|
|
|
# they will ordinarily reported as "compressed", but at least -z helps
|
|
|
|
39 string =<gmr:Workbook Gnumeric spreadsheet
|
2006-06-19 07:52:15 +00:00
|
|
|
|
|
|
|
# From: James Youngman <jay@gnu.org>
|
|
|
|
# gnu find magic
|
|
|
|
0 string \0LOCATE GNU findutils locate database data
|
|
|
|
>7 string >\0 \b, format %s
|
|
|
|
>7 string 02 \b (frcode)
|
2009-01-02 02:57:16 +00:00
|
|
|
|
|
|
|
# Files produced by GNU gettext
|
|
|
|
0 long 0xDE120495 GNU-format message catalog data
|
|
|
|
0 long 0x950412DE GNU-format message catalog data
|