/usr/share/mime/packages/quarry.xml is in quarry 0.2.0.dfsg.1-4.1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <?xml version="1.0"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-go-sgf">
<comment>Board game record</comment>
<glob pattern="*.sgf"/>
<!-- Usually SGF files start with one of these two properties at
offset 0. -->
<magic priority="50">
<match type="string" value="(;FF[" offset="0"/>
<match type="string" value="(;GM[" offset="0"/>
</magic>
<!-- These properties are usually not used as the opening ones,
but are good candidates to be used this way. -->
<magic priority="45">
<match type="string" value="(;CA[" offset="0"/>
<match type="string" value="(;AP[" offset="0"/>
</magic>
<!-- We also repeat matching on the first kilobyte of a file, but
give matches much lower priroty. -->
<magic priority="25">
<match type="string" value="(;FF[" offset="0:1019"/>
<match type="string" value="(;GM[" offset="0:1019"/>
</magic>
<magic priority="20">
<match type="string" value="(;CA[" offset="0:1019"/>
<match type="string" value="(;AP[" offset="0:1019"/>
</magic>
<!-- Last resort matching with very low priority. -->
<magic priority="5">
<match type="string" value="(;\n" offset="0"/>
<match type="string" value="(;\r\n" offset="0"/>
</magic>
<magic priority="0">
<match type="string" value="(;" offset="0"/>
</magic>
<alias type="text/sgf"/>
<alias type="text/x-sgf"/>
</mime-type>
</mime-info>
|