1 2#------------------------------------------------------------------------------ 3# $File: gnu,v 1.13 2012/01/03 17:16:54 christos Exp $ 4# gnu: file(1) magic for various GNU tools 5# 6# GNU nlsutils message catalog file format 7# 8# GNU message catalog (.mo and .gmo files) 9 100 string \336\22\4\225 GNU message catalog (little endian), 11>6 leshort x revision %d. 12>4 leshort >0 \b%d, 13>>8 lelong x %d messages, 14>>36 lelong x %d sysdep messages 15>4 leshort =0 \b%d, 16>>8 lelong x %d messages 17 180 string \225\4\22\336 GNU message catalog (big endian), 19>4 beshort x revision %d. 20>6 beshort >0 \b%d, 21>>8 belong x %d messages, 22>>36 belong x %d sysdep messages 23>6 beshort =0 \b%d, 24>>8 belong x %d messages 25 26 27# GnuPG 28# The format is very similar to pgp 290 string \001gpg GPG key trust database 30>4 byte x version %d 31# Note: magic.mime had 0x8501 for the next line instead of 0x8502 320 beshort 0x8502 GPG encrypted data 33!:mime text/PGP # encoding: data 34 35# This magic is not particularly good, as the keyrings don't have true 36# magic. Nevertheless, it covers many keyrings. 370 beshort 0x9901 GPG key public ring 38!:mime application/x-gnupg-keyring 39 40# Gnumeric spreadsheet 41# This entry is only semi-helpful, as Gnumeric compresses its files, so 42# they will ordinarily reported as "compressed", but at least -z helps 4339 string =<gmr:Workbook Gnumeric spreadsheet 44 45# From: James Youngman <jay@gnu.org> 46# gnu find magic 470 string \0LOCATE GNU findutils locate database data 48>7 string >\0 \b, format %s 49>7 string 02 \b (frcode) 50 51# Files produced by GNU gettext 520 long 0xDE120495 GNU-format message catalog data 530 long 0x950412DE GNU-format message catalog data 54 55# gettext message catalogue 560 regex \^msgid\ GNU gettext message catalogue text 57!:mime text/x-po 58