Deleted Added
full compact
windows (267897) windows (275698)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: windows,v 1.8 2014/04/30 21:41:02 christos Exp $
3# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $
4# windows: file(1) magic for Microsoft Windows
5#
6# This file is mainly reserved for files where programs
7# using them are run almost always on MS Windows 3.x or
8# above, or files only used exclusively in Windows OS,
9# where there is no better category to allocate for.
10# For example, even though WinZIP almost run on Windows
11# only, it is better to treat them as "archive" instead.

--- 142 unchanged lines hidden (view full) ---

154# Summary: Windows Registry text
155# Extension: .reg
156# Submitted by: Abel Cheung <abelcheung@gmail.com>
1570 string REGEDIT4\r\n\r\n Windows Registry text (Win95 or above)
1580 string Windows\ Registry\ Editor\
159>&0 string Version\ 5.00\r\n\r\n Windows Registry text (Win2K or above)
160
161# Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013
4# windows: file(1) magic for Microsoft Windows
5#
6# This file is mainly reserved for files where programs
7# using them are run almost always on MS Windows 3.x or
8# above, or files only used exclusively in Windows OS,
9# where there is no better category to allocate for.
10# For example, even though WinZIP almost run on Windows
11# only, it is better to treat them as "archive" instead.

--- 142 unchanged lines hidden (view full) ---

154# Summary: Windows Registry text
155# Extension: .reg
156# Submitted by: Abel Cheung <abelcheung@gmail.com>
1570 string REGEDIT4\r\n\r\n Windows Registry text (Win95 or above)
1580 string Windows\ Registry\ Editor\
159>&0 string Version\ 5.00\r\n\r\n Windows Registry text (Win2K or above)
160
161# Windows *.INF *.INI files updated by Joerg Jenderek at Apr 2013
162# emtpy ,comment , section , unicode line
1630 regex/s \\`(\r\n|;|[[]|\xFF\xFE)
162# empty ,comment , section
163# PR/383: remove unicode BOM because it is not portable across regex impls
1640 regex/s \\`(\\r\\n|;|[[])
164# left bracket in section line
165>&0 search/8192 [
166# http://en.wikipedia.org/wiki/Autorun.inf
167# http://msdn.microsoft.com/en-us/library/windows/desktop/cc144200.aspx
168>>&0 regex/c \^(autorun)]\r\n
169>>>&0 ubyte =0x5b INItialization configuration
170!:mime application/x-wine-extension-ini
171# From: Pal Tamas <folti@balabit.hu>

--- 165 unchanged lines hidden ---
165# left bracket in section line
166>&0 search/8192 [
167# http://en.wikipedia.org/wiki/Autorun.inf
168# http://msdn.microsoft.com/en-us/library/windows/desktop/cc144200.aspx
169>>&0 regex/c \^(autorun)]\r\n
170>>>&0 ubyte =0x5b INItialization configuration
171!:mime application/x-wine-extension-ini
172# From: Pal Tamas <folti@balabit.hu>

--- 165 unchanged lines hidden ---