gnu 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #------------------------------------------------------------------------------
  2. # $File: gnu,v 1.11 2009/09/19 16:28:09 christos Exp $
  3. # gnu: file(1) magic for various GNU tools
  4. #
  5. # GNU nlsutils message catalog file format
  6. #
  7. 0 string \336\22\4\225 GNU message catalog (little endian),
  8. >4 lelong x revision %d,
  9. >8 lelong x %d messages
  10. 0 string \225\4\22\336 GNU message catalog (big endian),
  11. >4 belong x revision %d,
  12. >8 belong x %d messages
  13. # message catalogs, from Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
  14. 0 string *nazgul* Nazgul style compiled message catalog
  15. >8 lelong >0 \b, version %ld
  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. # This magic is not particularly good, as the keyrings don't have true
  24. # magic. Nevertheless, it covers many keyrings.
  25. 0 beshort 0x9901 GPG key public ring
  26. !:mime application/x-gnupg-keyring
  27. # Gnumeric spreadsheet
  28. # This entry is only semi-helpful, as Gnumeric compresses its files, so
  29. # they will ordinarily reported as "compressed", but at least -z helps
  30. 39 string =<gmr:Workbook Gnumeric spreadsheet
  31. # From: James Youngman <jay@gnu.org>
  32. # gnu find magic
  33. 0 string \0LOCATE GNU findutils locate database data
  34. >7 string >\0 \b, format %s
  35. >7 string 02 \b (frcode)
  36. # Files produced by GNU gettext
  37. 0 long 0xDE120495 GNU-format message catalog data
  38. 0 long 0x950412DE GNU-format message catalog data