home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / hplip / base / magic.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2007-04-29  |  45.2 KB  |  5,423 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.5)
  3.  
  4. import re
  5. import struct
  6. __version__ = '0.1'
  7. magic = [
  8.     [
  9.         0x0L,
  10.         'leshort',
  11.         '=',
  12.         0x602L,
  13.         'application/x-alan-adventure-game'],
  14.     [
  15.         0x0L,
  16.         'string',
  17.         '=',
  18.         'TADS',
  19.         'application/x-tads-game'],
  20.     [
  21.         0x0L,
  22.         'short',
  23.         '=',
  24.         0x1A4L,
  25.         'application/x-executable-file'],
  26.     [
  27.         0x0L,
  28.         'short',
  29.         '=',
  30.         0x1A5L,
  31.         'application/x-executable-file'],
  32.     [
  33.         0x0L,
  34.         'leshort',
  35.         '=',
  36.         0x25BL,
  37.         'application/x-executable-file'],
  38.     [
  39.         0x0L,
  40.         'string',
  41.         '=',
  42.         'Core\x01',
  43.         'application/x-executable-file'],
  44.     [
  45.         0x0L,
  46.         'string',
  47.         '=',
  48.         'AMANDA: TAPESTART DATE',
  49.         'application/x-amanda-header'],
  50.     [
  51.         0x0L,
  52.         'belong',
  53.         '=',
  54.         0x3F3L,
  55.         'application/x-executable-file'],
  56.     [
  57.         0x0L,
  58.         'belong',
  59.         '=',
  60.         0x3E7L,
  61.         'application/x-library-file'],
  62.     [
  63.         0x0L,
  64.         'belong',
  65.         '=',
  66.         0x1B3L,
  67.         'video/mpeg'],
  68.     [
  69.         0x0L,
  70.         'belong',
  71.         '=',
  72.         0x1BAL,
  73.         'video/mpeg'],
  74.     [
  75.         0x0L,
  76.         'beshort&0xfff0',
  77.         '=',
  78.         0xFFF0L,
  79.         'audio/mpeg'],
  80.     [
  81.         0x4L,
  82.         'leshort',
  83.         '=',
  84.         0xAF11L,
  85.         'video/fli'],
  86.     [
  87.         0x4L,
  88.         'leshort',
  89.         '=',
  90.         0xAF12L,
  91.         'video/flc'],
  92.     [
  93.         0x0L,
  94.         'string',
  95.         '=',
  96.         'MOVI',
  97.         'video/x-sgi-movie'],
  98.     [
  99.         0x4L,
  100.         'string',
  101.         '=',
  102.         'moov',
  103.         'video/quicktime'],
  104.     [
  105.         0x4L,
  106.         'string',
  107.         '=',
  108.         'mdat',
  109.         'video/quicktime'],
  110.     [
  111.         0x0L,
  112.         'long',
  113.         '=',
  114.         0x188CAL,
  115.         'application/x-apl-workspace'],
  116.     [
  117.         0x0L,
  118.         'string',
  119.         '=',
  120.         'FiLeStArTfIlEsTaRt',
  121.         'text/x-apple-binscii'],
  122.     [
  123.         0x0L,
  124.         'string',
  125.         '=',
  126.         '\nGL',
  127.         'application/data'],
  128.     [
  129.         0x0L,
  130.         'string',
  131.         '=',
  132.         'v\xff',
  133.         'application/data'],
  134.     [
  135.         0x0L,
  136.         'string',
  137.         '=',
  138.         'NuFile',
  139.         'application/data'],
  140.     [
  141.         0x0L,
  142.         'string',
  143.         '=',
  144.         'N\xf5F\xe9l\xe5',
  145.         'application/data'],
  146.     [
  147.         0x0L,
  148.         'belong',
  149.         '=',
  150.         0x51600L,
  151.         'application/data'],
  152.     [
  153.         0x0L,
  154.         'belong',
  155.         '=',
  156.         0x51607L,
  157.         'application/data'],
  158.     [
  159.         0x101L,
  160.         'string',
  161.         '=',
  162.         'ustar\x00',
  163.         'application/x-tar'],
  164.     [
  165.         0x101L,
  166.         'string',
  167.         '=',
  168.         'ustar  \x00',
  169.         'application/x-gtar'],
  170.     [
  171.         0x0L,
  172.         'short',
  173.         '=',
  174.         0x11433L,
  175.         'application/x-cpio'],
  176.     [
  177.         0x0L,
  178.         'short',
  179.         '=',
  180.         0x230C9L,
  181.         'application/x-bcpio'],
  182.     [
  183.         0x0L,
  184.         'string',
  185.         '=',
  186.         '070707',
  187.         'application/x-cpio'],
  188.     [
  189.         0x0L,
  190.         'string',
  191.         '=',
  192.         '070701',
  193.         'application/x-cpio'],
  194.     [
  195.         0x0L,
  196.         'string',
  197.         '=',
  198.         '070702',
  199.         'application/x-cpio'],
  200.     [
  201.         0x0L,
  202.         'string',
  203.         '=',
  204.         '!<arch>\ndebian',
  205.         'application/x-dpkg'],
  206.     [
  207.         0x0L,
  208.         'long',
  209.         '=',
  210.         0x2B593L,
  211.         'application/x-ar'],
  212.     [
  213.         0x0L,
  214.         'short',
  215.         '=',
  216.         0x2B593L,
  217.         'application/data'],
  218.     [
  219.         0x0L,
  220.         'long',
  221.         '=',
  222.         0x2B589L,
  223.         'application/data'],
  224.     [
  225.         0x0L,
  226.         'short',
  227.         '=',
  228.         0x2B589L,
  229.         'application/data'],
  230.     [
  231.         0x0L,
  232.         'long',
  233.         '=',
  234.         0x188CAL,
  235.         'application/x-apl-workspace'],
  236.     [
  237.         0x0L,
  238.         'string',
  239.         '=',
  240.         '<ar>',
  241.         'application/x-ar'],
  242.     [
  243.         0x0L,
  244.         'string',
  245.         '=',
  246.         '!<arch>\n__________E',
  247.         'application/x-ar'],
  248.     [
  249.         0x0L,
  250.         'string',
  251.         '=',
  252.         '-h-',
  253.         'application/data'],
  254.     [
  255.         0x0L,
  256.         'string',
  257.         '=',
  258.         '!<arch>',
  259.         'application/x-ar'],
  260.     [
  261.         0x0L,
  262.         'string',
  263.         '=',
  264.         '<ar>',
  265.         'application/x-ar'],
  266.     [
  267.         0x0L,
  268.         'string',
  269.         '=',
  270.         '<ar>',
  271.         'application/x-ar'],
  272.     [
  273.         0x0L,
  274.         'belong',
  275.         '=',
  276.         0x65FF0000L,
  277.         'application/x-ar'],
  278.     [
  279.         0x0L,
  280.         'belong',
  281.         '=',
  282.         0x3C61723EL,
  283.         'application/x-ar'],
  284.     [
  285.         0x0L,
  286.         'long',
  287.         '=',
  288.         0x213C6172L,
  289.         'application/x-ar'],
  290.     [
  291.         0x0L,
  292.         'lelong',
  293.         '=',
  294.         0x2B593L,
  295.         'application/data'],
  296.     [
  297.         0x0L,
  298.         'leshort',
  299.         '=',
  300.         0x2B593L,
  301.         'application/data'],
  302.     [
  303.         0x0L,
  304.         'lelong',
  305.         '=',
  306.         0x2B589L,
  307.         'application/data'],
  308.     [
  309.         0x0L,
  310.         'leshort',
  311.         '=',
  312.         0x2B589L,
  313.         'application/data'],
  314.     [
  315.         0x0L,
  316.         'lelong',
  317.         '=',
  318.         0x39BEDL,
  319.         'application/data'],
  320.     [
  321.         0x0L,
  322.         'lelong',
  323.         '=',
  324.         0x39BEEL,
  325.         'application/data'],
  326.     [
  327.         0x0L,
  328.         'lelong&0x8080ffff',
  329.         '=',
  330.         0x81AL,
  331.         'application/x-arc'],
  332.     [
  333.         0x0L,
  334.         'lelong&0x8080ffff',
  335.         '=',
  336.         0x91AL,
  337.         'application/x-arc'],
  338.     [
  339.         0x0L,
  340.         'lelong&0x8080ffff',
  341.         '=',
  342.         0x21AL,
  343.         'application/x-arc'],
  344.     [
  345.         0x0L,
  346.         'lelong&0x8080ffff',
  347.         '=',
  348.         0x31AL,
  349.         'application/x-arc'],
  350.     [
  351.         0x0L,
  352.         'lelong&0x8080ffff',
  353.         '=',
  354.         0x41AL,
  355.         'application/x-arc'],
  356.     [
  357.         0x0L,
  358.         'lelong&0x8080ffff',
  359.         '=',
  360.         0x61AL,
  361.         'application/x-arc'],
  362.     [
  363.         0x0L,
  364.         'string',
  365.         '=',
  366.         '\x1aarchive',
  367.         'application/data'],
  368.     [
  369.         0x0L,
  370.         'leshort',
  371.         '=',
  372.         0xEA60L,
  373.         'application/x-arj'],
  374.     [
  375.         0x0L,
  376.         'string',
  377.         '=',
  378.         'HPAK',
  379.         'application/data'],
  380.     [
  381.         0x0L,
  382.         'string',
  383.         '=',
  384.         '\xe9,\x01JAM application/data',
  385.         ''],
  386.     [
  387.         0x2L,
  388.         'string',
  389.         '=',
  390.         '-lh0-',
  391.         'application/x-lha'],
  392.     [
  393.         0x2L,
  394.         'string',
  395.         '=',
  396.         '-lh1-',
  397.         'application/x-lha'],
  398.     [
  399.         0x2L,
  400.         'string',
  401.         '=',
  402.         '-lz4-',
  403.         'application/x-lha'],
  404.     [
  405.         0x2L,
  406.         'string',
  407.         '=',
  408.         '-lz5-',
  409.         'application/x-lha'],
  410.     [
  411.         0x2L,
  412.         'string',
  413.         '=',
  414.         '-lzs-',
  415.         'application/x-lha'],
  416.     [
  417.         0x2L,
  418.         'string',
  419.         '=',
  420.         '-lh -',
  421.         'application/x-lha'],
  422.     [
  423.         0x2L,
  424.         'string',
  425.         '=',
  426.         '-lhd-',
  427.         'application/x-lha'],
  428.     [
  429.         0x2L,
  430.         'string',
  431.         '=',
  432.         '-lh2-',
  433.         'application/x-lha'],
  434.     [
  435.         0x2L,
  436.         'string',
  437.         '=',
  438.         '-lh3-',
  439.         'application/x-lha'],
  440.     [
  441.         0x2L,
  442.         'string',
  443.         '=',
  444.         '-lh4-',
  445.         'application/x-lha'],
  446.     [
  447.         0x2L,
  448.         'string',
  449.         '=',
  450.         '-lh5-',
  451.         'application/x-lha'],
  452.     [
  453.         0x0L,
  454.         'string',
  455.         '=',
  456.         'Rar!',
  457.         'application/x-rar'],
  458.     [
  459.         0x0L,
  460.         'string',
  461.         '=',
  462.         'SQSH',
  463.         'application/data'],
  464.     [
  465.         0x0L,
  466.         'string',
  467.         '=',
  468.         'UC2\x1a',
  469.         'application/data'],
  470.     [
  471.         0x0L,
  472.         'string',
  473.         '=',
  474.         'PK\x03\x04',
  475.         'application/zip'],
  476.     [
  477.         0x14L,
  478.         'lelong',
  479.         '=',
  480.         0xFDC4A7DCL,
  481.         'application/x-zoo'],
  482.     [
  483.         0xAL,
  484.         'string',
  485.         '=',
  486.         '# This is a shell archive',
  487.         'application/x-shar'],
  488.     [
  489.         0x0L,
  490.         'string',
  491.         '=',
  492.         '*STA',
  493.         'application/data'],
  494.     [
  495.         0x0L,
  496.         'string',
  497.         '=',
  498.         '2278',
  499.         'application/data'],
  500.     [
  501.         0x0L,
  502.         'beshort',
  503.         '=',
  504.         0x230L,
  505.         'application/x-executable-file'],
  506.     [
  507.         0x0L,
  508.         'beshort',
  509.         '=',
  510.         0x231L,
  511.         'application/x-executable-file'],
  512.     [
  513.         0x0L,
  514.         'string',
  515.         '=',
  516.         '\x00\x04\x1e\x8a\x80',
  517.         'application/core'],
  518.     [
  519.         0x0L,
  520.         'string',
  521.         '=',
  522.         '.snd',
  523.         'audio/basic'],
  524.     [
  525.         0x0L,
  526.         'lelong',
  527.         '=',
  528.         0x64732EL,
  529.         'audio/basic'],
  530.     [
  531.         0x0L,
  532.         'string',
  533.         '=',
  534.         'MThd',
  535.         'audio/midi'],
  536.     [
  537.         0x0L,
  538.         'string',
  539.         '=',
  540.         'CTMF',
  541.         'audio/x-cmf'],
  542.     [
  543.         0x0L,
  544.         'string',
  545.         '=',
  546.         'SBI',
  547.         'audio/x-sbi'],
  548.     [
  549.         0x0L,
  550.         'string',
  551.         '=',
  552.         'Creative Voice File',
  553.         'audio/x-voc'],
  554.     [
  555.         0x0L,
  556.         'belong',
  557.         '=',
  558.         0x4E54524BL,
  559.         'audio/x-multitrack'],
  560.     [
  561.         0x0L,
  562.         'string',
  563.         '=',
  564.         'RIFF',
  565.         'audio/x-wav'],
  566.     [
  567.         0x0L,
  568.         'string',
  569.         '=',
  570.         'EMOD',
  571.         'audio/x-emod'],
  572.     [
  573.         0x0L,
  574.         'belong',
  575.         '=',
  576.         0x2E7261FDL,
  577.         'audio/x-pn-realaudio'],
  578.     [
  579.         0x0L,
  580.         'string',
  581.         '=',
  582.         'MTM',
  583.         'audio/x-multitrack'],
  584.     [
  585.         0x0L,
  586.         'string',
  587.         '=',
  588.         'if',
  589.         'audio/x-669-mod'],
  590.     [
  591.         0x0L,
  592.         'string',
  593.         '=',
  594.         'FAR',
  595.         'audio/mod'],
  596.     [
  597.         0x0L,
  598.         'string',
  599.         '=',
  600.         'MAS_U',
  601.         'audio/x-multimate-mod'],
  602.     [
  603.         0x2CL,
  604.         'string',
  605.         '=',
  606.         'SCRM',
  607.         'audio/x-st3-mod'],
  608.     [
  609.         0x0L,
  610.         'string',
  611.         '=',
  612.         'GF1PATCH110\x00ID#000002\x00',
  613.         'audio/x-gus-patch'],
  614.     [
  615.         0x0L,
  616.         'string',
  617.         '=',
  618.         'GF1PATCH100\x00ID#000002\x00',
  619.         'audio/x-gus-patch'],
  620.     [
  621.         0x0L,
  622.         'string',
  623.         '=',
  624.         'JN',
  625.         'audio/x-669-mod'],
  626.     [
  627.         0x0L,
  628.         'string',
  629.         '=',
  630.         'UN05',
  631.         'audio/x-mikmod-uni'],
  632.     [
  633.         0x0L,
  634.         'string',
  635.         '=',
  636.         'Extended Module:',
  637.         'audio/x-ft2-mod'],
  638.     [
  639.         0x15L,
  640.         'string',
  641.         '=',
  642.         '!SCREAM!',
  643.         'audio/x-st2-mod'],
  644.     [
  645.         0x438L,
  646.         'string',
  647.         '=',
  648.         'M.K.',
  649.         'audio/x-protracker-mod'],
  650.     [
  651.         0x438L,
  652.         'string',
  653.         '=',
  654.         'M!K!',
  655.         'audio/x-protracker-mod'],
  656.     [
  657.         0x438L,
  658.         'string',
  659.         '=',
  660.         'FLT4',
  661.         'audio/x-startracker-mod'],
  662.     [
  663.         0x438L,
  664.         'string',
  665.         '=',
  666.         '4CHN',
  667.         'audio/x-fasttracker-mod'],
  668.     [
  669.         0x438L,
  670.         'string',
  671.         '=',
  672.         '6CHN',
  673.         'audio/x-fasttracker-mod'],
  674.     [
  675.         0x438L,
  676.         'string',
  677.         '=',
  678.         '8CHN',
  679.         'audio/x-fasttracker-mod'],
  680.     [
  681.         0x438L,
  682.         'string',
  683.         '=',
  684.         'CD81',
  685.         'audio/x-oktalyzer-mod'],
  686.     [
  687.         0x438L,
  688.         'string',
  689.         '=',
  690.         'OKTA',
  691.         'audio/x-oktalyzer-mod'],
  692.     [
  693.         0x438L,
  694.         'string',
  695.         '=',
  696.         '16CN',
  697.         'audio/x-taketracker-mod'],
  698.     [
  699.         0x438L,
  700.         'string',
  701.         '=',
  702.         '32CN',
  703.         'audio/x-taketracker-mod'],
  704.     [
  705.         0x0L,
  706.         'string',
  707.         '=',
  708.         'TOC',
  709.         'audio/x-toc'],
  710.     [
  711.         0x0L,
  712.         'short',
  713.         '=',
  714.         0xD49L,
  715.         'application/x-executable-file'],
  716.     [
  717.         0x0L,
  718.         'long',
  719.         '=',
  720.         0x196L,
  721.         'application/x-executable-file'],
  722.     [
  723.         0x0L,
  724.         'short',
  725.         '=',
  726.         0x196L,
  727.         'application/x-executable-file'],
  728.     [
  729.         0x0L,
  730.         'short',
  731.         '=',
  732.         0xBB9L,
  733.         'application/x-executable-file'],
  734.     [
  735.         0x0L,
  736.         'lelong',
  737.         '=',
  738.         0x13AL,
  739.         'application/x-executable-file'],
  740.     [
  741.         0x0L,
  742.         'string',
  743.         '=',
  744.         '//',
  745.         'text/cpp'],
  746.     [
  747.         0x0L,
  748.         'string',
  749.         '=',
  750.         '\\\\1cw\\',
  751.         'application/data'],
  752.     [
  753.         0x0L,
  754.         'string',
  755.         '=',
  756.         '\\\\1cw',
  757.         'application/data'],
  758.     [
  759.         0x0L,
  760.         'belong&0xffffff00',
  761.         '=',
  762.         0x85011400L,
  763.         'application/data'],
  764.     [
  765.         0x0L,
  766.         'belong&0xffffff00',
  767.         '=',
  768.         0x8501CB00L,
  769.         'application/data'],
  770.     [
  771.         0x0L,
  772.         'short',
  773.         '=',
  774.         0x23FL,
  775.         'application/x-executable-file'],
  776.     [
  777.         0x0L,
  778.         'short',
  779.         '=',
  780.         0x241L,
  781.         'application/x-executable-file'],
  782.     [
  783.         0x4L,
  784.         'string',
  785.         '=',
  786.         'pipe',
  787.         'application/data'],
  788.     [
  789.         0x4L,
  790.         'string',
  791.         '=',
  792.         'prof',
  793.         'application/data'],
  794.     [
  795.         0x0L,
  796.         'string',
  797.         '=',
  798.         ': shell',
  799.         'application/data'],
  800.     [
  801.         0x0L,
  802.         'string',
  803.         '=',
  804.         '#!/bin/sh',
  805.         'application/x-sh'],
  806.     [
  807.         0x0L,
  808.         'string',
  809.         '=',
  810.         '#! /bin/sh',
  811.         'application/x-sh'],
  812.     [
  813.         0x0L,
  814.         'string',
  815.         '=',
  816.         '#! /bin/sh',
  817.         'application/x-sh'],
  818.     [
  819.         0x0L,
  820.         'string',
  821.         '=',
  822.         '#!/bin/csh',
  823.         'application/x-csh'],
  824.     [
  825.         0x0L,
  826.         'string',
  827.         '=',
  828.         '#! /bin/csh',
  829.         'application/x-csh'],
  830.     [
  831.         0x0L,
  832.         'string',
  833.         '=',
  834.         '#! /bin/csh',
  835.         'application/x-csh'],
  836.     [
  837.         0x0L,
  838.         'string',
  839.         '=',
  840.         '#!/bin/ksh',
  841.         'application/x-ksh'],
  842.     [
  843.         0x0L,
  844.         'string',
  845.         '=',
  846.         '#! /bin/ksh',
  847.         'application/x-ksh'],
  848.     [
  849.         0x0L,
  850.         'string',
  851.         '=',
  852.         '#! /bin/ksh',
  853.         'application/x-ksh'],
  854.     [
  855.         0x0L,
  856.         'string',
  857.         '=',
  858.         '#!/bin/tcsh',
  859.         'application/x-csh'],
  860.     [
  861.         0x0L,
  862.         'string',
  863.         '=',
  864.         '#! /bin/tcsh',
  865.         'application/x-csh'],
  866.     [
  867.         0x0L,
  868.         'string',
  869.         '=',
  870.         '#! /bin/tcsh',
  871.         'application/x-csh'],
  872.     [
  873.         0x0L,
  874.         'string',
  875.         '=',
  876.         '#!/usr/local/tcsh',
  877.         'application/x-csh'],
  878.     [
  879.         0x0L,
  880.         'string',
  881.         '=',
  882.         '#! /usr/local/tcsh',
  883.         'application/x-csh'],
  884.     [
  885.         0x0L,
  886.         'string',
  887.         '=',
  888.         '#!/usr/local/bin/tcsh',
  889.         'application/x-csh'],
  890.     [
  891.         0x0L,
  892.         'string',
  893.         '=',
  894.         '#! /usr/local/bin/tcsh',
  895.         'application/x-csh'],
  896.     [
  897.         0x0L,
  898.         'string',
  899.         '=',
  900.         '#! /usr/local/bin/tcsh',
  901.         'application/x-csh'],
  902.     [
  903.         0x0L,
  904.         'string',
  905.         '=',
  906.         '#!/usr/local/bin/zsh',
  907.         'application/x-zsh'],
  908.     [
  909.         0x0L,
  910.         'string',
  911.         '=',
  912.         '#! /usr/local/bin/zsh',
  913.         'application/x-zsh'],
  914.     [
  915.         0x0L,
  916.         'string',
  917.         '=',
  918.         '#! /usr/local/bin/zsh',
  919.         'application/x-zsh'],
  920.     [
  921.         0x0L,
  922.         'string',
  923.         '=',
  924.         '#!/usr/local/bin/ash',
  925.         'application/x-sh'],
  926.     [
  927.         0x0L,
  928.         'string',
  929.         '=',
  930.         '#! /usr/local/bin/ash',
  931.         'application/x-zsh'],
  932.     [
  933.         0x0L,
  934.         'string',
  935.         '=',
  936.         '#! /usr/local/bin/ash',
  937.         'application/x-zsh'],
  938.     [
  939.         0x0L,
  940.         'string',
  941.         '=',
  942.         '#!/usr/local/bin/ae',
  943.         'text/script'],
  944.     [
  945.         0x0L,
  946.         'string',
  947.         '=',
  948.         '#! /usr/local/bin/ae',
  949.         'text/script'],
  950.     [
  951.         0x0L,
  952.         'string',
  953.         '=',
  954.         '#! /usr/local/bin/ae',
  955.         'text/script'],
  956.     [
  957.         0x0L,
  958.         'string',
  959.         '=',
  960.         '#!/bin/nawk',
  961.         'application/x-awk'],
  962.     [
  963.         0x0L,
  964.         'string',
  965.         '=',
  966.         '#! /bin/nawk',
  967.         'application/x-awk'],
  968.     [
  969.         0x0L,
  970.         'string',
  971.         '=',
  972.         '#! /bin/nawk',
  973.         'application/x-awk'],
  974.     [
  975.         0x0L,
  976.         'string',
  977.         '=',
  978.         '#!/usr/bin/nawk',
  979.         'application/x-awk'],
  980.     [
  981.         0x0L,
  982.         'string',
  983.         '=',
  984.         '#! /usr/bin/nawk',
  985.         'application/x-awk'],
  986.     [
  987.         0x0L,
  988.         'string',
  989.         '=',
  990.         '#! /usr/bin/nawk',
  991.         'application/x-awk'],
  992.     [
  993.         0x0L,
  994.         'string',
  995.         '=',
  996.         '#!/usr/local/bin/nawk',
  997.         'application/x-awk'],
  998.     [
  999.         0x0L,
  1000.         'string',
  1001.         '=',
  1002.         '#! /usr/local/bin/nawk',
  1003.         'application/x-awk'],
  1004.     [
  1005.         0x0L,
  1006.         'string',
  1007.         '=',
  1008.         '#! /usr/local/bin/nawk',
  1009.         'application/x-awk'],
  1010.     [
  1011.         0x0L,
  1012.         'string',
  1013.         '=',
  1014.         '#!/bin/gawk',
  1015.         'application/x-awk'],
  1016.     [
  1017.         0x0L,
  1018.         'string',
  1019.         '=',
  1020.         '#! /bin/gawk',
  1021.         'application/x-awk'],
  1022.     [
  1023.         0x0L,
  1024.         'string',
  1025.         '=',
  1026.         '#! /bin/gawk',
  1027.         'application/x-awk'],
  1028.     [
  1029.         0x0L,
  1030.         'string',
  1031.         '=',
  1032.         '#!/usr/bin/gawk',
  1033.         'application/x-awk'],
  1034.     [
  1035.         0x0L,
  1036.         'string',
  1037.         '=',
  1038.         '#! /usr/bin/gawk',
  1039.         'application/x-awk'],
  1040.     [
  1041.         0x0L,
  1042.         'string',
  1043.         '=',
  1044.         '#! /usr/bin/gawk',
  1045.         'application/x-awk'],
  1046.     [
  1047.         0x0L,
  1048.         'string',
  1049.         '=',
  1050.         '#!/usr/local/bin/gawk',
  1051.         'application/x-awk'],
  1052.     [
  1053.         0x0L,
  1054.         'string',
  1055.         '=',
  1056.         '#! /usr/local/bin/gawk',
  1057.         'application/x-awk'],
  1058.     [
  1059.         0x0L,
  1060.         'string',
  1061.         '=',
  1062.         '#! /usr/local/bin/gawk',
  1063.         'application/x-awk'],
  1064.     [
  1065.         0x0L,
  1066.         'string',
  1067.         '=',
  1068.         '#!/bin/awk',
  1069.         'application/x-awk'],
  1070.     [
  1071.         0x0L,
  1072.         'string',
  1073.         '=',
  1074.         '#! /bin/awk',
  1075.         'application/x-awk'],
  1076.     [
  1077.         0x0L,
  1078.         'string',
  1079.         '=',
  1080.         '#! /bin/awk',
  1081.         'application/x-awk'],
  1082.     [
  1083.         0x0L,
  1084.         'string',
  1085.         '=',
  1086.         '#!/usr/bin/awk',
  1087.         'application/x-awk'],
  1088.     [
  1089.         0x0L,
  1090.         'string',
  1091.         '=',
  1092.         '#! /usr/bin/awk',
  1093.         'application/x-awk'],
  1094.     [
  1095.         0x0L,
  1096.         'string',
  1097.         '=',
  1098.         '#! /usr/bin/awk',
  1099.         'application/x-awk'],
  1100.     [
  1101.         0x0L,
  1102.         'string',
  1103.         '=',
  1104.         'BEGIN',
  1105.         'application/x-awk'],
  1106.     [
  1107.         0x0L,
  1108.         'string',
  1109.         '=',
  1110.         '#!/bin/perl',
  1111.         'application/x-perl'],
  1112.     [
  1113.         0x0L,
  1114.         'string',
  1115.         '=',
  1116.         '#! /bin/perl',
  1117.         'application/x-perl'],
  1118.     [
  1119.         0x0L,
  1120.         'string',
  1121.         '=',
  1122.         '#! /bin/perl',
  1123.         'application/x-perl'],
  1124.     [
  1125.         0x0L,
  1126.         'string',
  1127.         '=',
  1128.         'eval "exec /bin/perl',
  1129.         'application/x-perl'],
  1130.     [
  1131.         0x0L,
  1132.         'string',
  1133.         '=',
  1134.         '#!/usr/bin/perl',
  1135.         'application/x-perl'],
  1136.     [
  1137.         0x0L,
  1138.         'string',
  1139.         '=',
  1140.         '#! /usr/bin/perl',
  1141.         'application/x-perl'],
  1142.     [
  1143.         0x0L,
  1144.         'string',
  1145.         '=',
  1146.         '#! /usr/bin/perl',
  1147.         'application/x-perl'],
  1148.     [
  1149.         0x0L,
  1150.         'string',
  1151.         '=',
  1152.         'eval "exec /usr/bin/perl',
  1153.         'application/x-perl'],
  1154.     [
  1155.         0x0L,
  1156.         'string',
  1157.         '=',
  1158.         '#!/usr/local/bin/perl',
  1159.         'application/x-perl'],
  1160.     [
  1161.         0x0L,
  1162.         'string',
  1163.         '=',
  1164.         '#! /usr/local/bin/perl',
  1165.         'application/x-perl'],
  1166.     [
  1167.         0x0L,
  1168.         'string',
  1169.         '=',
  1170.         '#! /usr/local/bin/perl',
  1171.         'application/x-perl'],
  1172.     [
  1173.         0x0L,
  1174.         'string',
  1175.         '=',
  1176.         'eval "exec /usr/local/bin/perl',
  1177.         'application/x-perl'],
  1178.     [
  1179.         0x0L,
  1180.         'string',
  1181.         '=',
  1182.         '#!/bin/python',
  1183.         'application/x-python'],
  1184.     [
  1185.         0x0L,
  1186.         'string',
  1187.         '=',
  1188.         '#! /bin/python',
  1189.         'application/x-python'],
  1190.     [
  1191.         0x0L,
  1192.         'string',
  1193.         '=',
  1194.         '#! /bin/python',
  1195.         'application/x-python'],
  1196.     [
  1197.         0x0L,
  1198.         'string',
  1199.         '=',
  1200.         'eval "exec /bin/python',
  1201.         'application/x-python'],
  1202.     [
  1203.         0x0L,
  1204.         'string',
  1205.         '=',
  1206.         '#!/usr/bin/python',
  1207.         'application/x-python'],
  1208.     [
  1209.         0x0L,
  1210.         'string',
  1211.         '=',
  1212.         '#! /usr/bin/python',
  1213.         'application/x-python'],
  1214.     [
  1215.         0x0L,
  1216.         'string',
  1217.         '=',
  1218.         '#! /usr/bin/python',
  1219.         'application/x-python'],
  1220.     [
  1221.         0x0L,
  1222.         'string',
  1223.         '=',
  1224.         'eval "exec /usr/bin/python',
  1225.         'application/x-python'],
  1226.     [
  1227.         0x0L,
  1228.         'string',
  1229.         '=',
  1230.         '#!/usr/local/bin/python',
  1231.         'application/x-python'],
  1232.     [
  1233.         0x0L,
  1234.         'string',
  1235.         '=',
  1236.         '#! /usr/local/bin/python',
  1237.         'application/x-python'],
  1238.     [
  1239.         0x0L,
  1240.         'string',
  1241.         '=',
  1242.         '#! /usr/local/bin/python',
  1243.         'application/x-python'],
  1244.     [
  1245.         0x0L,
  1246.         'string',
  1247.         '=',
  1248.         'eval "exec /usr/local/bin/python',
  1249.         'application/x-python'],
  1250.     [
  1251.         0x0L,
  1252.         'string',
  1253.         '=',
  1254.         '#!/usr/bin/env python',
  1255.         'application/x-python'],
  1256.     [
  1257.         0x0L,
  1258.         'string',
  1259.         '=',
  1260.         '#! /usr/bin/env python',
  1261.         'application/x-python'],
  1262.     [
  1263.         0x0L,
  1264.         'string',
  1265.         '=',
  1266.         '#!/bin/rc',
  1267.         'text/script'],
  1268.     [
  1269.         0x0L,
  1270.         'string',
  1271.         '=',
  1272.         '#! /bin/rc',
  1273.         'text/script'],
  1274.     [
  1275.         0x0L,
  1276.         'string',
  1277.         '=',
  1278.         '#! /bin/rc',
  1279.         'text/script'],
  1280.     [
  1281.         0x0L,
  1282.         'string',
  1283.         '=',
  1284.         '#!/bin/bash',
  1285.         'application/x-sh'],
  1286.     [
  1287.         0x0L,
  1288.         'string',
  1289.         '=',
  1290.         '#! /bin/bash',
  1291.         'application/x-sh'],
  1292.     [
  1293.         0x0L,
  1294.         'string',
  1295.         '=',
  1296.         '#! /bin/bash',
  1297.         'application/x-sh'],
  1298.     [
  1299.         0x0L,
  1300.         'string',
  1301.         '=',
  1302.         '#!/usr/local/bin/bash',
  1303.         'application/x-sh'],
  1304.     [
  1305.         0x0L,
  1306.         'string',
  1307.         '=',
  1308.         '#! /usr/local/bin/bash',
  1309.         'application/x-sh'],
  1310.     [
  1311.         0x0L,
  1312.         'string',
  1313.         '=',
  1314.         '#! /usr/local/bin/bash',
  1315.         'application/x-sh'],
  1316.     [
  1317.         0x0L,
  1318.         'string',
  1319.         '=',
  1320.         '#! /',
  1321.         'text/script'],
  1322.     [
  1323.         0x0L,
  1324.         'string',
  1325.         '=',
  1326.         '#! /',
  1327.         'text/script'],
  1328.     [
  1329.         0x0L,
  1330.         'string',
  1331.         '=',
  1332.         '#!/',
  1333.         'text/script'],
  1334.     [
  1335.         0x0L,
  1336.         'string',
  1337.         '=',
  1338.         '#! text/script',
  1339.         ''],
  1340.     [
  1341.         0x0L,
  1342.         'string',
  1343.         '=',
  1344.         '\x1f\x9d',
  1345.         'application/compress'],
  1346.     [
  1347.         0x0L,
  1348.         'string',
  1349.         '=',
  1350.         '\x1f\x8b',
  1351.         'application/x-gzip'],
  1352.     [
  1353.         0x0L,
  1354.         'string',
  1355.         '=',
  1356.         '\x1f\x1e',
  1357.         'application/data'],
  1358.     [
  1359.         0x0L,
  1360.         'short',
  1361.         '=',
  1362.         0x441DL,
  1363.         'application/data'],
  1364.     [
  1365.         0x0L,
  1366.         'short',
  1367.         '=',
  1368.         0x1FFFL,
  1369.         'application/data'],
  1370.     [
  1371.         0x0L,
  1372.         'string',
  1373.         '=',
  1374.         '\xff\x1f',
  1375.         'application/data'],
  1376.     [
  1377.         0x0L,
  1378.         'short',
  1379.         '=',
  1380.         0x237FDL,
  1381.         'application/data'],
  1382.     [
  1383.         0x0L,
  1384.         'string',
  1385.         '=',
  1386.         'BZh',
  1387.         'application/x-bzip2'],
  1388.     [
  1389.         0x0L,
  1390.         'leshort',
  1391.         '=',
  1392.         0xFF76L,
  1393.         'application/data'],
  1394.     [
  1395.         0x0L,
  1396.         'leshort',
  1397.         '=',
  1398.         0xFE76L,
  1399.         'application/data'],
  1400.     [
  1401.         0x0L,
  1402.         'leshort',
  1403.         '=',
  1404.         0xFD76L,
  1405.         'application/x-lzh'],
  1406.     [
  1407.         0x0L,
  1408.         'string',
  1409.         '=',
  1410.         '\x1f\x9f',
  1411.         'application/data'],
  1412.     [
  1413.         0x0L,
  1414.         'string',
  1415.         '=',
  1416.         '\x1f\x9e',
  1417.         'application/data'],
  1418.     [
  1419.         0x0L,
  1420.         'string',
  1421.         '=',
  1422.         '\x1f\xa0',
  1423.         'application/data'],
  1424.     [
  1425.         0x0L,
  1426.         'string',
  1427.         '=',
  1428.         'BZ',
  1429.         'application/x-bzip'],
  1430.     [
  1431.         0x0L,
  1432.         'string',
  1433.         '=',
  1434.         '\x89LZO\x00\r\n\x1a\n',
  1435.         'application/data'],
  1436.     [
  1437.         0x0L,
  1438.         'belong',
  1439.         '=',
  1440.         0x1FBL,
  1441.         'application/x-object-file'],
  1442.     [
  1443.         0x0L,
  1444.         'belong',
  1445.         '=',
  1446.         0x201L,
  1447.         'application/x-executable-file'],
  1448.     [
  1449.         0x0L,
  1450.         'belong',
  1451.         '=',
  1452.         0x203L,
  1453.         'application/x-executable-file'],
  1454.     [
  1455.         0x0L,
  1456.         'belong',
  1457.         '=',
  1458.         0x205L,
  1459.         'application/x-executable-file'],
  1460.     [
  1461.         0x0L,
  1462.         'belong',
  1463.         '=',
  1464.         0x11257L,
  1465.         'application/core'],
  1466.     [
  1467.         0x18L,
  1468.         'belong',
  1469.         '=',
  1470.         0xEA6BL,
  1471.         'application/data'],
  1472.     [
  1473.         0x18L,
  1474.         'belong',
  1475.         '=',
  1476.         0xEA6CL,
  1477.         'application/data'],
  1478.     [
  1479.         0x18L,
  1480.         'belong',
  1481.         '=',
  1482.         0xEA6DL,
  1483.         'application/data'],
  1484.     [
  1485.         0x18L,
  1486.         'belong',
  1487.         '=',
  1488.         0xEA6EL,
  1489.         'application/data'],
  1490.     [
  1491.         0x0L,
  1492.         'belong',
  1493.         '=',
  1494.         0x259L,
  1495.         'application/x-object-file'],
  1496.     [
  1497.         0x0L,
  1498.         'belong',
  1499.         '=',
  1500.         0x25FL,
  1501.         'application/data'],
  1502.     [
  1503.         0x0L,
  1504.         'belong',
  1505.         '=',
  1506.         0x13579ACEL,
  1507.         'application/x-gdbm'],
  1508.     [
  1509.         0x0L,
  1510.         'lelong',
  1511.         '=',
  1512.         0x13579ACEL,
  1513.         'application/x-gdbm'],
  1514.     [
  1515.         0x0L,
  1516.         'string',
  1517.         '=',
  1518.         'GDBM',
  1519.         'application/x-gdbm'],
  1520.     [
  1521.         0x0L,
  1522.         'belong',
  1523.         '=',
  1524.         0x61561L,
  1525.         'application/x-db'],
  1526.     [
  1527.         0x0L,
  1528.         'belong',
  1529.         '=',
  1530.         0x53162L,
  1531.         'application/x-db'],
  1532.     [
  1533.         0x0L,
  1534.         'string',
  1535.         '=',
  1536.         '<list>\n<protocol bbn-m',
  1537.         'application/data'],
  1538.     [
  1539.         0x0L,
  1540.         'string',
  1541.         '=',
  1542.         'diff text/x-patch',
  1543.         ''],
  1544.     [
  1545.         0x0L,
  1546.         'string',
  1547.         '=',
  1548.         '*** text/x-patch',
  1549.         ''],
  1550.     [
  1551.         0x0L,
  1552.         'string',
  1553.         '=',
  1554.         'Only in text/x-patch',
  1555.         ''],
  1556.     [
  1557.         0x0L,
  1558.         'string',
  1559.         '=',
  1560.         'Common subdirectories: text/x-patch',
  1561.         ''],
  1562.     [
  1563.         0x0L,
  1564.         'string',
  1565.         '=',
  1566.         '!<arch>\n________64E',
  1567.         'application/data'],
  1568.     [
  1569.         0x0L,
  1570.         'leshort',
  1571.         '=',
  1572.         0x183L,
  1573.         'application/x-executable-file'],
  1574.     [
  1575.         0x0L,
  1576.         'leshort',
  1577.         '=',
  1578.         0x188L,
  1579.         'application/x-executable-file'],
  1580.     [
  1581.         0x0L,
  1582.         'leshort',
  1583.         '=',
  1584.         0x18FL,
  1585.         'application/x-object-file'],
  1586.     [
  1587.         0x0L,
  1588.         'string',
  1589.         '=',
  1590.         '\xff\xff\x7f',
  1591.         'application/data'],
  1592.     [
  1593.         0x0L,
  1594.         'string',
  1595.         '=',
  1596.         '\xff\xff|',
  1597.         'application/data'],
  1598.     [
  1599.         0x0L,
  1600.         'string',
  1601.         '=',
  1602.         '\xff\xff~',
  1603.         'application/data'],
  1604.     [
  1605.         0x0L,
  1606.         'string',
  1607.         '=',
  1608.         '\x1bc\x1b',
  1609.         'application/data'],
  1610.     [
  1611.         0x0L,
  1612.         'long',
  1613.         '=',
  1614.         0x4579F7L,
  1615.         'image/x11'],
  1616.     [
  1617.         0x0L,
  1618.         'string',
  1619.         '=',
  1620.         '!<PDF>!\n',
  1621.         'application/x-prof'],
  1622.     [
  1623.         0x0L,
  1624.         'short',
  1625.         '=',
  1626.         0x501L,
  1627.         'application/x-locale'],
  1628.     [
  1629.         0x18L,
  1630.         'belong',
  1631.         '=',
  1632.         0xEA6CL,
  1633.         'application/x-dump'],
  1634.     [
  1635.         0x18L,
  1636.         'belong',
  1637.         '=',
  1638.         0xEA6BL,
  1639.         'application/x-dump'],
  1640.     [
  1641.         0x18L,
  1642.         'lelong',
  1643.         '=',
  1644.         0xEA6CL,
  1645.         'application/x-dump'],
  1646.     [
  1647.         0x18L,
  1648.         'lelong',
  1649.         '=',
  1650.         0xEA6BL,
  1651.         'application/x-dump'],
  1652.     [
  1653.         0x0L,
  1654.         'string',
  1655.         '=',
  1656.         '\x7fELF',
  1657.         'application/x-executable-file'],
  1658.     [
  1659.         0x0L,
  1660.         'short',
  1661.         '=',
  1662.         0x154L,
  1663.         'application/data'],
  1664.     [
  1665.         0x0L,
  1666.         'short',
  1667.         '=',
  1668.         0x155L,
  1669.         'application/x-executable-file'],
  1670.     [
  1671.         0x438L,
  1672.         'leshort',
  1673.         '=',
  1674.         0xEF53L,
  1675.         'application/x-linux-ext2fs'],
  1676.     [
  1677.         0x0L,
  1678.         'string',
  1679.         '=',
  1680.         '\xf6\xf6\xf6\xf6',
  1681.         'application/x-pc-floppy'],
  1682.     [
  1683.         0x306L,
  1684.         'beshort',
  1685.         '=',
  1686.         0xDABEL,
  1687.         'application/data'],
  1688.     [
  1689.         0x1FEL,
  1690.         'leshort',
  1691.         '=',
  1692.         0xAA55L,
  1693.         'application/data'],
  1694.     [
  1695.         0x410L,
  1696.         'leshort',
  1697.         '=',
  1698.         0x137FL,
  1699.         'application/x-filesystem'],
  1700.     [
  1701.         0x410L,
  1702.         'leshort',
  1703.         '=',
  1704.         0x138FL,
  1705.         'application/x-filesystem'],
  1706.     [
  1707.         0x410L,
  1708.         'leshort',
  1709.         '=',
  1710.         0x2468L,
  1711.         'application/x-filesystem'],
  1712.     [
  1713.         0x410L,
  1714.         'leshort',
  1715.         '=',
  1716.         0x2478L,
  1717.         'application/x-filesystem'],
  1718.     [
  1719.         0x0L,
  1720.         'string',
  1721.         '=',
  1722.         '-rom1fs-\x00',
  1723.         'application/x-filesystem'],
  1724.     [
  1725.         0x18BL,
  1726.         'string',
  1727.         '=',
  1728.         'OS/2',
  1729.         'application/x-bootable'],
  1730.     [
  1731.         0x0L,
  1732.         'string',
  1733.         '=',
  1734.         'FONT',
  1735.         'font/x-vfont'],
  1736.     [
  1737.         0x0L,
  1738.         'short',
  1739.         '=',
  1740.         0x1B4L,
  1741.         'font/x-vfont'],
  1742.     [
  1743.         0x0L,
  1744.         'short',
  1745.         '=',
  1746.         0x4269L,
  1747.         'font/x-vfont'],
  1748.     [
  1749.         0x0L,
  1750.         'string',
  1751.         '=',
  1752.         '%!PS-AdobeFont-1.0',
  1753.         'font/type1'],
  1754.     [
  1755.         0x6L,
  1756.         'string',
  1757.         '=',
  1758.         '%!PS-AdobeFont-1.0',
  1759.         'font/type1'],
  1760.     [
  1761.         0x0L,
  1762.         'belong',
  1763.         '=',
  1764.         0x4L,
  1765.         'font/x-snf'],
  1766.     [
  1767.         0x0L,
  1768.         'lelong',
  1769.         '=',
  1770.         0x4L,
  1771.         'font/x-snf'],
  1772.     [
  1773.         0x0L,
  1774.         'string',
  1775.         '=',
  1776.         'STARTFONT font/x-bdf',
  1777.         ''],
  1778.     [
  1779.         0x0L,
  1780.         'string',
  1781.         '=',
  1782.         '\x01fcp',
  1783.         'font/x-pcf'],
  1784.     [
  1785.         0x0L,
  1786.         'string',
  1787.         '=',
  1788.         'D1.0\r',
  1789.         'font/x-speedo'],
  1790.     [
  1791.         0x0L,
  1792.         'string',
  1793.         '=',
  1794.         'flf',
  1795.         'font/x-figlet'],
  1796.     [
  1797.         0x0L,
  1798.         'string',
  1799.         '=',
  1800.         'flc',
  1801.         'application/x-font'],
  1802.     [
  1803.         0x0L,
  1804.         'belong',
  1805.         '=',
  1806.         0x14025919L,
  1807.         'font/x-libgrx'],
  1808.     [
  1809.         0x0L,
  1810.         'belong',
  1811.         '=',
  1812.         0xFF464F4EL,
  1813.         'font/x-dos'],
  1814.     [
  1815.         0x7L,
  1816.         'belong',
  1817.         '=',
  1818.         0x454741L,
  1819.         'font/x-dos'],
  1820.     [
  1821.         0x7L,
  1822.         'belong',
  1823.         '=',
  1824.         0x564944L,
  1825.         'font/x-dos'],
  1826.     [
  1827.         0x1002L,
  1828.         'string',
  1829.         '=',
  1830.         'DOSFONT',
  1831.         'font/x-dos'],
  1832.     [
  1833.         0x0L,
  1834.         'string',
  1835.         '=',
  1836.         '<MakerFile',
  1837.         'application/x-framemaker'],
  1838.     [
  1839.         0x0L,
  1840.         'string',
  1841.         '=',
  1842.         '<MIFFile',
  1843.         'application/x-framemaker'],
  1844.     [
  1845.         0x0L,
  1846.         'string',
  1847.         '=',
  1848.         '<MakerDictionary',
  1849.         'application/x-framemaker'],
  1850.     [
  1851.         0x0L,
  1852.         'string',
  1853.         '=',
  1854.         '<MakerScreenFont',
  1855.         'font/x-framemaker'],
  1856.     [
  1857.         0x0L,
  1858.         'string',
  1859.         '=',
  1860.         '<MML',
  1861.         'application/x-framemaker'],
  1862.     [
  1863.         0x0L,
  1864.         'string',
  1865.         '=',
  1866.         '<BookFile',
  1867.         'application/x-framemaker'],
  1868.     [
  1869.         0x0L,
  1870.         'string',
  1871.         '=',
  1872.         '<Maker',
  1873.         'application/x-framemaker'],
  1874.     [
  1875.         0x0L,
  1876.         'lelong&0377777777',
  1877.         '=',
  1878.         0x277B857L,
  1879.         'application/x-executable-file'],
  1880.     [
  1881.         0x0L,
  1882.         'lelong&0377777777',
  1883.         '=',
  1884.         0x277B85AL,
  1885.         'application/x-executable-file'],
  1886.     [
  1887.         0x0L,
  1888.         'lelong&0377777777',
  1889.         '=',
  1890.         0x277B85DL,
  1891.         'application/x-executable-file'],
  1892.     [
  1893.         0x0L,
  1894.         'lelong&0377777777',
  1895.         '=',
  1896.         0x277B7FAL,
  1897.         'application/x-executable-file'],
  1898.     [
  1899.         0x7L,
  1900.         'string',
  1901.         '=',
  1902.         '\xef\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
  1903.         'application/core'],
  1904.     [
  1905.         0x0L,
  1906.         'lelong',
  1907.         '=',
  1908.         0x2A8BF4DB7L,
  1909.         'application/data'],
  1910.     [
  1911.         0x0L,
  1912.         'string',
  1913.         '=',
  1914.         'GIMP Gradient',
  1915.         'application/x-gimp-gradient'],
  1916.     [
  1917.         0x0L,
  1918.         'string',
  1919.         '=',
  1920.         'gimp xcf',
  1921.         'application/x-gimp-image'],
  1922.     [
  1923.         0x14L,
  1924.         'string',
  1925.         '=',
  1926.         'GPAT',
  1927.         'application/x-gimp-pattern'],
  1928.     [
  1929.         0x14L,
  1930.         'string',
  1931.         '=',
  1932.         'GIMP',
  1933.         'application/x-gimp-brush'],
  1934.     [
  1935.         0x0L,
  1936.         'string',
  1937.         '=',
  1938.         '\xde\x12\x04\x95',
  1939.         'application/x-locale'],
  1940.     [
  1941.         0x0L,
  1942.         'string',
  1943.         '=',
  1944.         '\x95\x04\x12\xde',
  1945.         'application/x-locale'],
  1946.     [
  1947.         0x0L,
  1948.         'beshort',
  1949.         '=',
  1950.         0x273L,
  1951.         'application/x-executable-file'],
  1952.     [
  1953.         0x0L,
  1954.         'beshort',
  1955.         '=',
  1956.         0x270L,
  1957.         'application/x-executable-file'],
  1958.     [
  1959.         0x0L,
  1960.         'string',
  1961.         '=',
  1962.         '\x00\x01\x00\x00\x00',
  1963.         'font/ttf'],
  1964.     [
  1965.         0x0L,
  1966.         'long',
  1967.         '=',
  1968.         0x47BD8A30L,
  1969.         'application/data'],
  1970.     [
  1971.         0x0L,
  1972.         'long',
  1973.         '=',
  1974.         0x6578AB62L,
  1975.         'application/data'],
  1976.     [
  1977.         0x0L,
  1978.         'long',
  1979.         '=',
  1980.         0x3BCEBED9L,
  1981.         'application/data'],
  1982.     [
  1983.         0x0L,
  1984.         'long',
  1985.         '=',
  1986.         0x5F7CB174L,
  1987.         'application/data'],
  1988.     [
  1989.         0x0L,
  1990.         'belong',
  1991.         '=',
  1992.         0x2100106L,
  1993.         'application/x-object-file'],
  1994.     [
  1995.         0x0L,
  1996.         'belong',
  1997.         '=',
  1998.         0x2100107L,
  1999.         'application/x-executable-file'],
  2000.     [
  2001.         0x0L,
  2002.         'belong',
  2003.         '=',
  2004.         0x2100108L,
  2005.         'application/x-executable-file'],
  2006.     [
  2007.         0x0L,
  2008.         'belong',
  2009.         '=',
  2010.         0x210010BL,
  2011.         'application/x-executable-file'],
  2012.     [
  2013.         0x0L,
  2014.         'belong',
  2015.         '=',
  2016.         0x210010EL,
  2017.         'application/x-library-file'],
  2018.     [
  2019.         0x0L,
  2020.         'belong',
  2021.         '=',
  2022.         0x210010DL,
  2023.         'application/x-library-file'],
  2024.     [
  2025.         0x0L,
  2026.         'belong',
  2027.         '=',
  2028.         0x2140106L,
  2029.         'application/x-object-file'],
  2030.     [
  2031.         0x0L,
  2032.         'belong',
  2033.         '=',
  2034.         0x2140107L,
  2035.         'application/x-executable-file'],
  2036.     [
  2037.         0x0L,
  2038.         'belong',
  2039.         '=',
  2040.         0x2140108L,
  2041.         'application/x-executable-file'],
  2042.     [
  2043.         0x0L,
  2044.         'belong',
  2045.         '=',
  2046.         0x214010BL,
  2047.         'application/x-executable-file'],
  2048.     [
  2049.         0x0L,
  2050.         'belong',
  2051.         '=',
  2052.         0x214010EL,
  2053.         'application/x-library-file'],
  2054.     [
  2055.         0x0L,
  2056.         'belong',
  2057.         '=',
  2058.         0x214010DL,
  2059.         'application/x-object-file'],
  2060.     [
  2061.         0x0L,
  2062.         'belong',
  2063.         '=',
  2064.         0x20B0106L,
  2065.         'application/x-object-file'],
  2066.     [
  2067.         0x0L,
  2068.         'belong',
  2069.         '=',
  2070.         0x20B0107L,
  2071.         'application/x-executable-file'],
  2072.     [
  2073.         0x0L,
  2074.         'belong',
  2075.         '=',
  2076.         0x20B0108L,
  2077.         'application/x-executable-file'],
  2078.     [
  2079.         0x0L,
  2080.         'belong',
  2081.         '=',
  2082.         0x20B010BL,
  2083.         'application/x-executable-file'],
  2084.     [
  2085.         0x0L,
  2086.         'belong',
  2087.         '=',
  2088.         0x20B010EL,
  2089.         'application/x-library-file'],
  2090.     [
  2091.         0x0L,
  2092.         'belong',
  2093.         '=',
  2094.         0x20B010DL,
  2095.         'application/x-library-file'],
  2096.     [
  2097.         0x0L,
  2098.         'belong',
  2099.         '=',
  2100.         0x213C6172L,
  2101.         'application/x-ar'],
  2102.     [
  2103.         0x0L,
  2104.         'long',
  2105.         '=',
  2106.         0x2080106L,
  2107.         'application/x-executable-file'],
  2108.     [
  2109.         0x0L,
  2110.         'long',
  2111.         '=',
  2112.         0x2080107L,
  2113.         'application/x-executable-file'],
  2114.     [
  2115.         0x0L,
  2116.         'long',
  2117.         '=',
  2118.         0x2080108L,
  2119.         'application/x-executable-file'],
  2120.     [
  2121.         0x0L,
  2122.         'belong',
  2123.         '=',
  2124.         0x20C0108L,
  2125.         'application/x-executable-file'],
  2126.     [
  2127.         0x0L,
  2128.         'belong',
  2129.         '=',
  2130.         0x20C0107L,
  2131.         'application/x-executable-file'],
  2132.     [
  2133.         0x0L,
  2134.         'belong',
  2135.         '=',
  2136.         0x20C010BL,
  2137.         'application/x-executable-file'],
  2138.     [
  2139.         0x0L,
  2140.         'belong',
  2141.         '=',
  2142.         0x20C0106L,
  2143.         'application/x-executable-file'],
  2144.     [
  2145.         0x0L,
  2146.         'belong',
  2147.         '=',
  2148.         0x20A0108L,
  2149.         'application/x-executable-file'],
  2150.     [
  2151.         0x0L,
  2152.         'belong',
  2153.         '=',
  2154.         0x20A0107L,
  2155.         'application/x-executable-file'],
  2156.     [
  2157.         0x0L,
  2158.         'belong',
  2159.         '=',
  2160.         0x20C010EL,
  2161.         'application/x-library-file'],
  2162.     [
  2163.         0x0L,
  2164.         'belong',
  2165.         '=',
  2166.         0x20C010DL,
  2167.         'application/x-library-file'],
  2168.     [
  2169.         0x0L,
  2170.         'long',
  2171.         '=',
  2172.         0xFF65L,
  2173.         'application/x-library-file'],
  2174.     [
  2175.         0x0L,
  2176.         'long',
  2177.         '=',
  2178.         0x20AFF65L,
  2179.         'application/x-library-file'],
  2180.     [
  2181.         0x0L,
  2182.         'long',
  2183.         '=',
  2184.         0x20CFF65L,
  2185.         'application/x-library-file'],
  2186.     [
  2187.         0x0L,
  2188.         'long',
  2189.         '=',
  2190.         0x208FF65L,
  2191.         'application/x-library-file'],
  2192.     [
  2193.         0x0L,
  2194.         'long',
  2195.         '=',
  2196.         0x15821A6L,
  2197.         'application/core'],
  2198.     [
  2199.         0x0L,
  2200.         'long',
  2201.         '=',
  2202.         0x4DA7EEE8L,
  2203.         'font/x-hp-windows'],
  2204.     [
  2205.         0x0L,
  2206.         'string',
  2207.         '=',
  2208.         'Bitmapfile',
  2209.         'image/unknown'],
  2210.     [
  2211.         0x0L,
  2212.         'string',
  2213.         '=',
  2214.         'IMGfile',
  2215.         'CIS image/unknown'],
  2216.     [
  2217.         0x0L,
  2218.         'long',
  2219.         '=',
  2220.         0x20C010CL,
  2221.         'application/x-lisp'],
  2222.     [
  2223.         0x0L,
  2224.         'string',
  2225.         '=',
  2226.         'msgcat01',
  2227.         'application/x-locale'],
  2228.     [
  2229.         0x0L,
  2230.         'string',
  2231.         '=',
  2232.         'HPHP48-',
  2233.         'HP48 binary'],
  2234.     [
  2235.         0x0L,
  2236.         'string',
  2237.         '=',
  2238.         '%%HP:',
  2239.         'HP48 text'],
  2240.     [
  2241.         0x0L,
  2242.         'beshort',
  2243.         '=',
  2244.         0xC8L,
  2245.         'hp200 (68010) BSD'],
  2246.     [
  2247.         0x0L,
  2248.         'beshort',
  2249.         '=',
  2250.         0x12CL,
  2251.         'hp300 (68020+68881) BSD'],
  2252.     [
  2253.         0x0L,
  2254.         'beshort',
  2255.         '=',
  2256.         0x219L,
  2257.         '370 XA sysV executable'],
  2258.     [
  2259.         0x0L,
  2260.         'beshort',
  2261.         '=',
  2262.         0x214L,
  2263.         '370 XA sysV pure executable'],
  2264.     [
  2265.         0x0L,
  2266.         'beshort',
  2267.         '=',
  2268.         0xD2F1L,
  2269.         '370 sysV pure executable'],
  2270.     [
  2271.         0x0L,
  2272.         'beshort',
  2273.         '=',
  2274.         0xD6D9L,
  2275.         '370 XA sysV pure executable'],
  2276.     [
  2277.         0x0L,
  2278.         'beshort',
  2279.         '=',
  2280.         0xDC51L,
  2281.         '370 sysV executable'],
  2282.     [
  2283.         0x0L,
  2284.         'beshort',
  2285.         '=',
  2286.         0xE039L,
  2287.         '370 XA sysV executable'],
  2288.     [
  2289.         0x0L,
  2290.         'beshort',
  2291.         '=',
  2292.         0x213L,
  2293.         'SVR2 executable (Amdahl-UTS)'],
  2294.     [
  2295.         0x0L,
  2296.         'beshort',
  2297.         '=',
  2298.         0x216L,
  2299.         'SVR2 pure executable (Amdahl-UTS)'],
  2300.     [
  2301.         0x0L,
  2302.         'beshort',
  2303.         '=',
  2304.         0x212L,
  2305.         'SVR2 pure executable (USS/370)'],
  2306.     [
  2307.         0x0L,
  2308.         'beshort',
  2309.         '=',
  2310.         0x217L,
  2311.         'SVR2 executable (USS/370)'],
  2312.     [
  2313.         0x0L,
  2314.         'beshort',
  2315.         '=',
  2316.         0x1DFL,
  2317.         'executable (RISC System/6000 V3.1) or obj module'],
  2318.     [
  2319.         0x0L,
  2320.         'beshort',
  2321.         '=',
  2322.         0x104L,
  2323.         'shared library'],
  2324.     [
  2325.         0x0L,
  2326.         'beshort',
  2327.         '=',
  2328.         0x105L,
  2329.         'ctab data'],
  2330.     [
  2331.         0x0L,
  2332.         'beshort',
  2333.         '=',
  2334.         0xFE04L,
  2335.         'structured file'],
  2336.     [
  2337.         0x0L,
  2338.         'string',
  2339.         '=',
  2340.         '0xabcdef',
  2341.         'AIX message catalog'],
  2342.     [
  2343.         0x0L,
  2344.         'belong',
  2345.         '=',
  2346.         0x1F9L,
  2347.         'AIX compiled message catalog'],
  2348.     [
  2349.         0x0L,
  2350.         'string',
  2351.         '=',
  2352.         '<aiaff>',
  2353.         'archive'],
  2354.     [
  2355.         0x0L,
  2356.         'string',
  2357.         '=',
  2358.         'FORM',
  2359.         'IFF data'],
  2360.     [
  2361.         0x0L,
  2362.         'string',
  2363.         '=',
  2364.         'P1',
  2365.         'image/x-portable-bitmap'],
  2366.     [
  2367.         0x0L,
  2368.         'string',
  2369.         '=',
  2370.         'P2',
  2371.         'image/x-portable-graymap'],
  2372.     [
  2373.         0x0L,
  2374.         'string',
  2375.         '=',
  2376.         'P3',
  2377.         'image/x-portable-pixmap'],
  2378.     [
  2379.         0x0L,
  2380.         'string',
  2381.         '=',
  2382.         'P4',
  2383.         'image/x-portable-bitmap'],
  2384.     [
  2385.         0x0L,
  2386.         'string',
  2387.         '=',
  2388.         'P5',
  2389.         'image/x-portable-graymap'],
  2390.     [
  2391.         0x0L,
  2392.         'string',
  2393.         '=',
  2394.         'P6',
  2395.         'image/x-portable-pixmap'],
  2396.     [
  2397.         0x0L,
  2398.         'string',
  2399.         '=',
  2400.         'IIN1',
  2401.         'image/tiff'],
  2402.     [
  2403.         0x0L,
  2404.         'string',
  2405.         '=',
  2406.         'MM\x00*',
  2407.         'image/tiff'],
  2408.     [
  2409.         0x0L,
  2410.         'string',
  2411.         '=',
  2412.         'II*\x00',
  2413.         'image/tiff'],
  2414.     [
  2415.         0x0L,
  2416.         'string',
  2417.         '=',
  2418.         '\x89PNG',
  2419.         'image/png'],
  2420.     [
  2421.         0x1L,
  2422.         'string',
  2423.         '=',
  2424.         'PNG',
  2425.         'image/png'],
  2426.     [
  2427.         0x0L,
  2428.         'string',
  2429.         '=',
  2430.         'GIF8',
  2431.         'image/gif'],
  2432.     [
  2433.         0x0L,
  2434.         'string',
  2435.         '=',
  2436.         '\xf1\x00@\xbb',
  2437.         'image/x-cmu-raster'],
  2438.     [
  2439.         0x0L,
  2440.         'string',
  2441.         '=',
  2442.         'id=ImageMagick',
  2443.         'MIFF image data'],
  2444.     [
  2445.         0x0L,
  2446.         'long',
  2447.         '=',
  2448.         0x42F00F24L,
  2449.         'Artisan image data'],
  2450.     [
  2451.         0x0L,
  2452.         'string',
  2453.         '=',
  2454.         '#FIG',
  2455.         'FIG image text'],
  2456.     [
  2457.         0x0L,
  2458.         'string',
  2459.         '=',
  2460.         'ARF_BEGARF',
  2461.         'PHIGS clear text archive'],
  2462.     [
  2463.         0x0L,
  2464.         'string',
  2465.         '=',
  2466.         '@(#)SunPHIGS',
  2467.         'SunPHIGS'],
  2468.     [
  2469.         0x0L,
  2470.         'string',
  2471.         '=',
  2472.         'GKSM',
  2473.         'GKS Metafile'],
  2474.     [
  2475.         0x0L,
  2476.         'string',
  2477.         '=',
  2478.         'BEGMF',
  2479.         'clear text Computer Graphics Metafile'],
  2480.     [
  2481.         0x0L,
  2482.         'beshort&0xffe0',
  2483.         '=',
  2484.         0x20L,
  2485.         'binary Computer Graphics Metafile'],
  2486.     [
  2487.         0x0L,
  2488.         'beshort',
  2489.         '=',
  2490.         0x3020L,
  2491.         'character Computer Graphics Metafile'],
  2492.     [
  2493.         0x0L,
  2494.         'string',
  2495.         '=',
  2496.         'yz',
  2497.         'MGR bitmap, modern format, 8-bit aligned'],
  2498.     [
  2499.         0x0L,
  2500.         'string',
  2501.         '=',
  2502.         'zz',
  2503.         'MGR bitmap, old format, 1-bit deep, 16-bit aligned'],
  2504.     [
  2505.         0x0L,
  2506.         'string',
  2507.         '=',
  2508.         'xz',
  2509.         'MGR bitmap, old format, 1-bit deep, 32-bit aligned'],
  2510.     [
  2511.         0x0L,
  2512.         'string',
  2513.         '=',
  2514.         'yx',
  2515.         'MGR bitmap, modern format, squeezed'],
  2516.     [
  2517.         0x0L,
  2518.         'string',
  2519.         '=',
  2520.         '%bitmap\x00',
  2521.         'FBM image data'],
  2522.     [
  2523.         0x1L,
  2524.         'string',
  2525.         '=',
  2526.         'PC Research, Inc',
  2527.         'group 3 fax data'],
  2528.     [
  2529.         0x0L,
  2530.         'string',
  2531.         '=',
  2532.         'hplip_g3',
  2533.         'application/hplip-fax'],
  2534.     [
  2535.         0x0L,
  2536.         'beshort',
  2537.         '=',
  2538.         0xFFD8L,
  2539.         'image/jpeg'],
  2540.     [
  2541.         0x0L,
  2542.         'string',
  2543.         '=',
  2544.         'hsi1',
  2545.         'image/x-jpeg-proprietary'],
  2546.     [
  2547.         0x0L,
  2548.         'string',
  2549.         '=',
  2550.         'BM',
  2551.         'image/x-bmp'],
  2552.     [
  2553.         0x0L,
  2554.         'string',
  2555.         '=',
  2556.         'IC',
  2557.         'image/x-ico'],
  2558.     [
  2559.         0x0L,
  2560.         'string',
  2561.         '=',
  2562.         'PI',
  2563.         'PC pointer image data'],
  2564.     [
  2565.         0x0L,
  2566.         'string',
  2567.         '=',
  2568.         'CI',
  2569.         'PC color icon data'],
  2570.     [
  2571.         0x0L,
  2572.         'string',
  2573.         '=',
  2574.         'CP',
  2575.         'PC color pointer image data'],
  2576.     [
  2577.         0x0L,
  2578.         'string',
  2579.         '=',
  2580.         '/* XPM */',
  2581.         'image/x-xpixmap'],
  2582.     [
  2583.         0x0L,
  2584.         'leshort',
  2585.         '=',
  2586.         0xCC52L,
  2587.         'RLE image data,'],
  2588.     [
  2589.         0x0L,
  2590.         'string',
  2591.         '=',
  2592.         'Imagefile version-',
  2593.         'iff image data'],
  2594.     [
  2595.         0x0L,
  2596.         'belong',
  2597.         '=',
  2598.         0x59A66A95L,
  2599.         'image/x-sun-raster'],
  2600.     [
  2601.         0x0L,
  2602.         'beshort',
  2603.         '=',
  2604.         0x1DAL,
  2605.         'x/x-image-sgi'],
  2606.     [
  2607.         0x0L,
  2608.         'string',
  2609.         '=',
  2610.         'IT01',
  2611.         'FIT image data'],
  2612.     [
  2613.         0x0L,
  2614.         'string',
  2615.         '=',
  2616.         'IT02',
  2617.         'FIT image data'],
  2618.     [
  2619.         0x800L,
  2620.         'string',
  2621.         '=',
  2622.         'PCD_IPI',
  2623.         'x/x-photo-cd-pack-file'],
  2624.     [
  2625.         0x0L,
  2626.         'string',
  2627.         '=',
  2628.         'PCD_OPA',
  2629.         'x/x-photo-cd-overfiew-file'],
  2630.     [
  2631.         0x0L,
  2632.         'string',
  2633.         '=',
  2634.         'SIMPLE  =',
  2635.         'FITS image data'],
  2636.     [
  2637.         0x0L,
  2638.         'string',
  2639.         '=',
  2640.         'This is a BitMap file',
  2641.         'Lisp Machine bit-array-file'],
  2642.     [
  2643.         0x0L,
  2644.         'string',
  2645.         '=',
  2646.         '!!',
  2647.         'Bennet Yee\'s "face" format'],
  2648.     [
  2649.         0x0L,
  2650.         'beshort',
  2651.         '=',
  2652.         0x1010L,
  2653.         'PEX Binary Archive'],
  2654.     [
  2655.         0xBB8L,
  2656.         'string',
  2657.         '=',
  2658.         'Visio (TM) Drawing',
  2659.         '%s'],
  2660.     [
  2661.         0x0L,
  2662.         'leshort',
  2663.         '=',
  2664.         0x1F6L,
  2665.         'basic-16 executable'],
  2666.     [
  2667.         0x0L,
  2668.         'leshort',
  2669.         '=',
  2670.         0x1F7L,
  2671.         'basic-16 executable (TV)'],
  2672.     [
  2673.         0x0L,
  2674.         'leshort',
  2675.         '=',
  2676.         0x1FEL,
  2677.         'application/x-executable-file'],
  2678.     [
  2679.         0x0L,
  2680.         'leshort',
  2681.         '=',
  2682.         0x1FFL,
  2683.         'application/x-executable-file'],
  2684.     [
  2685.         0x0L,
  2686.         'leshort',
  2687.         '=',
  2688.         0x200L,
  2689.         'application/x-executable-file'],
  2690.     [
  2691.         0x0L,
  2692.         'leshort',
  2693.         '=',
  2694.         0x20AL,
  2695.         'application/x-executable-file'],
  2696.     [
  2697.         0x0L,
  2698.         'leshort',
  2699.         '=',
  2700.         0x202L,
  2701.         'application/x-executable-file'],
  2702.     [
  2703.         0x0L,
  2704.         'string',
  2705.         '=',
  2706.         '\x88OPS',
  2707.         'Interleaf saved data'],
  2708.     [
  2709.         0x0L,
  2710.         'string',
  2711.         '=',
  2712.         '<!OPS',
  2713.         'Interleaf document text'],
  2714.     [
  2715.         0x4L,
  2716.         'string',
  2717.         '=',
  2718.         'pgscriptver',
  2719.         'IslandWrite document'],
  2720.     [
  2721.         0xDL,
  2722.         'string',
  2723.         '=',
  2724.         'DrawFile',
  2725.         'IslandDraw document'],
  2726.     [
  2727.         0x0L,
  2728.         'leshort&0xFFFC',
  2729.         '=',
  2730.         0x9600L,
  2731.         'little endian ispell'],
  2732.     [
  2733.         0x0L,
  2734.         'beshort&0xFFFC',
  2735.         '=',
  2736.         0x9600L,
  2737.         'big endian ispell'],
  2738.     [
  2739.         0x0L,
  2740.         'belong',
  2741.         '=',
  2742.         0xCAFEBABEL,
  2743.         'compiled Java class data,'],
  2744.     [
  2745.         0x0L,
  2746.         'beshort',
  2747.         '=',
  2748.         0xACEDL,
  2749.         'Java serialization data'],
  2750.     [
  2751.         0x0L,
  2752.         'string',
  2753.         '=',
  2754.         'KarmaRHD',
  2755.         'Version Karma Data Structure Version'],
  2756.     [
  2757.         0x0L,
  2758.         'string',
  2759.         '=',
  2760.         'lect',
  2761.         'DEC SRC Virtual Paper Lectern file'],
  2762.     [
  2763.         0x35L,
  2764.         'string',
  2765.         '=',
  2766.         'yyprevious',
  2767.         'C program text (from lex)'],
  2768.     [
  2769.         0x15L,
  2770.         'string',
  2771.         '=',
  2772.         'generated by flex',
  2773.         'C program text (from flex)'],
  2774.     [
  2775.         0x0L,
  2776.         'string',
  2777.         '=',
  2778.         '%{',
  2779.         'lex description text'],
  2780.     [
  2781.         0x0L,
  2782.         'short',
  2783.         '=',
  2784.         0x8000L,
  2785.         'lif file'],
  2786.     [
  2787.         0x0L,
  2788.         'lelong',
  2789.         '=',
  2790.         0x640107L,
  2791.         'Linux/i386 impure executable (OMAGIC)'],
  2792.     [
  2793.         0x0L,
  2794.         'lelong',
  2795.         '=',
  2796.         0x640108L,
  2797.         'Linux/i386 pure executable (NMAGIC)'],
  2798.     [
  2799.         0x0L,
  2800.         'lelong',
  2801.         '=',
  2802.         0x64010BL,
  2803.         'Linux/i386 demand-paged executable (ZMAGIC)'],
  2804.     [
  2805.         0x0L,
  2806.         'lelong',
  2807.         '=',
  2808.         0x6400CCL,
  2809.         'Linux/i386 demand-paged executable (QMAGIC)'],
  2810.     [
  2811.         0x0L,
  2812.         'string',
  2813.         '=',
  2814.         '\x07\x01\x00',
  2815.         'Linux/i386 object file'],
  2816.     [
  2817.         0x0L,
  2818.         'string',
  2819.         '=',
  2820.         '\x01\x03\x10\x04',
  2821.         'Linux-8086 impure executable'],
  2822.     [
  2823.         0x0L,
  2824.         'string',
  2825.         '=',
  2826.         '\x01\x03 \x04',
  2827.         'Linux-8086 executable'],
  2828.     [
  2829.         0x0L,
  2830.         'string',
  2831.         '=',
  2832.         '\xa3\x86\x01\x00',
  2833.         'Linux-8086 object file'],
  2834.     [
  2835.         0x0L,
  2836.         'string',
  2837.         '=',
  2838.         '\x01\x03\x10\x10',
  2839.         'Minix-386 impure executable'],
  2840.     [
  2841.         0x0L,
  2842.         'string',
  2843.         '=',
  2844.         '\x01\x03 \x10',
  2845.         'Minix-386 executable'],
  2846.     [
  2847.         0x0L,
  2848.         'string',
  2849.         '=',
  2850.         '*nazgul*',
  2851.         'Linux compiled message catalog'],
  2852.     [
  2853.         0xD8L,
  2854.         'lelong',
  2855.         '=',
  2856.         0x1A5L,
  2857.         'Linux/i386 core file'],
  2858.     [
  2859.         0x2L,
  2860.         'string',
  2861.         '=',
  2862.         'LILO',
  2863.         'Linux/i386 LILO boot/chain loader'],
  2864.     [
  2865.         0x0L,
  2866.         'string',
  2867.         '=',
  2868.         '0.9',
  2869.         ''],
  2870.     [
  2871.         0x0L,
  2872.         'leshort',
  2873.         '=',
  2874.         0x436L,
  2875.         'font/linux-psf'],
  2876.     [
  2877.         0xFF6L,
  2878.         'string',
  2879.         '=',
  2880.         'SWAP-SPACE',
  2881.         'Linux/i386 swap file'],
  2882.     [
  2883.         0x0L,
  2884.         'leshort',
  2885.         '=',
  2886.         0x183L,
  2887.         'ECOFF alpha'],
  2888.     [
  2889.         0x202L,
  2890.         'string',
  2891.         '=',
  2892.         'HdrS',
  2893.         'Linux kernel'],
  2894.     [
  2895.         0x0L,
  2896.         'belong',
  2897.         '=',
  2898.         0xB8C0078EL,
  2899.         'Linux kernel'],
  2900.     [
  2901.         0x0L,
  2902.         'string',
  2903.         '=',
  2904.         'Begin3',
  2905.         'Linux Software Map entry text'],
  2906.     [
  2907.         0x0L,
  2908.         'string',
  2909.         '=',
  2910.         ';;',
  2911.         'Lisp/Scheme program text'],
  2912.     [
  2913.         0x0L,
  2914.         'string',
  2915.         '=',
  2916.         '\n(',
  2917.         'byte-compiled Emacs-Lisp program data'],
  2918.     [
  2919.         0x0L,
  2920.         'string',
  2921.         '=',
  2922.         ';ELC\x13\x00\x00\x00',
  2923.         'byte-compiled Emacs-Lisp program data'],
  2924.     [
  2925.         0x0L,
  2926.         'string',
  2927.         '=',
  2928.         "(SYSTEM::VERSION '",
  2929.         'CLISP byte-compiled Lisp program text'],
  2930.     [
  2931.         0x0L,
  2932.         'long',
  2933.         '=',
  2934.         0x70768BD2L,
  2935.         'CLISP memory image data'],
  2936.     [
  2937.         0x0L,
  2938.         'long',
  2939.         '=',
  2940.         0xD28B7670L,
  2941.         'CLISP memory image data, other endian'],
  2942.     [
  2943.         0x0L,
  2944.         'long',
  2945.         '=',
  2946.         0xDE120495L,
  2947.         'GNU-format message catalog data'],
  2948.     [
  2949.         0x0L,
  2950.         'long',
  2951.         '=',
  2952.         0x950412DEL,
  2953.         'GNU-format message catalog data'],
  2954.     [
  2955.         0x0L,
  2956.         'belong',
  2957.         '=',
  2958.         0xCAFEBABEL,
  2959.         'mach-o fat file'],
  2960.     [
  2961.         0x0L,
  2962.         'belong',
  2963.         '=',
  2964.         0xFEEDFACEL,
  2965.         'mach-o'],
  2966.     [
  2967.         0xBL,
  2968.         'string',
  2969.         '=',
  2970.         'must be converted with BinHex',
  2971.         'BinHex binary text'],
  2972.     [
  2973.         0x0L,
  2974.         'string',
  2975.         '=',
  2976.         'SIT!',
  2977.         'StuffIt Archive (data)'],
  2978.     [
  2979.         0x41L,
  2980.         'string',
  2981.         '=',
  2982.         'SIT!',
  2983.         'StuffIt Archive (rsrc + data)'],
  2984.     [
  2985.         0x0L,
  2986.         'string',
  2987.         '=',
  2988.         'SITD',
  2989.         'StuffIt Deluxe (data)'],
  2990.     [
  2991.         0x41L,
  2992.         'string',
  2993.         '=',
  2994.         'SITD',
  2995.         'StuffIt Deluxe (rsrc + data)'],
  2996.     [
  2997.         0x0L,
  2998.         'string',
  2999.         '=',
  3000.         'Seg',
  3001.         'StuffIt Deluxe Segment (data)'],
  3002.     [
  3003.         0x41L,
  3004.         'string',
  3005.         '=',
  3006.         'Seg',
  3007.         'StuffIt Deluxe Segment (rsrc + data)'],
  3008.     [
  3009.         0x0L,
  3010.         'string',
  3011.         '=',
  3012.         'APPL',
  3013.         'Macintosh Application (data)'],
  3014.     [
  3015.         0x41L,
  3016.         'string',
  3017.         '=',
  3018.         'APPL',
  3019.         'Macintosh Application (rsrc + data)'],
  3020.     [
  3021.         0x0L,
  3022.         'string',
  3023.         '=',
  3024.         'zsys',
  3025.         'Macintosh System File (data)'],
  3026.     [
  3027.         0x41L,
  3028.         'string',
  3029.         '=',
  3030.         'zsys',
  3031.         'Macintosh System File(rsrc + data)'],
  3032.     [
  3033.         0x0L,
  3034.         'string',
  3035.         '=',
  3036.         'FNDR',
  3037.         'Macintosh Finder (data)'],
  3038.     [
  3039.         0x41L,
  3040.         'string',
  3041.         '=',
  3042.         'FNDR',
  3043.         'Macintosh Finder(rsrc + data)'],
  3044.     [
  3045.         0x0L,
  3046.         'string',
  3047.         '=',
  3048.         'libr',
  3049.         'Macintosh Library (data)'],
  3050.     [
  3051.         0x41L,
  3052.         'string',
  3053.         '=',
  3054.         'libr',
  3055.         'Macintosh Library(rsrc + data)'],
  3056.     [
  3057.         0x0L,
  3058.         'string',
  3059.         '=',
  3060.         'shlb',
  3061.         'Macintosh Shared Library (data)'],
  3062.     [
  3063.         0x41L,
  3064.         'string',
  3065.         '=',
  3066.         'shlb',
  3067.         'Macintosh Shared Library(rsrc + data)'],
  3068.     [
  3069.         0x0L,
  3070.         'string',
  3071.         '=',
  3072.         'cdev',
  3073.         'Macintosh Control Panel (data)'],
  3074.     [
  3075.         0x41L,
  3076.         'string',
  3077.         '=',
  3078.         'cdev',
  3079.         'Macintosh Control Panel(rsrc + data)'],
  3080.     [
  3081.         0x0L,
  3082.         'string',
  3083.         '=',
  3084.         'INIT',
  3085.         'Macintosh Extension (data)'],
  3086.     [
  3087.         0x41L,
  3088.         'string',
  3089.         '=',
  3090.         'INIT',
  3091.         'Macintosh Extension(rsrc + data)'],
  3092.     [
  3093.         0x0L,
  3094.         'string',
  3095.         '=',
  3096.         'FFIL',
  3097.         'font/ttf'],
  3098.     [
  3099.         0x41L,
  3100.         'string',
  3101.         '=',
  3102.         'FFIL',
  3103.         'font/ttf'],
  3104.     [
  3105.         0x0L,
  3106.         'string',
  3107.         '=',
  3108.         'LWFN',
  3109.         'font/type1'],
  3110.     [
  3111.         0x41L,
  3112.         'string',
  3113.         '=',
  3114.         'LWFN',
  3115.         'font/type1'],
  3116.     [
  3117.         0x0L,
  3118.         'string',
  3119.         '=',
  3120.         'PACT',
  3121.         'Macintosh Compact Pro Archive (data)'],
  3122.     [
  3123.         0x41L,
  3124.         'string',
  3125.         '=',
  3126.         'PACT',
  3127.         'Macintosh Compact Pro Archive(rsrc + data)'],
  3128.     [
  3129.         0x0L,
  3130.         'string',
  3131.         '=',
  3132.         'ttro',
  3133.         'Macintosh TeachText File (data)'],
  3134.     [
  3135.         0x41L,
  3136.         'string',
  3137.         '=',
  3138.         'ttro',
  3139.         'Macintosh TeachText File(rsrc + data)'],
  3140.     [
  3141.         0x0L,
  3142.         'string',
  3143.         '=',
  3144.         'TEXT',
  3145.         'Macintosh TeachText File (data)'],
  3146.     [
  3147.         0x41L,
  3148.         'string',
  3149.         '=',
  3150.         'TEXT',
  3151.         'Macintosh TeachText File(rsrc + data)'],
  3152.     [
  3153.         0x0L,
  3154.         'string',
  3155.         '=',
  3156.         'PDF',
  3157.         'Macintosh PDF File (data)'],
  3158.     [
  3159.         0x41L,
  3160.         'string',
  3161.         '=',
  3162.         'PDF',
  3163.         'Macintosh PDF File(rsrc + data)'],
  3164.     [
  3165.         0x0L,
  3166.         'string',
  3167.         '=',
  3168.         '# Magic',
  3169.         'magic text file for file(1) cmd'],
  3170.     [
  3171.         0x0L,
  3172.         'string',
  3173.         '=',
  3174.         'Relay-Version:',
  3175.         'old news text'],
  3176.     [
  3177.         0x0L,
  3178.         'string',
  3179.         '=',
  3180.         '#! rnews',
  3181.         'batched news text'],
  3182.     [
  3183.         0x0L,
  3184.         'string',
  3185.         '=',
  3186.         'N#! rnews',
  3187.         'mailed, batched news text'],
  3188.     [
  3189.         0x0L,
  3190.         'string',
  3191.         '=',
  3192.         'Forward to',
  3193.         'mail forwarding text'],
  3194.     [
  3195.         0x0L,
  3196.         'string',
  3197.         '=',
  3198.         'Pipe to',
  3199.         'mail piping text'],
  3200.     [
  3201.         0x0L,
  3202.         'string',
  3203.         '=',
  3204.         'Return-Path:',
  3205.         'message/rfc822'],
  3206.     [
  3207.         0x0L,
  3208.         'string',
  3209.         '=',
  3210.         'Path:',
  3211.         'message/news'],
  3212.     [
  3213.         0x0L,
  3214.         'string',
  3215.         '=',
  3216.         'Xref:',
  3217.         'message/news'],
  3218.     [
  3219.         0x0L,
  3220.         'string',
  3221.         '=',
  3222.         'From:',
  3223.         'message/rfc822'],
  3224.     [
  3225.         0x0L,
  3226.         'string',
  3227.         '=',
  3228.         'Article',
  3229.         'message/news'],
  3230.     [
  3231.         0x0L,
  3232.         'string',
  3233.         '=',
  3234.         'BABYL',
  3235.         'message/x-gnu-rmail'],
  3236.     [
  3237.         0x0L,
  3238.         'string',
  3239.         '=',
  3240.         'Received:',
  3241.         'message/rfc822'],
  3242.     [
  3243.         0x0L,
  3244.         'string',
  3245.         '=',
  3246.         'MIME-Version:',
  3247.         'MIME entity text'],
  3248.     [
  3249.         0x0L,
  3250.         'string',
  3251.         '=',
  3252.         'Content-Type: ',
  3253.         ''],
  3254.     [
  3255.         0x0L,
  3256.         'string',
  3257.         '=',
  3258.         'Content-Type:',
  3259.         ''],
  3260.     [
  3261.         0x0L,
  3262.         'long',
  3263.         '=',
  3264.         0x7AB7L,
  3265.         'Mirage Assembler m.out executable'],
  3266.     [
  3267.         0x0L,
  3268.         'string',
  3269.         '=',
  3270.         '\xc9\xc4',
  3271.         'ID tags data'],
  3272.     [
  3273.         0x0L,
  3274.         'string',
  3275.         '=',
  3276.         '\x01\x01\x01\x01',
  3277.         'MMDF mailbox'],
  3278.     [
  3279.         0x4L,
  3280.         'string',
  3281.         '=',
  3282.         'Research,',
  3283.         'Digifax-G3-File'],
  3284.     [
  3285.         0x0L,
  3286.         'short',
  3287.         '=',
  3288.         0x100L,
  3289.         'raw G3 data, byte-padded'],
  3290.     [
  3291.         0x0L,
  3292.         'short',
  3293.         '=',
  3294.         0x1400L,
  3295.         'raw G3 data'],
  3296.     [
  3297.         0x0L,
  3298.         'string',
  3299.         '=',
  3300.         'RMD1',
  3301.         'raw modem data'],
  3302.     [
  3303.         0x0L,
  3304.         'string',
  3305.         '=',
  3306.         'PVF1\n',
  3307.         'portable voice format'],
  3308.     [
  3309.         0x0L,
  3310.         'string',
  3311.         '=',
  3312.         'PVF2\n',
  3313.         'portable voice format'],
  3314.     [
  3315.         0x0L,
  3316.         'beshort',
  3317.         '=',
  3318.         0x208L,
  3319.         'mc68k COFF'],
  3320.     [
  3321.         0x0L,
  3322.         'beshort',
  3323.         '=',
  3324.         0x209L,
  3325.         'mc68k executable (shared)'],
  3326.     [
  3327.         0x0L,
  3328.         'beshort',
  3329.         '=',
  3330.         0x20AL,
  3331.         'mc68k executable (shared demand paged)'],
  3332.     [
  3333.         0x0L,
  3334.         'beshort',
  3335.         '=',
  3336.         0x22AL,
  3337.         '68K BCS executable'],
  3338.     [
  3339.         0x0L,
  3340.         'beshort',
  3341.         '=',
  3342.         0x22BL,
  3343.         '88K BCS executable'],
  3344.     [
  3345.         0x0L,
  3346.         'string',
  3347.         '=',
  3348.         'S0',
  3349.         'Motorola S-Record; binary data in text format'],
  3350.     [
  3351.         0x0L,
  3352.         'string',
  3353.         '=',
  3354.         '@echo off',
  3355.         'MS-DOS batch file text'],
  3356.     [
  3357.         0x80L,
  3358.         'string',
  3359.         '=',
  3360.         'PE\x00\x00',
  3361.         'MS Windows PE'],
  3362.     [
  3363.         0x0L,
  3364.         'leshort',
  3365.         '=',
  3366.         0x14CL,
  3367.         'MS Windows COFF Intel 80386 object file'],
  3368.     [
  3369.         0x0L,
  3370.         'leshort',
  3371.         '=',
  3372.         0x166L,
  3373.         'MS Windows COFF MIPS R4000 object file'],
  3374.     [
  3375.         0x0L,
  3376.         'leshort',
  3377.         '=',
  3378.         0x184L,
  3379.         'MS Windows COFF Alpha object file'],
  3380.     [
  3381.         0x0L,
  3382.         'leshort',
  3383.         '=',
  3384.         0x268L,
  3385.         'MS Windows COFF Motorola 68000 object file'],
  3386.     [
  3387.         0x0L,
  3388.         'leshort',
  3389.         '=',
  3390.         0x1F0L,
  3391.         'MS Windows COFF PowerPC object file'],
  3392.     [
  3393.         0x0L,
  3394.         'leshort',
  3395.         '=',
  3396.         0x290L,
  3397.         'MS Windows COFF PA-RISC object file'],
  3398.     [
  3399.         0x0L,
  3400.         'string',
  3401.         '=',
  3402.         'MZ',
  3403.         'application/x-ms-dos-executable'],
  3404.     [
  3405.         0x0L,
  3406.         'string',
  3407.         '=',
  3408.         'LZ',
  3409.         'MS-DOS executable (built-in)'],
  3410.     [
  3411.         0x0L,
  3412.         'string',
  3413.         '=',
  3414.         'regf',
  3415.         'Windows NT Registry file'],
  3416.     [
  3417.         0x820L,
  3418.         'string',
  3419.         '=',
  3420.         'Microsoft Word 6.0 Document',
  3421.         'text/vnd.ms-word'],
  3422.     [
  3423.         0x820L,
  3424.         'string',
  3425.         '=',
  3426.         'Documento Microsoft Word 6',
  3427.         'text/vnd.ms-word'],
  3428.     [
  3429.         0x840L,
  3430.         'string',
  3431.         '=',
  3432.         'MSWordDoc',
  3433.         'text/vnd.ms-word'],
  3434.     [
  3435.         0x0L,
  3436.         'belong',
  3437.         '=',
  3438.         0x31BE0000L,
  3439.         'text/vnd.ms-word'],
  3440.     [
  3441.         0x0L,
  3442.         'string',
  3443.         '=',
  3444.         'PO^Q`',
  3445.         'text/vnd.ms-word'],
  3446.     [
  3447.         0x820L,
  3448.         'string',
  3449.         '=',
  3450.         'Microsoft Excel 5.0 Worksheet',
  3451.         'application/vnd.ms-excel'],
  3452.     [
  3453.         0x842L,
  3454.         'string',
  3455.         '=',
  3456.         'Biff5',
  3457.         'application/vnd.ms-excel'],
  3458.     [
  3459.         0x0L,
  3460.         'belong',
  3461.         '=',
  3462.         0x1A00L,
  3463.         'Lotus 1-2-3'],
  3464.     [
  3465.         0x0L,
  3466.         'belong',
  3467.         '=',
  3468.         0x200L,
  3469.         'Lotus 1-2-3'],
  3470.     [
  3471.         0x1L,
  3472.         'string',
  3473.         '=',
  3474.         'WPC',
  3475.         'text/vnd.wordperfect'],
  3476.     [
  3477.         0x0L,
  3478.         'beshort',
  3479.         '=',
  3480.         0x262L,
  3481.         'Tower/XP rel 2 object'],
  3482.     [
  3483.         0x0L,
  3484.         'beshort',
  3485.         '=',
  3486.         0x267L,
  3487.         'Tower/XP rel 2 object'],
  3488.     [
  3489.         0x0L,
  3490.         'beshort',
  3491.         '=',
  3492.         0x26CL,
  3493.         'Tower/XP rel 3 object'],
  3494.     [
  3495.         0x0L,
  3496.         'beshort',
  3497.         '=',
  3498.         0x271L,
  3499.         'Tower/XP rel 3 object'],
  3500.     [
  3501.         0x0L,
  3502.         'beshort',
  3503.         '=',
  3504.         0x276L,
  3505.         'Tower32/600/400 68020 object'],
  3506.     [
  3507.         0x0L,
  3508.         'beshort',
  3509.         '=',
  3510.         0x280L,
  3511.         'Tower32/800 68020'],
  3512.     [
  3513.         0x0L,
  3514.         'beshort',
  3515.         '=',
  3516.         0x285L,
  3517.         'Tower32/800 68010'],
  3518.     [
  3519.         0x0L,
  3520.         'lelong',
  3521.         '=',
  3522.         0x197L,
  3523.         'NetBSD little-endian object file'],
  3524.     [
  3525.         0x0L,
  3526.         'belong',
  3527.         '=',
  3528.         0x197L,
  3529.         'NetBSD big-endian object file'],
  3530.     [
  3531.         0x0L,
  3532.         'belong&0377777777',
  3533.         '=',
  3534.         0x277B85DL,
  3535.         'NetBSD/i386 demand paged'],
  3536.     [
  3537.         0x0L,
  3538.         'belong&0377777777',
  3539.         '=',
  3540.         0x277B85AL,
  3541.         'NetBSD/i386 pure'],
  3542.     [
  3543.         0x0L,
  3544.         'belong&0377777777',
  3545.         '=',
  3546.         0x277B857L,
  3547.         'NetBSD/i386'],
  3548.     [
  3549.         0x0L,
  3550.         'belong&0377777777',
  3551.         '=',
  3552.         0x277B8BBL,
  3553.         'NetBSD/i386 core'],
  3554.     [
  3555.         0x0L,
  3556.         'belong&0377777777',
  3557.         '=',
  3558.         0x27AC59DL,
  3559.         'NetBSD/m68k demand paged'],
  3560.     [
  3561.         0x0L,
  3562.         'belong&0377777777',
  3563.         '=',
  3564.         0x27AC59AL,
  3565.         'NetBSD/m68k pure'],
  3566.     [
  3567.         0x0L,
  3568.         'belong&0377777777',
  3569.         '=',
  3570.         0x27AC597L,
  3571.         'NetBSD/m68k'],
  3572.     [
  3573.         0x0L,
  3574.         'belong&0377777777',
  3575.         '=',
  3576.         0x27AC5FBL,
  3577.         'NetBSD/m68k core'],
  3578.     [
  3579.         0x0L,
  3580.         'belong&0377777777',
  3581.         '=',
  3582.         0x280E01DL,
  3583.         'NetBSD/m68k4k demand paged'],
  3584.     [
  3585.         0x0L,
  3586.         'belong&0377777777',
  3587.         '=',
  3588.         0x280E01AL,
  3589.         'NetBSD/m68k4k pure'],
  3590.     [
  3591.         0x0L,
  3592.         'belong&0377777777',
  3593.         '=',
  3594.         0x280E017L,
  3595.         'NetBSD/m68k4k'],
  3596.     [
  3597.         0x0L,
  3598.         'belong&0377777777',
  3599.         '=',
  3600.         0x280E07BL,
  3601.         'NetBSD/m68k4k core'],
  3602.     [
  3603.         0x0L,
  3604.         'belong&0377777777',
  3605.         '=',
  3606.         0x283ED5DL,
  3607.         'NetBSD/ns32532 demand paged'],
  3608.     [
  3609.         0x0L,
  3610.         'belong&0377777777',
  3611.         '=',
  3612.         0x283ED5AL,
  3613.         'NetBSD/ns32532 pure'],
  3614.     [
  3615.         0x0L,
  3616.         'belong&0377777777',
  3617.         '=',
  3618.         0x283ED57L,
  3619.         'NetBSD/ns32532'],
  3620.     [
  3621.         0x0L,
  3622.         'belong&0377777777',
  3623.         '=',
  3624.         0x283EDBBL,
  3625.         'NetBSD/ns32532 core'],
  3626.     [
  3627.         0x0L,
  3628.         'belong&0377777777',
  3629.         '=',
  3630.         0x286FA9DL,
  3631.         'NetBSD/sparc demand paged'],
  3632.     [
  3633.         0x0L,
  3634.         'belong&0377777777',
  3635.         '=',
  3636.         0x286FA9AL,
  3637.         'NetBSD/sparc pure'],
  3638.     [
  3639.         0x0L,
  3640.         'belong&0377777777',
  3641.         '=',
  3642.         0x286FA97L,
  3643.         'NetBSD/sparc'],
  3644.     [
  3645.         0x0L,
  3646.         'belong&0377777777',
  3647.         '=',
  3648.         0x286FAFBL,
  3649.         'NetBSD/sparc core'],
  3650.     [
  3651.         0x0L,
  3652.         'belong&0377777777',
  3653.         '=',
  3654.         0x28A07DDL,
  3655.         'NetBSD/pmax demand paged'],
  3656.     [
  3657.         0x0L,
  3658.         'belong&0377777777',
  3659.         '=',
  3660.         0x28A07DAL,
  3661.         'NetBSD/pmax pure'],
  3662.     [
  3663.         0x0L,
  3664.         'belong&0377777777',
  3665.         '=',
  3666.         0x28A07D7L,
  3667.         'NetBSD/pmax'],
  3668.     [
  3669.         0x0L,
  3670.         'belong&0377777777',
  3671.         '=',
  3672.         0x28A083BL,
  3673.         'NetBSD/pmax core'],
  3674.     [
  3675.         0x0L,
  3676.         'belong&0377777777',
  3677.         '=',
  3678.         0x290225DL,
  3679.         'NetBSD/vax demand paged'],
  3680.     [
  3681.         0x0L,
  3682.         'belong&0377777777',
  3683.         '=',
  3684.         0x290225AL,
  3685.         'NetBSD/vax pure'],
  3686.     [
  3687.         0x0L,
  3688.         'belong&0377777777',
  3689.         '=',
  3690.         0x2902257L,
  3691.         'NetBSD/vax'],
  3692.     [
  3693.         0x0L,
  3694.         'belong&0377777777',
  3695.         '=',
  3696.         0x29022BBL,
  3697.         'NetBSD/vax core'],
  3698.     [
  3699.         0x0L,
  3700.         'lelong',
  3701.         '=',
  3702.         0x70185L,
  3703.         'ECOFF NetBSD/alpha binary'],
  3704.     [
  3705.         0x0L,
  3706.         'belong&0377777777',
  3707.         '=',
  3708.         0x2932FFBL,
  3709.         'NetBSD/alpha core'],
  3710.     [
  3711.         0x0L,
  3712.         'belong&0377777777',
  3713.         '=',
  3714.         0x2963CDDL,
  3715.         'NetBSD/mips demand paged'],
  3716.     [
  3717.         0x0L,
  3718.         'belong&0377777777',
  3719.         '=',
  3720.         0x2963CDAL,
  3721.         'NetBSD/mips pure'],
  3722.     [
  3723.         0x0L,
  3724.         'belong&0377777777',
  3725.         '=',
  3726.         0x2963CD7L,
  3727.         'NetBSD/mips'],
  3728.     [
  3729.         0x0L,
  3730.         'belong&0377777777',
  3731.         '=',
  3732.         0x2963D3BL,
  3733.         'NetBSD/mips core'],
  3734.     [
  3735.         0x0L,
  3736.         'belong&0377777777',
  3737.         '=',
  3738.         0x2994A1DL,
  3739.         'NetBSD/arm32 demand paged'],
  3740.     [
  3741.         0x0L,
  3742.         'belong&0377777777',
  3743.         '=',
  3744.         0x2994A1AL,
  3745.         'NetBSD/arm32 pure'],
  3746.     [
  3747.         0x0L,
  3748.         'belong&0377777777',
  3749.         '=',
  3750.         0x2994A17L,
  3751.         'NetBSD/arm32'],
  3752.     [
  3753.         0x0L,
  3754.         'belong&0377777777',
  3755.         '=',
  3756.         0x2994A7BL,
  3757.         'NetBSD/arm32 core'],
  3758.     [
  3759.         0x0L,
  3760.         'string',
  3761.         '=',
  3762.         'StartFontMetrics',
  3763.         'font/x-sunos-news'],
  3764.     [
  3765.         0x0L,
  3766.         'string',
  3767.         '=',
  3768.         'StartFont',
  3769.         'font/x-sunos-news'],
  3770.     [
  3771.         0x0L,
  3772.         'belong',
  3773.         '=',
  3774.         0x137A2944L,
  3775.         'font/x-sunos-news'],
  3776.     [
  3777.         0x0L,
  3778.         'belong',
  3779.         '=',
  3780.         0x137A2947L,
  3781.         'font/x-sunos-news'],
  3782.     [
  3783.         0x0L,
  3784.         'belong',
  3785.         '=',
  3786.         0x137A2950L,
  3787.         'font/x-sunos-news'],
  3788.     [
  3789.         0x0L,
  3790.         'belong',
  3791.         '=',
  3792.         0x137A2951L,
  3793.         'font/x-sunos-news'],
  3794.     [
  3795.         0x8L,
  3796.         'belong',
  3797.         '=',
  3798.         0x137A2B45L,
  3799.         'font/x-sunos-news'],
  3800.     [
  3801.         0x8L,
  3802.         'belong',
  3803.         '=',
  3804.         0x137A2B48L,
  3805.         'font/x-sunos-news'],
  3806.     [
  3807.         0x0L,
  3808.         'string',
  3809.         '=',
  3810.         'Octave-1-L',
  3811.         'Octave binary data (little endian)'],
  3812.     [
  3813.         0x0L,
  3814.         'string',
  3815.         '=',
  3816.         'Octave-1-B',
  3817.         'Octave binary data (big endian)'],
  3818.     [
  3819.         0x0L,
  3820.         'string',
  3821.         '=',
  3822.         '\x7fOLF',
  3823.         'OLF'],
  3824.     [
  3825.         0x0L,
  3826.         'beshort',
  3827.         '=',
  3828.         0x87CDL,
  3829.         'OS9/6809 module:'],
  3830.     [
  3831.         0x0L,
  3832.         'beshort',
  3833.         '=',
  3834.         0x4AFCL,
  3835.         'OS9/68K module:'],
  3836.     [
  3837.         0x0L,
  3838.         'long',
  3839.         '=',
  3840.         0xEFBEL,
  3841.         'OSF/Rose object'],
  3842.     [
  3843.         0x0L,
  3844.         'short',
  3845.         '=',
  3846.         0x235L,
  3847.         'i386 COFF object'],
  3848.     [
  3849.         0x0L,
  3850.         'short',
  3851.         '=',
  3852.         0x2A17L,
  3853.         '"compact bitmap" format (Poskanzer)'],
  3854.     [
  3855.         0x0L,
  3856.         'string',
  3857.         '=',
  3858.         '%PDF-',
  3859.         'application/pdf'],
  3860.     [
  3861.         0x0L,
  3862.         'lelong',
  3863.         '=',
  3864.         0x18CB3L,
  3865.         'PDP-11 single precision APL workspace'],
  3866.     [
  3867.         0x0L,
  3868.         'lelong',
  3869.         '=',
  3870.         0x18CB2L,
  3871.         'PDP-11 double precision APL workspace'],
  3872.     [
  3873.         0x0L,
  3874.         'leshort',
  3875.         '=',
  3876.         0x197L,
  3877.         'PDP-11 executable'],
  3878.     [
  3879.         0x0L,
  3880.         'leshort',
  3881.         '=',
  3882.         0x191L,
  3883.         'PDP-11 UNIX/RT ldp'],
  3884.     [
  3885.         0x0L,
  3886.         'leshort',
  3887.         '=',
  3888.         0x195L,
  3889.         'PDP-11 old overlay'],
  3890.     [
  3891.         0x0L,
  3892.         'leshort',
  3893.         '=',
  3894.         0x19AL,
  3895.         'PDP-11 pure executable'],
  3896.     [
  3897.         0x0L,
  3898.         'leshort',
  3899.         '=',
  3900.         0x19BL,
  3901.         'PDP-11 separate I&D executable'],
  3902.     [
  3903.         0x0L,
  3904.         'leshort',
  3905.         '=',
  3906.         0x1B5L,
  3907.         'PDP-11 kernel overlay'],
  3908.     [
  3909.         0x0L,
  3910.         'beshort',
  3911.         '=',
  3912.         0x9900L,
  3913.         'PGP key public ring'],
  3914.     [
  3915.         0x0L,
  3916.         'beshort',
  3917.         '=',
  3918.         0x9501L,
  3919.         'PGP key security ring'],
  3920.     [
  3921.         0x0L,
  3922.         'beshort',
  3923.         '=',
  3924.         0x9500L,
  3925.         'PGP key security ring'],
  3926.     [
  3927.         0x0L,
  3928.         'beshort',
  3929.         '=',
  3930.         0xA600L,
  3931.         'PGP encrypted data'],
  3932.     [
  3933.         0x0L,
  3934.         'string',
  3935.         '=',
  3936.         '-----BEGIN PGP',
  3937.         'PGP armored data'],
  3938.     [
  3939.         0x0L,
  3940.         'string',
  3941.         '=',
  3942.         '# PaCkAgE DaTaStReAm',
  3943.         'pkg Datastream (SVR4)'],
  3944.     [
  3945.         0x0L,
  3946.         'short',
  3947.         '=',
  3948.         0x259L,
  3949.         'mumps avl global'],
  3950.     [
  3951.         0x0L,
  3952.         'short',
  3953.         '=',
  3954.         0x25AL,
  3955.         'mumps blt global'],
  3956.     [
  3957.         0x0L,
  3958.         'string',
  3959.         '=',
  3960.         '%!',
  3961.         'application/postscript'],
  3962.     [
  3963.         0x0L,
  3964.         'string',
  3965.         '=',
  3966.         '\x04%!',
  3967.         'application/postscript'],
  3968.     [
  3969.         0x0L,
  3970.         'belong',
  3971.         '=',
  3972.         0xC5D0D3C6L,
  3973.         'DOS EPS Binary File'],
  3974.     [
  3975.         0x0L,
  3976.         'string',
  3977.         '=',
  3978.         '*PPD-Adobe:',
  3979.         'application/pdf'],
  3980.     [
  3981.         0x0L,
  3982.         'string',
  3983.         '=',
  3984.         '\x1b%-12345X@PJL',
  3985.         'HP Printer Job Language data'],
  3986.     [
  3987.         0x0L,
  3988.         'string',
  3989.         '=',
  3990.         '\x1b%-12345X@PJL',
  3991.         'HP Printer Job Language data'],
  3992.     [
  3993.         0x0L,
  3994.         'string',
  3995.         '=',
  3996.         '\x1bE\x1b',
  3997.         'image/x-pcl-hp'],
  3998.     [
  3999.         0x0L,
  4000.         'string',
  4001.         '=',
  4002.         '@document(',
  4003.         'Imagen printer'],
  4004.     [
  4005.         0x0L,
  4006.         'string',
  4007.         '=',
  4008.         'Rast',
  4009.         'RST-format raster font data'],
  4010.     [
  4011.         0x0L,
  4012.         'belong&0xff00ffff',
  4013.         '=',
  4014.         0x56000000L,
  4015.         'ps database'],
  4016.     [
  4017.         0x0L,
  4018.         'long',
  4019.         '=',
  4020.         0x50900107L,
  4021.         'Pyramid 90x family executable'],
  4022.     [
  4023.         0x0L,
  4024.         'long',
  4025.         '=',
  4026.         0x50900108L,
  4027.         'Pyramid 90x family pure executable'],
  4028.     [
  4029.         0x0L,
  4030.         'long',
  4031.         '=',
  4032.         0x5090010BL,
  4033.         'Pyramid 90x family demand paged pure executable'],
  4034.     [
  4035.         0x0L,
  4036.         'beshort',
  4037.         '=',
  4038.         0xEDABL,
  4039.         ''],
  4040.     [
  4041.         0x0L,
  4042.         'string',
  4043.         '=',
  4044.         '{\\\\rtf',
  4045.         'Rich Text Format data,'],
  4046.     [
  4047.         0x26L,
  4048.         'string',
  4049.         '=',
  4050.         'Spreadsheet',
  4051.         'sc spreadsheet file'],
  4052.     [
  4053.         0x8L,
  4054.         'string',
  4055.         '=',
  4056.         '\x01s SCCS',
  4057.         'archive data'],
  4058.     [
  4059.         0x0L,
  4060.         'byte',
  4061.         '=',
  4062.         0x2EL,
  4063.         'Sendmail frozen configuration'],
  4064.     [
  4065.         0x0L,
  4066.         'short',
  4067.         '=',
  4068.         0x271CL,
  4069.         'Sendmail frozen configuration'],
  4070.     [
  4071.         0x0L,
  4072.         'lelong',
  4073.         '=',
  4074.         0xEAL,
  4075.         'BALANCE NS32000 .o'],
  4076.     [
  4077.         0x0L,
  4078.         'lelong',
  4079.         '=',
  4080.         0x10EAL,
  4081.         'BALANCE NS32000 executable (0 @ 0)'],
  4082.     [
  4083.         0x0L,
  4084.         'lelong',
  4085.         '=',
  4086.         0x20EAL,
  4087.         'BALANCE NS32000 executable (invalid @ 0)'],
  4088.     [
  4089.         0x0L,
  4090.         'lelong',
  4091.         '=',
  4092.         0x30EAL,
  4093.         'BALANCE NS32000 standalone executable'],
  4094.     [
  4095.         0x0L,
  4096.         'leshort',
  4097.         '=',
  4098.         0x12EBL,
  4099.         'SYMMETRY i386 .o'],
  4100.     [
  4101.         0x0L,
  4102.         'leshort',
  4103.         '=',
  4104.         0x22EBL,
  4105.         'SYMMETRY i386 executable (0 @ 0)'],
  4106.     [
  4107.         0x0L,
  4108.         'leshort',
  4109.         '=',
  4110.         0x32EBL,
  4111.         'SYMMETRY i386 executable (invalid @ 0)'],
  4112.     [
  4113.         0x0L,
  4114.         'leshort',
  4115.         '=',
  4116.         0x42EBL,
  4117.         'SYMMETRY i386 standalone executable'],
  4118.     [
  4119.         0x0L,
  4120.         'string',
  4121.         '=',
  4122.         'kbd!map',
  4123.         'kbd map file'],
  4124.     [
  4125.         0x0L,
  4126.         'belong',
  4127.         '=',
  4128.         0x197L,
  4129.         'old SGI 68020 executable'],
  4130.     [
  4131.         0x0L,
  4132.         'belong',
  4133.         '=',
  4134.         0x19AL,
  4135.         'old SGI 68020 pure executable'],
  4136.     [
  4137.         0x0L,
  4138.         'beshort',
  4139.         '=',
  4140.         0x8765L,
  4141.         'disk quotas file'],
  4142.     [
  4143.         0x0L,
  4144.         'beshort',
  4145.         '=',
  4146.         0x506L,
  4147.         'IRIS Showcase file'],
  4148.     [
  4149.         0x0L,
  4150.         'beshort',
  4151.         '=',
  4152.         0x226L,
  4153.         'IRIS Showcase template'],
  4154.     [
  4155.         0x0L,
  4156.         'belong',
  4157.         '=',
  4158.         0x5343464DL,
  4159.         'IRIS Showcase file'],
  4160.     [
  4161.         0x0L,
  4162.         'belong',
  4163.         '=',
  4164.         0x5443464DL,
  4165.         'IRIS Showcase template'],
  4166.     [
  4167.         0x0L,
  4168.         'belong',
  4169.         '=',
  4170.         0xDEADBABEL,
  4171.         'IRIX Parallel Arena'],
  4172.     [
  4173.         0x0L,
  4174.         'beshort',
  4175.         '=',
  4176.         0x160L,
  4177.         'MIPSEB COFF executable'],
  4178.     [
  4179.         0x0L,
  4180.         'beshort',
  4181.         '=',
  4182.         0x162L,
  4183.         'MIPSEL COFF executable'],
  4184.     [
  4185.         0x0L,
  4186.         'beshort',
  4187.         '=',
  4188.         0x6001L,
  4189.         'MIPSEB-LE COFF executable'],
  4190.     [
  4191.         0x0L,
  4192.         'beshort',
  4193.         '=',
  4194.         0x6201L,
  4195.         'MIPSEL-LE COFF executable'],
  4196.     [
  4197.         0x0L,
  4198.         'beshort',
  4199.         '=',
  4200.         0x163L,
  4201.         'MIPSEB MIPS-II COFF executable'],
  4202.     [
  4203.         0x0L,
  4204.         'beshort',
  4205.         '=',
  4206.         0x166L,
  4207.         'MIPSEL MIPS-II COFF executable'],
  4208.     [
  4209.         0x0L,
  4210.         'beshort',
  4211.         '=',
  4212.         0x6301L,
  4213.         'MIPSEB-LE MIPS-II COFF executable'],
  4214.     [
  4215.         0x0L,
  4216.         'beshort',
  4217.         '=',
  4218.         0x6601L,
  4219.         'MIPSEL-LE MIPS-II COFF executable'],
  4220.     [
  4221.         0x0L,
  4222.         'beshort',
  4223.         '=',
  4224.         0x140L,
  4225.         'MIPSEB MIPS-III COFF executable'],
  4226.     [
  4227.         0x0L,
  4228.         'beshort',
  4229.         '=',
  4230.         0x142L,
  4231.         'MIPSEL MIPS-III COFF executable'],
  4232.     [
  4233.         0x0L,
  4234.         'beshort',
  4235.         '=',
  4236.         0x4001L,
  4237.         'MIPSEB-LE MIPS-III COFF executable'],
  4238.     [
  4239.         0x0L,
  4240.         'beshort',
  4241.         '=',
  4242.         0x4201L,
  4243.         'MIPSEL-LE MIPS-III COFF executable'],
  4244.     [
  4245.         0x0L,
  4246.         'beshort',
  4247.         '=',
  4248.         0x180L,
  4249.         'MIPSEB Ucode'],
  4250.     [
  4251.         0x0L,
  4252.         'beshort',
  4253.         '=',
  4254.         0x182L,
  4255.         'MIPSEL Ucode'],
  4256.     [
  4257.         0x0L,
  4258.         'belong',
  4259.         '=',
  4260.         0xDEADADB0L,
  4261.         'IRIX core dump'],
  4262.     [
  4263.         0x0L,
  4264.         'belong',
  4265.         '=',
  4266.         0xDEADAD40L,
  4267.         'IRIX 64-bit core dump'],
  4268.     [
  4269.         0x0L,
  4270.         'belong',
  4271.         '=',
  4272.         0xBABEC0BBL,
  4273.         'IRIX N32 core dump'],
  4274.     [
  4275.         0x0L,
  4276.         'string',
  4277.         '=',
  4278.         'CrshDump',
  4279.         'IRIX vmcore dump of'],
  4280.     [
  4281.         0x0L,
  4282.         'string',
  4283.         '=',
  4284.         'SGIAUDIT',
  4285.         'SGI Audit file'],
  4286.     [
  4287.         0x0L,
  4288.         'string',
  4289.         '=',
  4290.         'WNGZWZSC',
  4291.         'Wingz compiled script'],
  4292.     [
  4293.         0x0L,
  4294.         'string',
  4295.         '=',
  4296.         'WNGZWZSS',
  4297.         'Wingz spreadsheet'],
  4298.     [
  4299.         0x0L,
  4300.         'string',
  4301.         '=',
  4302.         'WNGZWZHP',
  4303.         'Wingz help file'],
  4304.     [
  4305.         0x0L,
  4306.         'string',
  4307.         '=',
  4308.         '\\#Inventor',
  4309.         'V IRIS Inventor 1.0 file'],
  4310.     [
  4311.         0x0L,
  4312.         'string',
  4313.         '=',
  4314.         '\\#Inventor',
  4315.         'V2 Open Inventor 2.0 file'],
  4316.     [
  4317.         0x0L,
  4318.         'string',
  4319.         '=',
  4320.         'glfHeadMagic();',
  4321.         'GLF_TEXT'],
  4322.     [
  4323.         0x4L,
  4324.         'belong',
  4325.         '=',
  4326.         0x41010000L,
  4327.         'GLF_BINARY_LSB_FIRST'],
  4328.     [
  4329.         0x4L,
  4330.         'belong',
  4331.         '=',
  4332.         0x141L,
  4333.         'GLF_BINARY_MSB_FIRST'],
  4334.     [
  4335.         0x0L,
  4336.         'string',
  4337.         '=',
  4338.         '<!DOCTYPE HTML',
  4339.         'text/html'],
  4340.     [
  4341.         0x0L,
  4342.         'string',
  4343.         '=',
  4344.         '<!doctype html',
  4345.         'text/html'],
  4346.     [
  4347.         0x0L,
  4348.         'string',
  4349.         '=',
  4350.         '<HEAD',
  4351.         'text/html'],
  4352.     [
  4353.         0x0L,
  4354.         'string',
  4355.         '=',
  4356.         '<head',
  4357.         'text/html'],
  4358.     [
  4359.         0x0L,
  4360.         'string',
  4361.         '=',
  4362.         '<TITLE',
  4363.         'text/html'],
  4364.     [
  4365.         0x0L,
  4366.         'string',
  4367.         '=',
  4368.         '<title',
  4369.         'text/html'],
  4370.     [
  4371.         0x0L,
  4372.         'string',
  4373.         '=',
  4374.         '<html',
  4375.         'text/html'],
  4376.     [
  4377.         0x0L,
  4378.         'string',
  4379.         '=',
  4380.         '<HTML',
  4381.         'text/html'],
  4382.     [
  4383.         0x0L,
  4384.         'string',
  4385.         '=',
  4386.         '<!DOCTYPE',
  4387.         'exported SGML document text'],
  4388.     [
  4389.         0x0L,
  4390.         'string',
  4391.         '=',
  4392.         '<!doctype',
  4393.         'exported SGML document text'],
  4394.     [
  4395.         0x0L,
  4396.         'string',
  4397.         '=',
  4398.         '<!SUBDOC',
  4399.         'exported SGML subdocument text'],
  4400.     [
  4401.         0x0L,
  4402.         'string',
  4403.         '=',
  4404.         '<!subdoc',
  4405.         'exported SGML subdocument text'],
  4406.     [
  4407.         0x0L,
  4408.         'string',
  4409.         '=',
  4410.         '<!--',
  4411.         'exported SGML document text'],
  4412.     [
  4413.         0x0L,
  4414.         'string',
  4415.         '=',
  4416.         'RTSS',
  4417.         'NetMon capture file'],
  4418.     [
  4419.         0x0L,
  4420.         'string',
  4421.         '=',
  4422.         'TRSNIFF data    \x1a',
  4423.         'Sniffer capture file'],
  4424.     [
  4425.         0x0L,
  4426.         'string',
  4427.         '=',
  4428.         'XCP\x00',
  4429.         'NetXRay capture file'],
  4430.     [
  4431.         0x0L,
  4432.         'ubelong',
  4433.         '=',
  4434.         0xA1B2C3D4L,
  4435.         'tcpdump capture file (big-endian)'],
  4436.     [
  4437.         0x0L,
  4438.         'ulelong',
  4439.         '=',
  4440.         0xA1B2C3D4L,
  4441.         'tcpdump capture file (little-endian)'],
  4442.     [
  4443.         0x0L,
  4444.         'string',
  4445.         '=',
  4446.         '<!SQ DTD>',
  4447.         'Compiled SGML rules file'],
  4448.     [
  4449.         0x0L,
  4450.         'string',
  4451.         '=',
  4452.         '<!SQ A/E>',
  4453.         'A/E SGML Document binary'],
  4454.     [
  4455.         0x0L,
  4456.         'string',
  4457.         '=',
  4458.         '<!SQ STS>',
  4459.         'A/E SGML binary styles file'],
  4460.     [
  4461.         0x0L,
  4462.         'short',
  4463.         '=',
  4464.         0xC0DEL,
  4465.         'Compiled PSI (v1) data'],
  4466.     [
  4467.         0x0L,
  4468.         'short',
  4469.         '=',
  4470.         0xC0DAL,
  4471.         'Compiled PSI (v2) data'],
  4472.     [
  4473.         0x0L,
  4474.         'short',
  4475.         '=',
  4476.         0x1E944L,
  4477.         'SoftQuad DESC or font file binary'],
  4478.     [
  4479.         0x0L,
  4480.         'string',
  4481.         '=',
  4482.         'SQ BITMAP1',
  4483.         'SoftQuad Raster Format text'],
  4484.     [
  4485.         0x0L,
  4486.         'string',
  4487.         '=',
  4488.         'X SoftQuad',
  4489.         'troff Context intermediate'],
  4490.     [
  4491.         0x0L,
  4492.         'belong&077777777',
  4493.         '=',
  4494.         0x9295DL,
  4495.         'sparc demand paged'],
  4496.     [
  4497.         0x0L,
  4498.         'belong&077777777',
  4499.         '=',
  4500.         0x9295AL,
  4501.         'sparc pure'],
  4502.     [
  4503.         0x0L,
  4504.         'belong&077777777',
  4505.         '=',
  4506.         0x92957L,
  4507.         'sparc'],
  4508.     [
  4509.         0x0L,
  4510.         'belong&077777777',
  4511.         '=',
  4512.         0x61C1DL,
  4513.         'mc68020 demand paged'],
  4514.     [
  4515.         0x0L,
  4516.         'belong&077777777',
  4517.         '=',
  4518.         0x61C1AL,
  4519.         'mc68020 pure'],
  4520.     [
  4521.         0x0L,
  4522.         'belong&077777777',
  4523.         '=',
  4524.         0x61C17L,
  4525.         'mc68020'],
  4526.     [
  4527.         0x0L,
  4528.         'belong&077777777',
  4529.         '=',
  4530.         0x30EDDL,
  4531.         'mc68010 demand paged'],
  4532.     [
  4533.         0x0L,
  4534.         'belong&077777777',
  4535.         '=',
  4536.         0x30EDAL,
  4537.         'mc68010 pure'],
  4538.     [
  4539.         0x0L,
  4540.         'belong&077777777',
  4541.         '=',
  4542.         0x30ED7L,
  4543.         'mc68010'],
  4544.     [
  4545.         0x0L,
  4546.         'belong',
  4547.         '=',
  4548.         0x197L,
  4549.         'old sun-2 executable'],
  4550.     [
  4551.         0x0L,
  4552.         'belong',
  4553.         '=',
  4554.         0x19AL,
  4555.         'old sun-2 pure executable'],
  4556.     [
  4557.         0x0L,
  4558.         'belong',
  4559.         '=',
  4560.         0x19DL,
  4561.         'old sun-2 demand paged executable'],
  4562.     [
  4563.         0x0L,
  4564.         'belong',
  4565.         '=',
  4566.         0x80456L,
  4567.         'SunOS core file'],
  4568.     [
  4569.         0x0L,
  4570.         'long',
  4571.         '=',
  4572.         0xFA33C08EL,
  4573.         'SunPC 4.0 Hard Disk'],
  4574.     [
  4575.         0x0L,
  4576.         'string',
  4577.         '=',
  4578.         '#SUNPC_CONFIG',
  4579.         'SunPC 4.0 Properties Values'],
  4580.     [
  4581.         0x0L,
  4582.         'string',
  4583.         '=',
  4584.         'snoop',
  4585.         'Snoop capture file'],
  4586.     [
  4587.         0x24L,
  4588.         'string',
  4589.         '=',
  4590.         'acsp',
  4591.         'Kodak Color Management System, ICC Profile'],
  4592.     [
  4593.         0x0L,
  4594.         'string',
  4595.         '=',
  4596.         '#!teapot\nxdr',
  4597.         'teapot work sheet (XDR format)'],
  4598.     [
  4599.         0x0L,
  4600.         'string',
  4601.         '=',
  4602.         '\x1a\x01',
  4603.         'Compiled terminfo entry'],
  4604.     [
  4605.         0x0L,
  4606.         'short',
  4607.         '=',
  4608.         0x1B1L,
  4609.         'Curses screen image'],
  4610.     [
  4611.         0x0L,
  4612.         'short',
  4613.         '=',
  4614.         0x1B2L,
  4615.         'Curses screen image'],
  4616.     [
  4617.         0x0L,
  4618.         'string',
  4619.         '=',
  4620.         '\xf7\x02',
  4621.         'TeX DVI file'],
  4622.     [
  4623.         0x0L,
  4624.         'string',
  4625.         '=',
  4626.         '\xf7\x83',
  4627.         'font/x-tex'],
  4628.     [
  4629.         0x0L,
  4630.         'string',
  4631.         '=',
  4632.         '\xf7Y',
  4633.         'font/x-tex'],
  4634.     [
  4635.         0x0L,
  4636.         'string',
  4637.         '=',
  4638.         '\xf7\xca',
  4639.         'font/x-tex'],
  4640.     [
  4641.         0x0L,
  4642.         'string',
  4643.         '=',
  4644.         'This is TeX,',
  4645.         'TeX transcript text'],
  4646.     [
  4647.         0x0L,
  4648.         'string',
  4649.         '=',
  4650.         'This is METAFONT,',
  4651.         'METAFONT transcript text'],
  4652.     [
  4653.         0x2L,
  4654.         'string',
  4655.         '=',
  4656.         '\x00\x11',
  4657.         'font/x-tex-tfm'],
  4658.     [
  4659.         0x2L,
  4660.         'string',
  4661.         '=',
  4662.         '\x00\x12',
  4663.         'font/x-tex-tfm'],
  4664.     [
  4665.         0x0L,
  4666.         'string',
  4667.         '=',
  4668.         '\\\\input\\',
  4669.         'texinfo Texinfo source text'],
  4670.     [
  4671.         0x0L,
  4672.         'string',
  4673.         '=',
  4674.         'This is Info file',
  4675.         'GNU Info text'],
  4676.     [
  4677.         0x0L,
  4678.         'string',
  4679.         '=',
  4680.         '\\\\input',
  4681.         'TeX document text'],
  4682.     [
  4683.         0x0L,
  4684.         'string',
  4685.         '=',
  4686.         '\\\\section',
  4687.         'LaTeX document text'],
  4688.     [
  4689.         0x0L,
  4690.         'string',
  4691.         '=',
  4692.         '\\\\setlength',
  4693.         'LaTeX document text'],
  4694.     [
  4695.         0x0L,
  4696.         'string',
  4697.         '=',
  4698.         '\\\\documentstyle',
  4699.         'LaTeX document text'],
  4700.     [
  4701.         0x0L,
  4702.         'string',
  4703.         '=',
  4704.         '\\\\chapter',
  4705.         'LaTeX document text'],
  4706.     [
  4707.         0x0L,
  4708.         'string',
  4709.         '=',
  4710.         '\\\\documentclass',
  4711.         'LaTeX 2e document text'],
  4712.     [
  4713.         0x0L,
  4714.         'string',
  4715.         '=',
  4716.         '\\\\relax',
  4717.         'LaTeX auxiliary file'],
  4718.     [
  4719.         0x0L,
  4720.         'string',
  4721.         '=',
  4722.         '\\\\contentsline',
  4723.         'LaTeX table of contents'],
  4724.     [
  4725.         0x0L,
  4726.         'string',
  4727.         '=',
  4728.         '\\\\indexentry',
  4729.         'LaTeX raw index file'],
  4730.     [
  4731.         0x0L,
  4732.         'string',
  4733.         '=',
  4734.         '\\\\begin{theindex}',
  4735.         'LaTeX sorted index'],
  4736.     [
  4737.         0x0L,
  4738.         'string',
  4739.         '=',
  4740.         '\\\\glossaryentry',
  4741.         'LaTeX raw glossary'],
  4742.     [
  4743.         0x0L,
  4744.         'string',
  4745.         '=',
  4746.         '\\\\begin{theglossary}',
  4747.         'LaTeX sorted glossary'],
  4748.     [
  4749.         0x0L,
  4750.         'string',
  4751.         '=',
  4752.         'This is makeindex',
  4753.         'Makeindex log file'],
  4754.     [
  4755.         0x0L,
  4756.         'string',
  4757.         '=',
  4758.         '**TI82**',
  4759.         'TI-82 Graphing Calculator'],
  4760.     [
  4761.         0x0L,
  4762.         'string',
  4763.         '=',
  4764.         '**TI83**',
  4765.         'TI-83 Graphing Calculator'],
  4766.     [
  4767.         0x0L,
  4768.         'string',
  4769.         '=',
  4770.         '**TI85**',
  4771.         'TI-85 Graphing Calculator'],
  4772.     [
  4773.         0x0L,
  4774.         'string',
  4775.         '=',
  4776.         '**TI92**',
  4777.         'TI-92 Graphing Calculator'],
  4778.     [
  4779.         0x0L,
  4780.         'string',
  4781.         '=',
  4782.         '**TI80**',
  4783.         'TI-80 Graphing Calculator File.'],
  4784.     [
  4785.         0x0L,
  4786.         'string',
  4787.         '=',
  4788.         '**TI81**',
  4789.         'TI-81 Graphing Calculator File.'],
  4790.     [
  4791.         0x0L,
  4792.         'string',
  4793.         '=',
  4794.         'TZif',
  4795.         'timezone data'],
  4796.     [
  4797.         0x0L,
  4798.         'string',
  4799.         '=',
  4800.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00',
  4801.         'old timezone data'],
  4802.     [
  4803.         0x0L,
  4804.         'string',
  4805.         '=',
  4806.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00',
  4807.         'old timezone data'],
  4808.     [
  4809.         0x0L,
  4810.         'string',
  4811.         '=',
  4812.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00',
  4813.         'old timezone data'],
  4814.     [
  4815.         0x0L,
  4816.         'string',
  4817.         '=',
  4818.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00',
  4819.         'old timezone data'],
  4820.     [
  4821.         0x0L,
  4822.         'string',
  4823.         '=',
  4824.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00',
  4825.         'old timezone data'],
  4826.     [
  4827.         0x0L,
  4828.         'string',
  4829.         '=',
  4830.         '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x06\x00',
  4831.         'old timezone data'],
  4832.     [
  4833.         0x0L,
  4834.         'string',
  4835.         '=',
  4836.         '.\\\\"',
  4837.         'troff or preprocessor input text'],
  4838.     [
  4839.         0x0L,
  4840.         'string',
  4841.         '=',
  4842.         '\'\\\\"',
  4843.         'troff or preprocessor input text'],
  4844.     [
  4845.         0x0L,
  4846.         'string',
  4847.         '=',
  4848.         '\'.\\\\"',
  4849.         'troff or preprocessor input text'],
  4850.     [
  4851.         0x0L,
  4852.         'string',
  4853.         '=',
  4854.         '\\\\"',
  4855.         'troff or preprocessor input text'],
  4856.     [
  4857.         0x0L,
  4858.         'string',
  4859.         '=',
  4860.         'x T',
  4861.         'ditroff text'],
  4862.     [
  4863.         0x0L,
  4864.         'string',
  4865.         '=',
  4866.         '@\xef',
  4867.         'very old (C/A/T) troff output data'],
  4868.     [
  4869.         0x0L,
  4870.         'string',
  4871.         '=',
  4872.         'Interpress/Xerox',
  4873.         'Xerox InterPress data'],
  4874.     [
  4875.         0x0L,
  4876.         'short',
  4877.         '=',
  4878.         0x107L,
  4879.         'unknown machine executable'],
  4880.     [
  4881.         0x0L,
  4882.         'short',
  4883.         '=',
  4884.         0x108L,
  4885.         'unknown pure executable'],
  4886.     [
  4887.         0x0L,
  4888.         'short',
  4889.         '=',
  4890.         0x109L,
  4891.         'PDP-11 separate I&D'],
  4892.     [
  4893.         0x0L,
  4894.         'short',
  4895.         '=',
  4896.         0x10BL,
  4897.         'unknown pure executable'],
  4898.     [
  4899.         0x0L,
  4900.         'long',
  4901.         '=',
  4902.         0x10CL,
  4903.         'unknown demand paged pure executable'],
  4904.     [
  4905.         0x0L,
  4906.         'long',
  4907.         '=',
  4908.         0x10DL,
  4909.         'unknown demand paged pure executable'],
  4910.     [
  4911.         0x0L,
  4912.         'long',
  4913.         '=',
  4914.         0x10EL,
  4915.         'unknown readable demand paged pure executable'],
  4916.     [
  4917.         0x0L,
  4918.         'string',
  4919.         '=',
  4920.         'begin uuencoded',
  4921.         'or xxencoded text'],
  4922.     [
  4923.         0x0L,
  4924.         'string',
  4925.         '=',
  4926.         'xbtoa Begin',
  4927.         "btoa'd text"],
  4928.     [
  4929.         0x0L,
  4930.         'string',
  4931.         '=',
  4932.         '$\nship',
  4933.         "ship'd binary text"],
  4934.     [
  4935.         0x0L,
  4936.         'string',
  4937.         '=',
  4938.         'Decode the following with bdeco',
  4939.         'bencoded News text'],
  4940.     [
  4941.         0xBL,
  4942.         'string',
  4943.         '=',
  4944.         'must be converted with BinHex',
  4945.         'BinHex binary text'],
  4946.     [
  4947.         0x0L,
  4948.         'short',
  4949.         '=',
  4950.         0x262L,
  4951.         'Perkin-Elmer executable'],
  4952.     [
  4953.         0x0L,
  4954.         'beshort',
  4955.         '=',
  4956.         0x23CL,
  4957.         'amd 29k coff noprebar executable'],
  4958.     [
  4959.         0x0L,
  4960.         'beshort',
  4961.         '=',
  4962.         0x624L,
  4963.         'amd 29k coff prebar executable'],
  4964.     [
  4965.         0x0L,
  4966.         'beshort',
  4967.         '=',
  4968.         0x27107L,
  4969.         'amd 29k coff archive'],
  4970.     [
  4971.         0x6L,
  4972.         'beshort',
  4973.         '=',
  4974.         0x197L,
  4975.         'unicos (cray) executable'],
  4976.     [
  4977.         0x254L,
  4978.         'string',
  4979.         '=',
  4980.         'X\xdf\xff\xff',
  4981.         'Ultrix core file'],
  4982.     [
  4983.         0x0L,
  4984.         'string',
  4985.         '=',
  4986.         'Joy!peffpwpc',
  4987.         'header for PowerPC PEF executable'],
  4988.     [
  4989.         0x0L,
  4990.         'lelong',
  4991.         '=',
  4992.         0x18CB5L,
  4993.         'VAX single precision APL workspace'],
  4994.     [
  4995.         0x0L,
  4996.         'lelong',
  4997.         '=',
  4998.         0x18CB4L,
  4999.         'VAX double precision APL workspace'],
  5000.     [
  5001.         0x0L,
  5002.         'lelong',
  5003.         '=',
  5004.         0x197L,
  5005.         'VAX executable'],
  5006.     [
  5007.         0x0L,
  5008.         'lelong',
  5009.         '=',
  5010.         0x19AL,
  5011.         'VAX pure executable'],
  5012.     [
  5013.         0x0L,
  5014.         'lelong',
  5015.         '=',
  5016.         0x19DL,
  5017.         'VAX demand paged pure executable'],
  5018.     [
  5019.         0x0L,
  5020.         'leshort',
  5021.         '=',
  5022.         0x23AL,
  5023.         'VAX COFF executable'],
  5024.     [
  5025.         0x0L,
  5026.         'leshort',
  5027.         '=',
  5028.         0x23FL,
  5029.         'VAX COFF pure executable'],
  5030.     [
  5031.         0x0L,
  5032.         'string',
  5033.         '=',
  5034.         'LBLSIZE=',
  5035.         'VICAR image data'],
  5036.     [
  5037.         0x2BL,
  5038.         'string',
  5039.         '=',
  5040.         'SFDU_LABEL',
  5041.         'VICAR label file'],
  5042.     [
  5043.         0x0L,
  5044.         'short',
  5045.         '=',
  5046.         0x5555L,
  5047.         'VISX image file'],
  5048.     [
  5049.         0x0L,
  5050.         'string',
  5051.         '=',
  5052.         '\xb0\x000\x00',
  5053.         'VMS VAX executable'],
  5054.     [
  5055.         0x0L,
  5056.         'belong',
  5057.         '=',
  5058.         0x3000000L,
  5059.         'VMS Alpha executable'],
  5060.     [
  5061.         0x1L,
  5062.         'string',
  5063.         '=',
  5064.         'WPC',
  5065.         '(Corel/WP)'],
  5066.     [
  5067.         0x0L,
  5068.         'string',
  5069.         '=',
  5070.         'core',
  5071.         'core file (Xenix)'],
  5072.     [
  5073.         0x0L,
  5074.         'byte',
  5075.         '=',
  5076.         0x80L,
  5077.         '8086 relocatable (Microsoft)'],
  5078.     [
  5079.         0x0L,
  5080.         'leshort',
  5081.         '=',
  5082.         0xFF65L,
  5083.         'x.out'],
  5084.     [
  5085.         0x0L,
  5086.         'leshort',
  5087.         '=',
  5088.         0x206L,
  5089.         'Microsoft a.out'],
  5090.     [
  5091.         0x0L,
  5092.         'leshort',
  5093.         '=',
  5094.         0x140L,
  5095.         'old Microsoft 8086 x.out'],
  5096.     [
  5097.         0x0L,
  5098.         'lelong',
  5099.         '=',
  5100.         0x206L,
  5101.         'b.out'],
  5102.     [
  5103.         0x0L,
  5104.         'leshort',
  5105.         '=',
  5106.         0x580L,
  5107.         'XENIX 8086 relocatable or 80286 small model'],
  5108.     [
  5109.         0x0L,
  5110.         'long',
  5111.         '=',
  5112.         0xE807L,
  5113.         'object file (z8000 a.out)'],
  5114.     [
  5115.         0x0L,
  5116.         'long',
  5117.         '=',
  5118.         0xE808L,
  5119.         'pure object file (z8000 a.out)'],
  5120.     [
  5121.         0x0L,
  5122.         'long',
  5123.         '=',
  5124.         0xE809L,
  5125.         'separate object file (z8000 a.out)'],
  5126.     [
  5127.         0x0L,
  5128.         'long',
  5129.         '=',
  5130.         0xE805L,
  5131.         'overlay object file (z8000 a.out)'],
  5132.     [
  5133.         0x0L,
  5134.         'string',
  5135.         '=',
  5136.         'ZyXEL\x02',
  5137.         'ZyXEL voice data']]
  5138. magicNumbers = []
  5139. hexdigits = '0123456789abcdefABCDEF'
  5140.  
  5141. def strToNum(n):
  5142.     if n[:1] == 'x':
  5143.         n = '0' + n
  5144.     
  5145.     if n[:2] == '0x':
  5146.         return int(n, 16)
  5147.     elif n[0] == '\\':
  5148.         n = n[1:]
  5149.         return int(n, 8)
  5150.     else:
  5151.         return int(n)
  5152.  
  5153.  
  5154. def unescape(s):
  5155.     while None:
  5156.         m = re.search('\\\\', s)
  5157.         if not m:
  5158.             break
  5159.         
  5160.         x = m.start() + 1
  5161.         if m.end() == len(s):
  5162.             s = s[:len(s) - 1] + ' '
  5163.             continue
  5164.         if s[x:x + 2] == '0x':
  5165.             c = chr(strToNum(s[x:x + 4]))
  5166.             s = s[:x - 1] + c + s[x + 4:]
  5167.             continue
  5168.         if s[m.start() + 1] == 'x':
  5169.             c = chr(strToNum(s[x:x + 3]))
  5170.             s = s[:x - 1] + c + s[x + 3:]
  5171.             continue
  5172.         if ord(s[x]) > ord(s[x]):
  5173.             pass
  5174.         elif ord(s[x]) > 47:
  5175.             end = x
  5176.             while ord(s[end]) > 47 and ord(s[end]) < 58:
  5177.                 end = end + 1
  5178.                 if end > len(s) - 1:
  5179.                     break
  5180.                     continue
  5181.             c = chr(strToNum(s[x - 1:end]))
  5182.             s = s[:x - 1] + c + s[end:]
  5183.             continue
  5184.         if s[x] == 'n':
  5185.             s = s[:x - 1] + '\n' + s[x + 1:]
  5186.             continue
  5187.         break
  5188.         continue
  5189.         return s
  5190.  
  5191.  
  5192. class magicTest:
  5193.     
  5194.     def __init__(self, offset, t, op, value, msg, mask = None):
  5195.         if t.count('&') > 0:
  5196.             mask = strToNum(t[t.index('&') + 1:])
  5197.             t = t[:t.index('&')]
  5198.         
  5199.         if type(offset) == type('a'):
  5200.             self.offset = strToNum(offset)
  5201.         else:
  5202.             self.offset = offset
  5203.         self.type = t
  5204.         self.msg = msg
  5205.         self.subTests = []
  5206.         self.op = op
  5207.         self.mask = mask
  5208.         self.value = value
  5209.  
  5210.     
  5211.     def test(self, data):
  5212.         if self.mask:
  5213.             data = data & self.mask
  5214.         
  5215.         if self.op == '=':
  5216.             if self.value == data:
  5217.                 return self.msg
  5218.             
  5219.         
  5220.  
  5221.     
  5222.     def compare(self, data):
  5223.         
  5224.         try:
  5225.             if self.type == 'string':
  5226.                 (c, s) = ('', '')
  5227.                 for i in range(0, len(self.value) + 1):
  5228.                     if i + self.offset > len(data) - 1:
  5229.                         break
  5230.                     
  5231.                     s = s + c
  5232.                     (c,) = struct.unpack('c', data[self.offset + i])
  5233.                 
  5234.                 data = s
  5235.             elif self.type == 'short':
  5236.                 (data,) = struct.unpack('h', data[self.offset:self.offset + 2])
  5237.             elif self.type == 'leshort':
  5238.                 (data,) = struct.unpack('<h', data[self.offset:self.offset + 2])
  5239.             elif self.type == 'beshort':
  5240.                 (data,) = struct.unpack('>H', data[self.offset:self.offset + 2])
  5241.             elif self.type == 'long':
  5242.                 (data,) = struct.unpack('l', data[self.offset:self.offset + 4])
  5243.             elif self.type == 'lelong':
  5244.                 (data,) = struct.unpack('<l', data[self.offset:self.offset + 4])
  5245.             elif self.type == 'belong':
  5246.                 (data,) = struct.unpack('>l', data[self.offset:self.offset + 4])
  5247.         except:
  5248.             return None
  5249.  
  5250.         return self.test(data)
  5251.  
  5252.  
  5253.  
  5254. def load(file):
  5255.     lines = open(file).readlines()
  5256.     last = {
  5257.         0: None }
  5258.     for line in lines:
  5259.         if re.match('\\s*#', line):
  5260.             continue
  5261.             continue
  5262.         line = line.rstrip()
  5263.         line = re.split('\\s*', line)
  5264.         if len(line) < 3:
  5265.             continue
  5266.         
  5267.         offset = line[0]
  5268.         type = line[1]
  5269.         value = line[2]
  5270.         level = 0
  5271.         while offset[0] == '>':
  5272.             level = level + 1
  5273.             offset = offset[1:]
  5274.         l = magicNumbers
  5275.         if level > 0:
  5276.             l = last[level - 1].subTests
  5277.         
  5278.         if offset[0] in ('(', '&'):
  5279.             continue
  5280.         operands = [
  5281.             '=',
  5282.             '<',
  5283.             '>',
  5284.             '&']
  5285.         if operands.count(value[0]) > 0:
  5286.             op = value[0]
  5287.             value = value[1:]
  5288.         elif len(value) > 1 and value[0] == '\\' and operands.count(value[1]) > 0:
  5289.             value = value[1:]
  5290.         
  5291.         op = '='
  5292.         mask = None
  5293.         if type == 'string':
  5294.             while None:
  5295.                 value = unescape(value)
  5296.                 if value[len(value) - 1] == ' ' and len(line) > 3:
  5297.                     value = value + line[3]
  5298.                     del line[3]
  5299.                     continue
  5300.                 break
  5301.                 continue
  5302.         type == 'string'
  5303.         if value.count('&') != 0:
  5304.             mask = value[value.index('&') + 1:]
  5305.             value = value[:value.index('&') + 1]
  5306.         
  5307.         
  5308.         try:
  5309.             value = strToNum(value)
  5310.         except:
  5311.             continue
  5312.  
  5313.         msg = ''.join(list(line[3:]))
  5314.         new = magicTest(offset, type, op, value, msg, mask)
  5315.         last[level] = new
  5316.         l.append(new)
  5317.     
  5318.  
  5319.  
  5320. def load(file):
  5321.     lines = open(file).readlines()
  5322.     last = {
  5323.         0: None }
  5324.     for line in lines:
  5325.         if re.match('\\s*#', line):
  5326.             continue
  5327.             continue
  5328.         line = line.rstrip()
  5329.         line = re.split('\\s*', line)
  5330.         if len(line) < 3:
  5331.             continue
  5332.         
  5333.         offset = line[0]
  5334.         type = line[1]
  5335.         value = line[2]
  5336.         level = 0
  5337.         while offset[0] == '>':
  5338.             level = level + 1
  5339.             offset = offset[1:]
  5340.         l = magicNumbers
  5341.         if level > 0:
  5342.             l = last[level - 1].subTests
  5343.         
  5344.         if offset[0] == '(':
  5345.             continue
  5346.         if offset[0] == '&':
  5347.             continue
  5348.         operands = [
  5349.             '=',
  5350.             '<',
  5351.             '>',
  5352.             '&']
  5353.         if operands.count(value[0]) > 0:
  5354.             op = value[0]
  5355.             value = value[1:]
  5356.         elif len(value) > 1 and value[0] == '\\' and operands.count(value[1]) > 0:
  5357.             value = value[1:]
  5358.         
  5359.         op = '='
  5360.         mask = None
  5361.         if type == 'string':
  5362.             while None:
  5363.                 value = unescape(value)
  5364.                 if value[len(value) - 1] == ' ' and len(line) > 3:
  5365.                     value = value + line[3]
  5366.                     del line[3]
  5367.                     continue
  5368.                 break
  5369.                 continue
  5370.         type == 'string'
  5371.         if value.count('&') != 0:
  5372.             mask = value[value.index('&') + 1:]
  5373.             value = value[:value.index('&') + 1]
  5374.         
  5375.         
  5376.         try:
  5377.             value = strToNum(value)
  5378.         except:
  5379.             continue
  5380.  
  5381.         msg = ''.join(list(line[3:]))
  5382.         new = magicTest(offset, type, op, value, msg, mask)
  5383.         last[level] = new
  5384.         l.append(new)
  5385.     
  5386.  
  5387.  
  5388. def whatis(data):
  5389.     for test in magicNumbers:
  5390.         m = test.compare(data)
  5391.         if m:
  5392.             return m
  5393.             continue
  5394.     
  5395.     for c in data:
  5396.         if ord(c) == 0:
  5397.             return 'data'
  5398.             continue
  5399.     
  5400.     if data.find('!/usr/bin/env python', 0, 256) > -1 or data.find('def ', 0, 8192) > -1:
  5401.         return 'application/x-python'
  5402.     
  5403.     return 'text/plain'
  5404.  
  5405.  
  5406. def mime_type(f):
  5407.     
  5408.     try:
  5409.         return whatis(open(f, 'r').read(8192))
  5410.     except Exception:
  5411.         e = None
  5412.         if str(e) == '[Errno 21] Is a directory':
  5413.             return 'directory'
  5414.         else:
  5415.             raise e
  5416.     except:
  5417.         str(e) == '[Errno 21] Is a directory'
  5418.  
  5419.  
  5420. for m in magic:
  5421.     magicNumbers.append(magicTest(m[0], m[1], m[2], m[3], m[4]))
  5422.  
  5423.