mirror of
https://github.com/file/file.git
synced 2024-11-27 03:48:06 +08:00
Remove or merge duplicate entries.
This commit is contained in:
parent
86fd61861e
commit
4306c68321
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: algol68,v 1.6 2022/11/06 18:36:55 christos Exp $
|
||||
# $File: algol68,v 1.7 2024/08/27 18:50:56 christos Exp $
|
||||
# algol68: file(1) magic for Algol 68 source
|
||||
#
|
||||
# URL: https://en.wikipedia.org/wiki/ALGOL_68
|
||||
@ -13,8 +13,6 @@
|
||||
>0 use algol_68
|
||||
0 regex/1024 \bMODE[\t\ ]
|
||||
>0 use algol_68
|
||||
0 regex/1024 \bMODE[\t\ ]
|
||||
>0 use algol_68
|
||||
0 regex/1024 \bREF[\t\ ]
|
||||
>0 use algol_68
|
||||
0 regex/1024 \bFLEX[\t\ ]\*\\[
|
||||
|
@ -1,5 +1,5 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: archive,v 1.200 2024/07/27 14:55:32 christos Exp $
|
||||
# $File: archive,v 1.201 2024/08/27 18:50:56 christos Exp $
|
||||
# archive: file(1) magic for archive formats (see also "msdos" for self-
|
||||
# extracting compressed archives)
|
||||
#
|
||||
@ -1795,9 +1795,9 @@
|
||||
!:ext zip/cbz
|
||||
|
||||
|
||||
# IOS/IPadOS IPA file (Zip archive)
|
||||
0 string PK\003\004
|
||||
!:strength +1
|
||||
# IOS/IPadOS IPA file (Zip archive)
|
||||
# Starts with Payload (file name length = 19)
|
||||
>26 uleshort 8
|
||||
>>30 string Payload IOS/iPadOS IPA file
|
||||
@ -1807,8 +1807,6 @@
|
||||
!:ext ipa
|
||||
|
||||
# Android APK file (Zip archive)
|
||||
0 string PK\003\004
|
||||
!:strength +1
|
||||
# Starts with AndroidManifest.xml (file name length = 19)
|
||||
>26 uleshort 19
|
||||
>>30 string AndroidManifest.xml Android package (APK), with AndroidManifest.xml
|
||||
@ -1892,14 +1890,6 @@
|
||||
>>>>(-6.l) search/9000 kmp.json Keyman Compiled Package File
|
||||
!:ext kmp
|
||||
|
||||
# Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
|
||||
0 string PK\005\006 Zip archive data (empty)
|
||||
!:mime application/zip
|
||||
!:ext zip/cbz
|
||||
!:strength +1
|
||||
0 string PK\003\004
|
||||
!:strength +1
|
||||
|
||||
# Specialised zip formats which start with a member named 'mimetype'
|
||||
# (stored uncompressed, with no 'extra field') containing the file's MIME type.
|
||||
# Check for have 8-byte name, 0-byte extra field, name "mimetype", and
|
||||
@ -2151,6 +2141,12 @@
|
||||
>>>>8 use zipcompression
|
||||
>>>>0x161 string WINZIP \b, WinZIP self-extracting
|
||||
|
||||
# Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
|
||||
0 string PK\005\006 Zip archive data (empty)
|
||||
!:mime application/zip
|
||||
!:ext zip/cbz
|
||||
!:strength +1
|
||||
|
||||
# StarView Metafile
|
||||
# From Pierre Ducroquet <pinaraf@pinaraf.info>
|
||||
0 string VCLMTF StarView MetaFile
|
||||
@ -2444,12 +2440,6 @@
|
||||
0 belong 0x1ee7ff00 EET archive
|
||||
!:mime application/x-eet
|
||||
|
||||
# rzip archives
|
||||
0 string RZIP rzip compressed data
|
||||
>4 byte x - version %d
|
||||
>5 byte x \b.%d
|
||||
>6 belong x (%d bytes)
|
||||
|
||||
# From: Joerg Jenderek
|
||||
# URL: https://help.foxitsoftware.com/kb/install-fzip-file.php
|
||||
# reference: http://mark0.net/download/triddefs_xml.7z/
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: audio,v 1.130 2024/05/12 18:35:18 christos Exp $
|
||||
# $File: audio,v 1.131 2024/08/27 18:50:57 christos Exp $
|
||||
# audio: file(1) magic for sound formats (see also "iff")
|
||||
#
|
||||
# Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
|
||||
@ -276,13 +276,12 @@
|
||||
# http://www-mmsp.ece.mcgill.ca/documents/AudioFormats/IRCAM/IRCAM.html
|
||||
0 belong 0x64a30100 IRCAM file (VAX little-endian)
|
||||
0 belong 0x0001a364 IRCAM file (VAX big-endian)
|
||||
0 belong 0x64a30200 IRCAM file (Sun big-endian)
|
||||
0 belong 0x0002a364 IRCAM file (Sun little-endian)
|
||||
0 belong 0x64a30200 IRCAM file (Sun big-endian)
|
||||
0 belong 0x64a30300 IRCAM file (MIPS little-endian)
|
||||
0 belong 0x0003a364 IRCAM file (MIPS big-endian)
|
||||
0 belong 0x64a30400 IRCAM file (NeXT big-endian)
|
||||
0 belong 0x64a30400 IRCAM file (NeXT big-endian)
|
||||
0 belong 0x0004a364 IRCAM file (NeXT little-endian)
|
||||
0 belong 0x64a30400 IRCAM file (NeXT big-endian)
|
||||
|
||||
# NIST SPHERE <mpruett@sgi.com>
|
||||
0 string NIST_1A\n\ \ \ 1024\n NIST SPHERE file
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: cafebabe,v 1.29 2024/04/04 15:58:49 christos Exp $
|
||||
# $File: cafebabe,v 1.30 2024/08/27 18:50:57 christos Exp $
|
||||
# Cafe Babes unite!
|
||||
#
|
||||
# Since Java bytecode and Mach-O universal binaries have the same magic number,
|
||||
@ -61,12 +61,6 @@
|
||||
# pool table
|
||||
#>>10 ubequad x \b, pool %#16.16llx...
|
||||
|
||||
0 belong 0xcafed00d JAR compressed with pack200,
|
||||
>5 byte x version %d.
|
||||
>4 byte x \b%d
|
||||
!:mime application/x-java-pack200
|
||||
|
||||
|
||||
0 belong 0xcafed00d JAR compressed with pack200,
|
||||
>5 byte x version %d.
|
||||
>4 byte x \b%d
|
||||
|
@ -1,5 +1,5 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: compress,v 1.93 2023/10/31 21:52:20 christos Exp $
|
||||
# $File: compress,v 1.94 2024/08/27 18:50:57 christos Exp $
|
||||
# compress: file(1) magic for pure-compression formats (no archives)
|
||||
#
|
||||
# compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, etc.
|
||||
@ -377,14 +377,6 @@
|
||||
|
||||
0 string ArC\x01 FreeArc archive <http://freearc.org>
|
||||
|
||||
# Type: DACT compressed files
|
||||
0 long 0x444354C3 DACT compressed data
|
||||
>4 byte >-1 (version %i.
|
||||
>5 byte >-1 %i.
|
||||
>6 byte >-1 %i)
|
||||
>7 long >0 , original size: %i bytes
|
||||
>15 long >30 , block size: %i bytes
|
||||
|
||||
# Valve Pack (VPK) files
|
||||
0 lelong 0x55aa1234 Valve Pak file
|
||||
>0x4 lelong x \b, version %u
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: database,v 1.70 2023/10/09 15:55:35 christos Exp $
|
||||
# $File: database,v 1.71 2024/08/27 18:50:57 christos Exp $
|
||||
# database: file(1) magic for various databases
|
||||
#
|
||||
# extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
|
||||
@ -740,13 +740,6 @@
|
||||
>32 lelong 0x2601196D version 6, little-endian
|
||||
>>36 lelong x hash size %d bytes
|
||||
|
||||
# SE Linux policy database
|
||||
0 lelong 0xf97cff8c SE Linux policy
|
||||
>16 lelong x v%d
|
||||
>20 lelong 1 MLS
|
||||
>24 lelong x %d symbols
|
||||
>28 lelong x %d ocons
|
||||
|
||||
# ICE authority file data (Wolfram Kleff)
|
||||
2 string ICE ICE authority data
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: filesystems,v 1.162 2024/06/19 16:31:14 christos Exp $
|
||||
# $File: filesystems,v 1.163 2024/08/27 18:50:57 christos Exp $
|
||||
# filesystems: file(1) magic for different filesystems
|
||||
#
|
||||
0 name partid
|
||||
@ -2251,20 +2251,6 @@
|
||||
>560 string x label: %.64s,
|
||||
>136 string x mountpoint: %.128s
|
||||
|
||||
# Summary: Oracle ASM tagged volume
|
||||
# Created by: Aaron Botsis <redhat@digitalmafia.org>
|
||||
32 string ORCLDISK Oracle ASM Volume,
|
||||
>40 string x Disk Name: %0.12s
|
||||
32 string ORCLCLRD Oracle ASM Volume (cleared),
|
||||
>40 string x Disk Name: %0.12s
|
||||
|
||||
# Oracle Clustered Filesystem - Aaron Botsis <redhat@digitalmafia.org>
|
||||
8 string OracleCFS Oracle Clustered Filesystem,
|
||||
>4 long x rev %d
|
||||
>0 long x \b.%d,
|
||||
>560 string x label: %.64s,
|
||||
>136 string x mountpoint: %.128s
|
||||
|
||||
# Oracle ASM tagged volume - Aaron Botsis <redhat@digitalmafia.org>
|
||||
32 string ORCLDISK Oracle ASM Volume,
|
||||
>40 string x Disk Name: %0.12s
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: hp,v 1.26 2024/02/11 21:25:17 christos Exp $
|
||||
# $File: hp,v 1.27 2024/08/27 18:50:57 christos Exp $
|
||||
# hp: file(1) magic for Hewlett Packard machines (see also "printer")
|
||||
#
|
||||
# XXX - somebody should figure out whether any byte order needs to be
|
||||
@ -242,25 +242,6 @@
|
||||
>14 string F(,) F(,);
|
||||
|
||||
|
||||
# Summary: HP-38/39 calculator
|
||||
# Created by: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
0 string HP3
|
||||
>3 string 8 HP 38
|
||||
>3 string 9 HP 39
|
||||
>4 string Bin binary
|
||||
>4 string Asc ASCII
|
||||
>7 string A (Directory List)
|
||||
>7 string B (Zaplet)
|
||||
>7 string C (Note)
|
||||
>7 string D (Program)
|
||||
>7 string E (Variable)
|
||||
>7 string F (List)
|
||||
>7 string G (Matrix)
|
||||
>7 string H (Library)
|
||||
>7 string I (Target List)
|
||||
>7 string J (ASCII Vector specification)
|
||||
>7 string K (wildcard)
|
||||
|
||||
# Summary: HP-38/39 calculator
|
||||
# Created by: Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
0 string HP3
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: images,v 1.254 2024/07/07 14:36:49 christos Exp $
|
||||
# $File: images,v 1.255 2024/08/27 18:50:57 christos Exp $
|
||||
# images: file(1) magic for image formats (see also "iff", and "c-lang" for
|
||||
# XPM bitmaps)
|
||||
#
|
||||
@ -2660,7 +2660,6 @@
|
||||
>>0 use ulead-imaginfo
|
||||
# From: Joerg Jenderek
|
||||
# Reference: http://mark0.net/download/triddefs_xml.7z/defs/p/pe4-imaginfo.trid.xml
|
||||
11 string \001\0\0\0\0
|
||||
# check for version 4 part
|
||||
>19 string \0\0\0\004\0
|
||||
>>0 use ulead-imaginfo
|
||||
@ -3814,9 +3813,7 @@
|
||||
>>>>33 string and
|
||||
>>>>>37 string layers
|
||||
>>>>>>43 ulelong x reMarkable tablet notebook lines, 1404 x 1872, %x page(s)
|
||||
|
||||
# newer per-page files for the reMarkable
|
||||
0 string reMarkable
|
||||
>11 string .lines
|
||||
>>18 string file,
|
||||
>>>24 string version=
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: linux,v 1.89 2024/04/13 02:08:11 christos Exp $
|
||||
# $File: linux,v 1.90 2024/08/27 18:50:57 christos Exp $
|
||||
# linux: file(1) magic for Linux files
|
||||
#
|
||||
# Values for Linux/i386 binaries, from Daniel Quinlan <quinlan@yggdrasil.com>
|
||||
@ -620,26 +620,12 @@
|
||||
>8 lelong x version %d,
|
||||
>12 lelong x chunk_size %d
|
||||
|
||||
# SE Linux policy database
|
||||
0 lelong 0xf97cff8c SE Linux policy
|
||||
>16 lelong x v%d
|
||||
>20 lelong 1 MLS
|
||||
>24 lelong x %d symbols
|
||||
>28 lelong x %d ocons
|
||||
|
||||
# Summary: Xen saved domain file
|
||||
# Created by: Radek Vokal <rvokal@redhat.com>
|
||||
0 string LinuxGuestRecord Xen saved domain
|
||||
>20 search/256 (name
|
||||
>>&1 string x (name %s)
|
||||
|
||||
# Type: Xen, the virtual machine monitor
|
||||
# From: Radek Vokal <rvokal@redhat.com>
|
||||
0 string LinuxGuestRecord Xen saved domain
|
||||
#>2 regex \(name\ [^)]*\) %s
|
||||
>20 search/256 (name (name
|
||||
>>&1 string x %s...)
|
||||
|
||||
# Systemd journald files
|
||||
# See https://www.freedesktop.org/wiki/Software/systemd/journal-files/.
|
||||
# From: Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: msdos,v 1.207 2024/08/20 00:09:38 christos Exp $
|
||||
# $File: msdos,v 1.208 2024/08/27 18:50:57 christos Exp $
|
||||
# msdos: file(1) magic for MS-DOS files
|
||||
#
|
||||
|
||||
@ -1778,9 +1778,6 @@
|
||||
#512 string/b \354\245\301 Microsoft Word Document
|
||||
#!:mime application/msword
|
||||
|
||||
#
|
||||
0 string/b \xDB\xA5\x2D\x00 Microsoft WinWord 2.0 Document
|
||||
!:mime application/msword
|
||||
#
|
||||
0 string/b \xDB\xA5\x2D\x00 Microsoft WinWord 2.0 Document
|
||||
!:mime application/msword
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: printer,v 1.35 2023/07/30 16:31:47 christos Exp $
|
||||
# $File: printer,v 1.36 2024/08/27 18:50:57 christos Exp $
|
||||
# printer: file(1) magic for printer-formatted files
|
||||
#
|
||||
|
||||
@ -86,19 +86,6 @@
|
||||
# (LANGUAGE and Language)
|
||||
# For example the LaserJet 5L driver puts the "PJL ENTER LANGUAGE" in line 10
|
||||
# From: Uwe Bonnes <bon@elektron.ikp.physik.th-darmstadt.de>
|
||||
#
|
||||
0 string \033%-12345X@PJL HP Printer Job Language data
|
||||
>&0 string >\0 %s
|
||||
>>&0 string >\0 %s
|
||||
>>>&0 string >\0 %s
|
||||
>>>>&0 string >\0 %s
|
||||
#>15 string \ ENTER\ LANGUAGE\ =
|
||||
#>31 string PostScript PostScript
|
||||
|
||||
# From: Stefan Thurner <thurners@nicsys.de>
|
||||
0 string \033%-12345X@PJL
|
||||
>&0 search/10000 %! PJL encapsulated PostScript document text
|
||||
|
||||
# Rick Richardson <rickrich@gmail.com>
|
||||
|
||||
# For Fuji-Xerox Printers - HBPL stands for Host Based Printer Language
|
||||
@ -106,13 +93,14 @@
|
||||
# For Konica Minolta Printers - LAVAFLOW
|
||||
# For Samsung Printers - QPDL
|
||||
# For HP Printers - ZJS stands for Zenographics ZJStream
|
||||
0 string \033%-12345X@PJL HP Printer Job Language data
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE=HBPL - HBPL
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE=HIPERC - Oki Data HIPERC
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE=LAVAFLOW - Konica Minolta LAVAFLOW
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE=QPDL - Samsung QPDL
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE\ =\ QPDL - Samsung QPDL
|
||||
>0 search/10000 @PJL\ ENTER\ LANGUAGE=ZJS - HP ZJS
|
||||
# From: Stefan Thurner <thurners@nicsys.de>
|
||||
>&0 search/10000 %! PJL encapsulated PostScript document text
|
||||
# Summary: Hewlett-Packard printer firmware update
|
||||
# From: Joerg Jenderek
|
||||
# URL: https://support.hp.com/us-en/drivers/selfservice/hp-envy-6000e-all-in-one-printer-series/2100187505/model/2100187513
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: python,v 1.46 2024/06/16 14:51:11 christos Exp $
|
||||
# $File: python,v 1.47 2024/08/27 18:50:57 christos Exp $
|
||||
# python: file(1) magic for python
|
||||
#
|
||||
# Outlook puts """ too for urgent messages
|
||||
@ -250,6 +250,9 @@
|
||||
>0 regex \^from[\040\t]+([A-Za-z0-9_]|\\.)+[\040\t]+import.*$ Python script text executable
|
||||
!:strength + 15
|
||||
!:mime text/x-script.python
|
||||
>0 regex \^import\ [_[:alpha:]]+\ as\ [[:alpha:]][[:space:]]*$ Python script text executable
|
||||
!:mime text/x-script.python
|
||||
|
||||
|
||||
# def __init__ (self, ...):
|
||||
0 search/4096 def\ __init__
|
||||
@ -264,11 +267,6 @@
|
||||
!:strength + 15
|
||||
!:mime text/x-script.python
|
||||
|
||||
# import module [as abrev]
|
||||
0 search/8192 import
|
||||
>0 regex \^import\ [_[:alpha:]]+\ as\ [[:alpha:]][[:space:]]*$ Python script text executable
|
||||
!:mime text/x-script.python
|
||||
|
||||
# comments
|
||||
#0 search/4096 '''
|
||||
#>&0 regex .*'''$ Python script text executable
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# $File: wordprocessors,v 1.37 2024/06/29 15:40:34 christos Exp $
|
||||
# $File: wordprocessors,v 1.38 2024/08/27 18:50:57 christos Exp $
|
||||
# wordprocessors: file(1) magic fo word processors.
|
||||
#
|
||||
####### PWP file format used on Smith Corona Personal Word Processors:
|
||||
@ -563,15 +563,11 @@
|
||||
0 string DOC
|
||||
>43 byte 0x14 Just System Word Processor Ichitaro v4
|
||||
!:mime application/x-ichitaro4
|
||||
>144 string JDASH application/x-ichitaro4
|
||||
|
||||
0 string DOC
|
||||
>43 byte 0x15 Just System Word Processor Ichitaro v5
|
||||
!:mime application/x-ichitaro5
|
||||
|
||||
0 string DOC
|
||||
>43 byte 0x16 Just System Word Processor Ichitaro v6
|
||||
!:mime application/x-ichitaro6
|
||||
>144 string JDASH application/x-ichitaro4
|
||||
|
||||
# Type: Freemind mindmap documents
|
||||
# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
|
||||
|
Loading…
Reference in New Issue
Block a user