polyfile-weave 0.5.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of polyfile-weave might be problematic. Click here for more details.

Files changed (585) hide show
  1. polyfile/__init__.py +15 -0
  2. polyfile/__main__.py +394 -0
  3. polyfile/arithmetic.py +27 -0
  4. polyfile/ast.py +114 -0
  5. polyfile/debugger.py +1039 -0
  6. polyfile/expressions.py +346 -0
  7. polyfile/fileutils.py +343 -0
  8. polyfile/html.py +135 -0
  9. polyfile/http/__init__.py +1 -0
  10. polyfile/http/defacto.py +37 -0
  11. polyfile/http/deprecated.py +51 -0
  12. polyfile/http/experimental.py +67 -0
  13. polyfile/http/http_11.py +548 -0
  14. polyfile/http/matcher.py +37 -0
  15. polyfile/http/structured_headers.py +48 -0
  16. polyfile/iterators.py +72 -0
  17. polyfile/jpeg.py +24 -0
  18. polyfile/kaitai/__init__.py +0 -0
  19. polyfile/kaitai/compiler.py +156 -0
  20. polyfile/kaitai/parser.py +312 -0
  21. polyfile/kaitai/parsers/__init__.py +0 -0
  22. polyfile/kaitai/parsers/aix_utmp.py +116 -0
  23. polyfile/kaitai/parsers/allegro_dat.py +367 -0
  24. polyfile/kaitai/parsers/andes_firmware.py +64 -0
  25. polyfile/kaitai/parsers/android_bootldr_asus.py +105 -0
  26. polyfile/kaitai/parsers/android_bootldr_huawei.py +181 -0
  27. polyfile/kaitai/parsers/android_bootldr_qcom.py +217 -0
  28. polyfile/kaitai/parsers/android_dto.py +138 -0
  29. polyfile/kaitai/parsers/android_img.py +319 -0
  30. polyfile/kaitai/parsers/android_nanoapp_header.py +83 -0
  31. polyfile/kaitai/parsers/android_opengl_shaders_cache.py +151 -0
  32. polyfile/kaitai/parsers/android_sparse.py +237 -0
  33. polyfile/kaitai/parsers/android_super.py +401 -0
  34. polyfile/kaitai/parsers/apm_partition_table.py +196 -0
  35. polyfile/kaitai/parsers/apple_single_double.py +180 -0
  36. polyfile/kaitai/parsers/asn1_der.py +235 -0
  37. polyfile/kaitai/parsers/au.py +138 -0
  38. polyfile/kaitai/parsers/avantes_roh60.py +112 -0
  39. polyfile/kaitai/parsers/avi.py +296 -0
  40. polyfile/kaitai/parsers/bcd.py +111 -0
  41. polyfile/kaitai/parsers/bitcoin_transaction.py +210 -0
  42. polyfile/kaitai/parsers/blender_blend.py +334 -0
  43. polyfile/kaitai/parsers/bmp.py +780 -0
  44. polyfile/kaitai/parsers/bson.py +411 -0
  45. polyfile/kaitai/parsers/btrfs_stream.py +318 -0
  46. polyfile/kaitai/parsers/bytes_with_io.py +27 -0
  47. polyfile/kaitai/parsers/chrome_pak.py +194 -0
  48. polyfile/kaitai/parsers/code_6502.py +456 -0
  49. polyfile/kaitai/parsers/compressed_resource.py +217 -0
  50. polyfile/kaitai/parsers/cpio_old_le.py +154 -0
  51. polyfile/kaitai/parsers/cramfs.py +344 -0
  52. polyfile/kaitai/parsers/creative_voice_file.py +342 -0
  53. polyfile/kaitai/parsers/dbf.py +274 -0
  54. polyfile/kaitai/parsers/dcmp_0.py +664 -0
  55. polyfile/kaitai/parsers/dcmp_1.py +422 -0
  56. polyfile/kaitai/parsers/dcmp_2.py +312 -0
  57. polyfile/kaitai/parsers/dcmp_variable_length_integer.py +66 -0
  58. polyfile/kaitai/parsers/dex.py +1086 -0
  59. polyfile/kaitai/parsers/dicom.py +4370 -0
  60. polyfile/kaitai/parsers/dime_message.py +201 -0
  61. polyfile/kaitai/parsers/dns_packet.py +569 -0
  62. polyfile/kaitai/parsers/doom_wad.py +654 -0
  63. polyfile/kaitai/parsers/dos_datetime.py +191 -0
  64. polyfile/kaitai/parsers/dos_mz.py +172 -0
  65. polyfile/kaitai/parsers/ds_store.py +513 -0
  66. polyfile/kaitai/parsers/dtb.py +310 -0
  67. polyfile/kaitai/parsers/dune_2_pak.py +126 -0
  68. polyfile/kaitai/parsers/edid.py +472 -0
  69. polyfile/kaitai/parsers/efivar_signature_list.py +331 -0
  70. polyfile/kaitai/parsers/elf.py +2482 -0
  71. polyfile/kaitai/parsers/ethernet_frame.py +114 -0
  72. polyfile/kaitai/parsers/exif.py +723 -0
  73. polyfile/kaitai/parsers/ext2.py +537 -0
  74. polyfile/kaitai/parsers/fallout2_dat.py +187 -0
  75. polyfile/kaitai/parsers/fallout_dat.py +156 -0
  76. polyfile/kaitai/parsers/fasttracker_xm_module.py +558 -0
  77. polyfile/kaitai/parsers/ftl_dat.py +90 -0
  78. polyfile/kaitai/parsers/genmidi_op2.py +161 -0
  79. polyfile/kaitai/parsers/gettext_mo.py +541 -0
  80. polyfile/kaitai/parsers/gif.py +492 -0
  81. polyfile/kaitai/parsers/gimp_brush.py +244 -0
  82. polyfile/kaitai/parsers/glibc_utmp.py +114 -0
  83. polyfile/kaitai/parsers/gltf_binary.py +132 -0
  84. polyfile/kaitai/parsers/google_protobuf.py +151 -0
  85. polyfile/kaitai/parsers/gpt_partition_table.py +175 -0
  86. polyfile/kaitai/parsers/gran_turismo_vol.py +140 -0
  87. polyfile/kaitai/parsers/grub2_font.py +337 -0
  88. polyfile/kaitai/parsers/gzip.py +232 -0
  89. polyfile/kaitai/parsers/hashcat_restore.py +60 -0
  90. polyfile/kaitai/parsers/hccap.py +111 -0
  91. polyfile/kaitai/parsers/hccapx.py +103 -0
  92. polyfile/kaitai/parsers/heaps_pak.py +177 -0
  93. polyfile/kaitai/parsers/heroes_of_might_and_magic_agg.py +116 -0
  94. polyfile/kaitai/parsers/heroes_of_might_and_magic_bmp.py +34 -0
  95. polyfile/kaitai/parsers/icmp_packet.py +136 -0
  96. polyfile/kaitai/parsers/ico.py +129 -0
  97. polyfile/kaitai/parsers/id3v1_1.py +220 -0
  98. polyfile/kaitai/parsers/id3v2_3.py +324 -0
  99. polyfile/kaitai/parsers/id3v2_4.py +423 -0
  100. polyfile/kaitai/parsers/ines.py +282 -0
  101. polyfile/kaitai/parsers/ipv4_packet.py +158 -0
  102. polyfile/kaitai/parsers/ipv6_packet.py +55 -0
  103. polyfile/kaitai/parsers/iso9660.py +544 -0
  104. polyfile/kaitai/parsers/java_class.py +1113 -0
  105. polyfile/kaitai/parsers/jpeg.py +361 -0
  106. polyfile/kaitai/parsers/luks.py +149 -0
  107. polyfile/kaitai/parsers/lzh.py +165 -0
  108. polyfile/kaitai/parsers/mac_os_resource_snd.py +493 -0
  109. polyfile/kaitai/parsers/mach_o.py +3033 -0
  110. polyfile/kaitai/parsers/mach_o_fat.py +92 -0
  111. polyfile/kaitai/parsers/magicavoxel_vox.py +391 -0
  112. polyfile/kaitai/parsers/manifest.json +1 -0
  113. polyfile/kaitai/parsers/mbr_partition_table.py +119 -0
  114. polyfile/kaitai/parsers/mcap.py +1015 -0
  115. polyfile/kaitai/parsers/microsoft_cfb.py +293 -0
  116. polyfile/kaitai/parsers/microsoft_network_monitor_v2.py +309 -0
  117. polyfile/kaitai/parsers/microsoft_pe.py +765 -0
  118. polyfile/kaitai/parsers/mifare_classic.py +706 -0
  119. polyfile/kaitai/parsers/minecraft_nbt.py +449 -0
  120. polyfile/kaitai/parsers/monomakh_sapr_chg.py +69 -0
  121. polyfile/kaitai/parsers/mozilla_mar.py +239 -0
  122. polyfile/kaitai/parsers/mp4.py +333 -0
  123. polyfile/kaitai/parsers/msgpack.py +467 -0
  124. polyfile/kaitai/parsers/nitf.py +1189 -0
  125. polyfile/kaitai/parsers/nt_mdt_pal.py +155 -0
  126. polyfile/kaitai/parsers/ogg.py +118 -0
  127. polyfile/kaitai/parsers/openpgp_message.py +993 -0
  128. polyfile/kaitai/parsers/packet_ppi.py +515 -0
  129. polyfile/kaitai/parsers/pcap.py +344 -0
  130. polyfile/kaitai/parsers/pcf_font.py +506 -0
  131. polyfile/kaitai/parsers/pcx.py +195 -0
  132. polyfile/kaitai/parsers/pcx_dcx.py +79 -0
  133. polyfile/kaitai/parsers/phar_without_stub.py +399 -0
  134. polyfile/kaitai/parsers/php_serialized_value.py +505 -0
  135. polyfile/kaitai/parsers/png.py +721 -0
  136. polyfile/kaitai/parsers/protocol_body.py +260 -0
  137. polyfile/kaitai/parsers/psx_tim.py +104 -0
  138. polyfile/kaitai/parsers/python_pickle.py +718 -0
  139. polyfile/kaitai/parsers/python_pyc_27.py +510 -0
  140. polyfile/kaitai/parsers/quake_mdl.py +441 -0
  141. polyfile/kaitai/parsers/quake_pak.py +112 -0
  142. polyfile/kaitai/parsers/quicktime_mov.py +634 -0
  143. polyfile/kaitai/parsers/rar.py +265 -0
  144. polyfile/kaitai/parsers/regf.py +569 -0
  145. polyfile/kaitai/parsers/renderware_binary_stream.py +877 -0
  146. polyfile/kaitai/parsers/resource_fork.py +611 -0
  147. polyfile/kaitai/parsers/respack.py +57 -0
  148. polyfile/kaitai/parsers/riff.py +409 -0
  149. polyfile/kaitai/parsers/rpm.py +964 -0
  150. polyfile/kaitai/parsers/rtcp_payload.py +579 -0
  151. polyfile/kaitai/parsers/rtp_packet.py +150 -0
  152. polyfile/kaitai/parsers/rtpdump.py +115 -0
  153. polyfile/kaitai/parsers/ruby_marshal.py +423 -0
  154. polyfile/kaitai/parsers/s3m.py +493 -0
  155. polyfile/kaitai/parsers/saints_row_2_vpp_pc.py +254 -0
  156. polyfile/kaitai/parsers/shapefile_index.py +174 -0
  157. polyfile/kaitai/parsers/shapefile_main.py +893 -0
  158. polyfile/kaitai/parsers/some_ip.py +209 -0
  159. polyfile/kaitai/parsers/some_ip_container.py +37 -0
  160. polyfile/kaitai/parsers/some_ip_sd.py +86 -0
  161. polyfile/kaitai/parsers/some_ip_sd_entries.py +160 -0
  162. polyfile/kaitai/parsers/some_ip_sd_options.py +374 -0
  163. polyfile/kaitai/parsers/specpr.py +404 -0
  164. polyfile/kaitai/parsers/sqlite3.py +472 -0
  165. polyfile/kaitai/parsers/ssh_public_key.py +252 -0
  166. polyfile/kaitai/parsers/standard_midi_file.py +390 -0
  167. polyfile/kaitai/parsers/stl.py +111 -0
  168. polyfile/kaitai/parsers/sudoers_ts.py +201 -0
  169. polyfile/kaitai/parsers/swf.py +406 -0
  170. polyfile/kaitai/parsers/systemd_journal.py +361 -0
  171. polyfile/kaitai/parsers/tcp_segment.py +57 -0
  172. polyfile/kaitai/parsers/tga.py +213 -0
  173. polyfile/kaitai/parsers/tls_client_hello.py +293 -0
  174. polyfile/kaitai/parsers/tr_dos_image.py +322 -0
  175. polyfile/kaitai/parsers/tsm.py +198 -0
  176. polyfile/kaitai/parsers/ttf.py +1847 -0
  177. polyfile/kaitai/parsers/udp_datagram.py +42 -0
  178. polyfile/kaitai/parsers/uefi_te.py +236 -0
  179. polyfile/kaitai/parsers/uimage.py +198 -0
  180. polyfile/kaitai/parsers/utf8_string.py +137 -0
  181. polyfile/kaitai/parsers/vfat.py +410 -0
  182. polyfile/kaitai/parsers/vlq_base128_be.py +104 -0
  183. polyfile/kaitai/parsers/vlq_base128_le.py +129 -0
  184. polyfile/kaitai/parsers/vmware_vmdk.py +167 -0
  185. polyfile/kaitai/parsers/vp8_ivf.py +112 -0
  186. polyfile/kaitai/parsers/warcraft_2_pud.py +423 -0
  187. polyfile/kaitai/parsers/wav.py +1014 -0
  188. polyfile/kaitai/parsers/websocket.py +167 -0
  189. polyfile/kaitai/parsers/windows_evt_log.py +304 -0
  190. polyfile/kaitai/parsers/windows_lnk_file.py +467 -0
  191. polyfile/kaitai/parsers/windows_minidump.py +575 -0
  192. polyfile/kaitai/parsers/windows_resource_file.py +243 -0
  193. polyfile/kaitai/parsers/windows_shell_items.py +190 -0
  194. polyfile/kaitai/parsers/windows_systemtime.py +52 -0
  195. polyfile/kaitai/parsers/wmf.py +502 -0
  196. polyfile/kaitai/parsers/xar.py +181 -0
  197. polyfile/kaitai/parsers/xwd.py +189 -0
  198. polyfile/kaitai/parsers/zip.py +685 -0
  199. polyfile/kaitai/parsers/zisofs.py +158 -0
  200. polyfile/kaitai/parsers/zx_spectrum_tap.py +184 -0
  201. polyfile/kaitaimatcher.py +113 -0
  202. polyfile/languagematcher.py +217 -0
  203. polyfile/logger.py +135 -0
  204. polyfile/magic.py +2983 -0
  205. polyfile/magic_defs/COPYING +29 -0
  206. polyfile/magic_defs/__init__.py +0 -0
  207. polyfile/magic_defs/acorn +102 -0
  208. polyfile/magic_defs/adi +13 -0
  209. polyfile/magic_defs/adventure +122 -0
  210. polyfile/magic_defs/aes +29 -0
  211. polyfile/magic_defs/algol68 +35 -0
  212. polyfile/magic_defs/allegro +9 -0
  213. polyfile/magic_defs/alliant +18 -0
  214. polyfile/magic_defs/alpha +32 -0
  215. polyfile/magic_defs/amanda +12 -0
  216. polyfile/magic_defs/amigaos +218 -0
  217. polyfile/magic_defs/android +259 -0
  218. polyfile/magic_defs/animation +1197 -0
  219. polyfile/magic_defs/aout +46 -0
  220. polyfile/magic_defs/apache +28 -0
  221. polyfile/magic_defs/apl +7 -0
  222. polyfile/magic_defs/apple +773 -0
  223. polyfile/magic_defs/application +7 -0
  224. polyfile/magic_defs/applix +13 -0
  225. polyfile/magic_defs/apt +52 -0
  226. polyfile/magic_defs/archive +2586 -0
  227. polyfile/magic_defs/aria +38 -0
  228. polyfile/magic_defs/arm +50 -0
  229. polyfile/magic_defs/asf +132 -0
  230. polyfile/magic_defs/assembler +18 -0
  231. polyfile/magic_defs/asterix +18 -0
  232. polyfile/magic_defs/att3b +41 -0
  233. polyfile/magic_defs/audio +1291 -0
  234. polyfile/magic_defs/avm +33 -0
  235. polyfile/magic_defs/basis +18 -0
  236. polyfile/magic_defs/beetle +7 -0
  237. polyfile/magic_defs/ber +65 -0
  238. polyfile/magic_defs/bflt +14 -0
  239. polyfile/magic_defs/bhl +10 -0
  240. polyfile/magic_defs/bioinformatics +178 -0
  241. polyfile/magic_defs/biosig +154 -0
  242. polyfile/magic_defs/blackberry +8 -0
  243. polyfile/magic_defs/blcr +25 -0
  244. polyfile/magic_defs/blender +50 -0
  245. polyfile/magic_defs/blit +24 -0
  246. polyfile/magic_defs/bm +10 -0
  247. polyfile/magic_defs/bout +11 -0
  248. polyfile/magic_defs/bsdi +33 -0
  249. polyfile/magic_defs/bsi +10 -0
  250. polyfile/magic_defs/btsnoop +13 -0
  251. polyfile/magic_defs/burp +7 -0
  252. polyfile/magic_defs/bytecode +41 -0
  253. polyfile/magic_defs/c-lang +110 -0
  254. polyfile/magic_defs/c64 +531 -0
  255. polyfile/magic_defs/cad +437 -0
  256. polyfile/magic_defs/cafebabe +107 -0
  257. polyfile/magic_defs/cbor +21 -0
  258. polyfile/magic_defs/ccf +14 -0
  259. polyfile/magic_defs/cddb +12 -0
  260. polyfile/magic_defs/chord +15 -0
  261. polyfile/magic_defs/cisco +12 -0
  262. polyfile/magic_defs/citrus +12 -0
  263. polyfile/magic_defs/clarion +27 -0
  264. polyfile/magic_defs/claris +48 -0
  265. polyfile/magic_defs/clipper +65 -0
  266. polyfile/magic_defs/clojure +30 -0
  267. polyfile/magic_defs/coff +98 -0
  268. polyfile/magic_defs/commands +201 -0
  269. polyfile/magic_defs/communications +22 -0
  270. polyfile/magic_defs/compress +461 -0
  271. polyfile/magic_defs/console +1213 -0
  272. polyfile/magic_defs/convex +69 -0
  273. polyfile/magic_defs/coverage +91 -0
  274. polyfile/magic_defs/cracklib +14 -0
  275. polyfile/magic_defs/crypto +31 -0
  276. polyfile/magic_defs/csv +8 -0
  277. polyfile/magic_defs/ctags +6 -0
  278. polyfile/magic_defs/ctf +23 -0
  279. polyfile/magic_defs/cubemap +8 -0
  280. polyfile/magic_defs/cups +56 -0
  281. polyfile/magic_defs/dact +11 -0
  282. polyfile/magic_defs/database +886 -0
  283. polyfile/magic_defs/dataone +47 -0
  284. polyfile/magic_defs/dbpf +15 -0
  285. polyfile/magic_defs/der +146 -0
  286. polyfile/magic_defs/diamond +12 -0
  287. polyfile/magic_defs/dif +33 -0
  288. polyfile/magic_defs/diff +41 -0
  289. polyfile/magic_defs/digital +59 -0
  290. polyfile/magic_defs/dolby +69 -0
  291. polyfile/magic_defs/dsf +25 -0
  292. polyfile/magic_defs/dump +96 -0
  293. polyfile/magic_defs/dwarfs +45 -0
  294. polyfile/magic_defs/dyadic +61 -0
  295. polyfile/magic_defs/ebml +8 -0
  296. polyfile/magic_defs/edid +11 -0
  297. polyfile/magic_defs/editors +43 -0
  298. polyfile/magic_defs/efi +15 -0
  299. polyfile/magic_defs/elf +379 -0
  300. polyfile/magic_defs/encore +22 -0
  301. polyfile/magic_defs/epoc +62 -0
  302. polyfile/magic_defs/erlang +21 -0
  303. polyfile/magic_defs/espressif +57 -0
  304. polyfile/magic_defs/esri +28 -0
  305. polyfile/magic_defs/etf +33 -0
  306. polyfile/magic_defs/fcs +9 -0
  307. polyfile/magic_defs/filesystems +2694 -0
  308. polyfile/magic_defs/finger +16 -0
  309. polyfile/magic_defs/firmware +133 -0
  310. polyfile/magic_defs/flash +62 -0
  311. polyfile/magic_defs/flif +36 -0
  312. polyfile/magic_defs/fonts +449 -0
  313. polyfile/magic_defs/forth +82 -0
  314. polyfile/magic_defs/fortran +9 -0
  315. polyfile/magic_defs/frame +62 -0
  316. polyfile/magic_defs/freebsd +164 -0
  317. polyfile/magic_defs/fsav +128 -0
  318. polyfile/magic_defs/fusecompress +12 -0
  319. polyfile/magic_defs/games +696 -0
  320. polyfile/magic_defs/gcc +17 -0
  321. polyfile/magic_defs/gconv +10 -0
  322. polyfile/magic_defs/gentoo +85 -0
  323. polyfile/magic_defs/geo +166 -0
  324. polyfile/magic_defs/geos +20 -0
  325. polyfile/magic_defs/gimp +77 -0
  326. polyfile/magic_defs/git +13 -0
  327. polyfile/magic_defs/glibc +21 -0
  328. polyfile/magic_defs/gnome +59 -0
  329. polyfile/magic_defs/gnu +173 -0
  330. polyfile/magic_defs/gnumeric +8 -0
  331. polyfile/magic_defs/gpt +240 -0
  332. polyfile/magic_defs/gpu +28 -0
  333. polyfile/magic_defs/grace +21 -0
  334. polyfile/magic_defs/graphviz +12 -0
  335. polyfile/magic_defs/gringotts +48 -0
  336. polyfile/magic_defs/guile +13 -0
  337. polyfile/magic_defs/hardware +12 -0
  338. polyfile/magic_defs/hitachi-sh +30 -0
  339. polyfile/magic_defs/hp +433 -0
  340. polyfile/magic_defs/human68k +26 -0
  341. polyfile/magic_defs/ibm370 +52 -0
  342. polyfile/magic_defs/ibm6000 +35 -0
  343. polyfile/magic_defs/icc +214 -0
  344. polyfile/magic_defs/iff +80 -0
  345. polyfile/magic_defs/images +4210 -0
  346. polyfile/magic_defs/inform +9 -0
  347. polyfile/magic_defs/intel +310 -0
  348. polyfile/magic_defs/interleaf +9 -0
  349. polyfile/magic_defs/island +10 -0
  350. polyfile/magic_defs/ispell +63 -0
  351. polyfile/magic_defs/isz +15 -0
  352. polyfile/magic_defs/java +52 -0
  353. polyfile/magic_defs/javascript +171 -0
  354. polyfile/magic_defs/jpeg +252 -0
  355. polyfile/magic_defs/json +8 -0
  356. polyfile/magic_defs/karma +9 -0
  357. polyfile/magic_defs/kde +11 -0
  358. polyfile/magic_defs/keepass +20 -0
  359. polyfile/magic_defs/kerberos +45 -0
  360. polyfile/magic_defs/kicad +85 -0
  361. polyfile/magic_defs/kml +34 -0
  362. polyfile/magic_defs/lammps +64 -0
  363. polyfile/magic_defs/lecter +6 -0
  364. polyfile/magic_defs/lex +12 -0
  365. polyfile/magic_defs/lif +50 -0
  366. polyfile/magic_defs/linux +557 -0
  367. polyfile/magic_defs/lisp +78 -0
  368. polyfile/magic_defs/llvm +22 -0
  369. polyfile/magic_defs/locoscript +12 -0
  370. polyfile/magic_defs/lua +31 -0
  371. polyfile/magic_defs/luks +126 -0
  372. polyfile/magic_defs/m4 +11 -0
  373. polyfile/magic_defs/mach +303 -0
  374. polyfile/magic_defs/macintosh +505 -0
  375. polyfile/magic_defs/macos +7 -0
  376. polyfile/magic_defs/magic +10 -0
  377. polyfile/magic_defs/magic.mgc +0 -0
  378. polyfile/magic_defs/mail.news +132 -0
  379. polyfile/magic_defs/make +21 -0
  380. polyfile/magic_defs/map +413 -0
  381. polyfile/magic_defs/maple +109 -0
  382. polyfile/magic_defs/marc21 +30 -0
  383. polyfile/magic_defs/mathcad +8 -0
  384. polyfile/magic_defs/mathematica +188 -0
  385. polyfile/magic_defs/matroska +17 -0
  386. polyfile/magic_defs/mcrypt +52 -0
  387. polyfile/magic_defs/measure +44 -0
  388. polyfile/magic_defs/mercurial +13 -0
  389. polyfile/magic_defs/metastore +8 -0
  390. polyfile/magic_defs/meteorological +53 -0
  391. polyfile/magic_defs/microfocus +21 -0
  392. polyfile/magic_defs/mime +9 -0
  393. polyfile/magic_defs/mips +120 -0
  394. polyfile/magic_defs/mirage +8 -0
  395. polyfile/magic_defs/misctools +140 -0
  396. polyfile/magic_defs/mkid +11 -0
  397. polyfile/magic_defs/mlssa +8 -0
  398. polyfile/magic_defs/mmdf +6 -0
  399. polyfile/magic_defs/modem +92 -0
  400. polyfile/magic_defs/modulefile +9 -0
  401. polyfile/magic_defs/motorola +71 -0
  402. polyfile/magic_defs/mozilla +37 -0
  403. polyfile/magic_defs/msdos +2304 -0
  404. polyfile/magic_defs/msooxml +68 -0
  405. polyfile/magic_defs/msvc +222 -0
  406. polyfile/magic_defs/msx +309 -0
  407. polyfile/magic_defs/mup +24 -0
  408. polyfile/magic_defs/music +17 -0
  409. polyfile/magic_defs/nasa +7 -0
  410. polyfile/magic_defs/natinst +24 -0
  411. polyfile/magic_defs/ncr +49 -0
  412. polyfile/magic_defs/neko +12 -0
  413. polyfile/magic_defs/netbsd +251 -0
  414. polyfile/magic_defs/netscape +26 -0
  415. polyfile/magic_defs/netware +11 -0
  416. polyfile/magic_defs/news +13 -0
  417. polyfile/magic_defs/nifty +202 -0
  418. polyfile/magic_defs/nim-lang +29 -0
  419. polyfile/magic_defs/nitpicker +14 -0
  420. polyfile/magic_defs/numpy +9 -0
  421. polyfile/magic_defs/oasis +12 -0
  422. polyfile/magic_defs/ocaml +14 -0
  423. polyfile/magic_defs/octave +6 -0
  424. polyfile/magic_defs/ole2compounddocs +760 -0
  425. polyfile/magic_defs/olf +98 -0
  426. polyfile/magic_defs/openfst +17 -0
  427. polyfile/magic_defs/opentimestamps +16 -0
  428. polyfile/magic_defs/oric +16 -0
  429. polyfile/magic_defs/os2 +186 -0
  430. polyfile/magic_defs/os400 +39 -0
  431. polyfile/magic_defs/os9 +80 -0
  432. polyfile/magic_defs/osf1 +10 -0
  433. polyfile/magic_defs/palm +156 -0
  434. polyfile/magic_defs/parix +13 -0
  435. polyfile/magic_defs/parrot +22 -0
  436. polyfile/magic_defs/pascal +39 -0
  437. polyfile/magic_defs/pbf +11 -0
  438. polyfile/magic_defs/pbm +8 -0
  439. polyfile/magic_defs/pc88 +24 -0
  440. polyfile/magic_defs/pc98 +77 -0
  441. polyfile/magic_defs/pci_ids +116 -0
  442. polyfile/magic_defs/pcjr +8 -0
  443. polyfile/magic_defs/pdf +51 -0
  444. polyfile/magic_defs/pdp +42 -0
  445. polyfile/magic_defs/perl +100 -0
  446. polyfile/magic_defs/pgf +52 -0
  447. polyfile/magic_defs/pgp +581 -0
  448. polyfile/magic_defs/pgp-binary-keys +388 -0
  449. polyfile/magic_defs/pkgadd +7 -0
  450. polyfile/magic_defs/plan9 +25 -0
  451. polyfile/magic_defs/playdate +57 -0
  452. polyfile/magic_defs/plus5 +18 -0
  453. polyfile/magic_defs/pmem +46 -0
  454. polyfile/magic_defs/polyfile_zip +5 -0
  455. polyfile/magic_defs/polyml +23 -0
  456. polyfile/magic_defs/printer +269 -0
  457. polyfile/magic_defs/project +10 -0
  458. polyfile/magic_defs/psdbms +14 -0
  459. polyfile/magic_defs/psl +14 -0
  460. polyfile/magic_defs/pulsar +13 -0
  461. polyfile/magic_defs/puzzle +17 -0
  462. polyfile/magic_defs/pwsafe +14 -0
  463. polyfile/magic_defs/pyramid +12 -0
  464. polyfile/magic_defs/python +305 -0
  465. polyfile/magic_defs/qt +30 -0
  466. polyfile/magic_defs/revision +66 -0
  467. polyfile/magic_defs/riff +840 -0
  468. polyfile/magic_defs/rinex +44 -0
  469. polyfile/magic_defs/ringdove +45 -0
  470. polyfile/magic_defs/rpi +52 -0
  471. polyfile/magic_defs/rpm +45 -0
  472. polyfile/magic_defs/rpmsg +7 -0
  473. polyfile/magic_defs/rst +11 -0
  474. polyfile/magic_defs/rtf +94 -0
  475. polyfile/magic_defs/ruby +55 -0
  476. polyfile/magic_defs/rust +21 -0
  477. polyfile/magic_defs/sc +7 -0
  478. polyfile/magic_defs/sccs +24 -0
  479. polyfile/magic_defs/scientific +144 -0
  480. polyfile/magic_defs/securitycerts +6 -0
  481. polyfile/magic_defs/selinux +24 -0
  482. polyfile/magic_defs/sendmail +37 -0
  483. polyfile/magic_defs/sequent +42 -0
  484. polyfile/magic_defs/sereal +35 -0
  485. polyfile/magic_defs/sgi +144 -0
  486. polyfile/magic_defs/sgml +161 -0
  487. polyfile/magic_defs/sharc +23 -0
  488. polyfile/magic_defs/sinclair +40 -0
  489. polyfile/magic_defs/sisu +18 -0
  490. polyfile/magic_defs/sketch +6 -0
  491. polyfile/magic_defs/smalltalk +25 -0
  492. polyfile/magic_defs/smile +34 -0
  493. polyfile/magic_defs/sniffer +482 -0
  494. polyfile/magic_defs/softquad +40 -0
  495. polyfile/magic_defs/sosi +40 -0
  496. polyfile/magic_defs/spec +21 -0
  497. polyfile/magic_defs/spectrum +184 -0
  498. polyfile/magic_defs/sql +288 -0
  499. polyfile/magic_defs/ssh +39 -0
  500. polyfile/magic_defs/ssl +20 -0
  501. polyfile/magic_defs/statistics +45 -0
  502. polyfile/magic_defs/subtitle +38 -0
  503. polyfile/magic_defs/sun +141 -0
  504. polyfile/magic_defs/svf +5 -0
  505. polyfile/magic_defs/sylk +36 -0
  506. polyfile/magic_defs/symbos +42 -0
  507. polyfile/magic_defs/sysex +429 -0
  508. polyfile/magic_defs/tcl +29 -0
  509. polyfile/magic_defs/teapot +6 -0
  510. polyfile/magic_defs/terminfo +63 -0
  511. polyfile/magic_defs/tex +141 -0
  512. polyfile/magic_defs/tgif +7 -0
  513. polyfile/magic_defs/ti-8x +239 -0
  514. polyfile/magic_defs/timezone +42 -0
  515. polyfile/magic_defs/tplink +95 -0
  516. polyfile/magic_defs/troff +38 -0
  517. polyfile/magic_defs/tuxedo +8 -0
  518. polyfile/magic_defs/typeset +8 -0
  519. polyfile/magic_defs/uf2 +72 -0
  520. polyfile/magic_defs/unicode +15 -0
  521. polyfile/magic_defs/unisig +12 -0
  522. polyfile/magic_defs/unknown +34 -0
  523. polyfile/magic_defs/usd +21 -0
  524. polyfile/magic_defs/uterus +16 -0
  525. polyfile/magic_defs/uuencode +28 -0
  526. polyfile/magic_defs/vacuum-cleaner +54 -0
  527. polyfile/magic_defs/varied.out +46 -0
  528. polyfile/magic_defs/varied.script +21 -0
  529. polyfile/magic_defs/vax +32 -0
  530. polyfile/magic_defs/vicar +17 -0
  531. polyfile/magic_defs/virtual +307 -0
  532. polyfile/magic_defs/virtutech +12 -0
  533. polyfile/magic_defs/visx +32 -0
  534. polyfile/magic_defs/vms +30 -0
  535. polyfile/magic_defs/vmware +6 -0
  536. polyfile/magic_defs/vorbis +155 -0
  537. polyfile/magic_defs/vxl +14 -0
  538. polyfile/magic_defs/warc +16 -0
  539. polyfile/magic_defs/weak +16 -0
  540. polyfile/magic_defs/web +18 -0
  541. polyfile/magic_defs/webassembly +17 -0
  542. polyfile/magic_defs/windows +1811 -0
  543. polyfile/magic_defs/wireless +7 -0
  544. polyfile/magic_defs/wordprocessors +630 -0
  545. polyfile/magic_defs/wsdl +23 -0
  546. polyfile/magic_defs/x68000 +25 -0
  547. polyfile/magic_defs/xdelta +13 -0
  548. polyfile/magic_defs/xenix +106 -0
  549. polyfile/magic_defs/xilinx +58 -0
  550. polyfile/magic_defs/xo65 +37 -0
  551. polyfile/magic_defs/xwindows +43 -0
  552. polyfile/magic_defs/yara +17 -0
  553. polyfile/magic_defs/zfs +96 -0
  554. polyfile/magic_defs/zilog +12 -0
  555. polyfile/magic_defs/zip +126 -0
  556. polyfile/magic_defs/zyxel +17 -0
  557. polyfile/nes.py +144 -0
  558. polyfile/nitf.py +15 -0
  559. polyfile/pdf.py +1264 -0
  560. polyfile/pickles.py +45 -0
  561. polyfile/polyfile.py +409 -0
  562. polyfile/profiling.py +115 -0
  563. polyfile/repl.py +624 -0
  564. polyfile/search.py +310 -0
  565. polyfile/serialization.py +323 -0
  566. polyfile/structmatcher.py +46 -0
  567. polyfile/structs.py +281 -0
  568. polyfile/templates/download.js +162 -0
  569. polyfile/templates/hexdump.css +268 -0
  570. polyfile/templates/hexdump.js +756 -0
  571. polyfile/templates/jquery-3.4.1.min.js +2 -0
  572. polyfile/templates/template.html +119 -0
  573. polyfile/wildcards.py +62 -0
  574. polyfile/zipmatcher.py +183 -0
  575. polyfile_weave-0.5.5.dist-info/METADATA +173 -0
  576. polyfile_weave-0.5.5.dist-info/RECORD +585 -0
  577. polyfile_weave-0.5.5.dist-info/WHEEL +5 -0
  578. polyfile_weave-0.5.5.dist-info/entry_points.txt +2 -0
  579. polyfile_weave-0.5.5.dist-info/licenses/LICENSE +202 -0
  580. polyfile_weave-0.5.5.dist-info/top_level.txt +2 -0
  581. polymerge/__init__.py +1 -0
  582. polymerge/__main__.py +296 -0
  583. polymerge/cfg.py +127 -0
  584. polymerge/polymerge.py +227 -0
  585. polymerge/polytracker.py +190 -0
@@ -0,0 +1,141 @@
1
+
2
+ #------------------------------------------------------------------------------
3
+ # $File: sun,v 1.28 2019/04/19 00:42:27 christos Exp $
4
+ # sun: file(1) magic for Sun machines
5
+ #
6
+ # Values for big-endian Sun (MC680x0, SPARC) binaries on pre-5.x
7
+ # releases. (5.x uses ELF.) Entries for executables without an
8
+ # architecture type, used before the 68020-based Sun-3's came out,
9
+ # are in aout, as they're indistinguishable from other big-endian
10
+ # 32-bit a.out files.
11
+ #
12
+ 0 belong&077777777 0600413 a.out SunOS SPARC demand paged
13
+ >0 byte &0x80
14
+ >>20 belong <4096 shared library
15
+ >>20 belong =4096 dynamically linked executable
16
+ >>20 belong >4096 dynamically linked executable
17
+ >0 byte ^0x80 executable
18
+ >16 belong >0 not stripped
19
+
20
+ 0 belong&077777777 0600410 a.out SunOS SPARC pure
21
+ >0 byte &0x80 dynamically linked executable
22
+ >0 byte ^0x80 executable
23
+ >16 belong >0 not stripped
24
+
25
+ 0 belong&077777777 0600407 a.out SunOS SPARC
26
+ >0 byte &0x80 dynamically linked executable
27
+ >0 byte ^0x80 executable
28
+ >16 belong >0 not stripped
29
+
30
+ 0 belong&077777777 0400413 a.out SunOS mc68020 demand paged
31
+ >0 byte &0x80
32
+ >>20 belong <4096 shared library
33
+ >>20 belong =4096 dynamically linked executable
34
+ >>20 belong >4096 dynamically linked executable
35
+ >0 byte ^0x80 executable
36
+ >16 belong >0 not stripped
37
+
38
+ 0 belong&077777777 0400410 a.out SunOS mc68020 pure
39
+ >0 byte &0x80 dynamically linked executable
40
+ >0 byte ^0x80 executable
41
+ >16 belong >0 not stripped
42
+
43
+ 0 belong&077777777 0400407 a.out SunOS mc68020
44
+ >0 byte &0x80 dynamically linked executable
45
+ >0 byte ^0x80 executable
46
+ >16 belong >0 not stripped
47
+
48
+ 0 belong&077777777 0200413 a.out SunOS mc68010 demand paged
49
+ >0 byte &0x80
50
+ >>20 belong <4096 shared library
51
+ >>20 belong =4096 dynamically linked executable
52
+ >>20 belong >4096 dynamically linked executable
53
+ >0 byte ^0x80 executable
54
+ >16 belong >0 not stripped
55
+
56
+ 0 belong&077777777 0200410 a.out SunOS mc68010 pure
57
+ >0 byte &0x80 dynamically linked executable
58
+ >0 byte ^0x80 executable
59
+ >16 belong >0 not stripped
60
+
61
+ 0 belong&077777777 0200407 a.out SunOS mc68010
62
+ >0 byte &0x80 dynamically linked executable
63
+ >0 byte ^0x80 executable
64
+ >16 belong >0 not stripped
65
+
66
+ #
67
+ # Core files. "SPARC 4.x BCP" means "core file from a SunOS 4.x SPARC
68
+ # binary executed in compatibility mode under SunOS 5.x".
69
+ #
70
+ 0 belong 0x080456 SunOS core file
71
+ >4 belong 432 (SPARC)
72
+ >>132 string >\0 from '%s'
73
+ >>116 belong =3 (quit)
74
+ >>116 belong =4 (illegal instruction)
75
+ >>116 belong =5 (trace trap)
76
+ >>116 belong =6 (abort)
77
+ >>116 belong =7 (emulator trap)
78
+ >>116 belong =8 (arithmetic exception)
79
+ >>116 belong =9 (kill)
80
+ >>116 belong =10 (bus error)
81
+ >>116 belong =11 (segmentation violation)
82
+ >>116 belong =12 (bad argument to system call)
83
+ >>116 belong =29 (resource lost)
84
+ >>120 belong x (T=%dK,
85
+ >>124 belong x D=%dK,
86
+ >>128 belong x S=%dK)
87
+ >4 belong 826 (68K)
88
+ >>128 string >\0 from '%s'
89
+ >4 belong 456 (SPARC 4.x BCP)
90
+ >>152 string >\0 from '%s'
91
+ # Sun SunPC
92
+ 0 long 0xfa33c08e SunPC 4.0 Hard Disk
93
+ 0 string #SUNPC_CONFIG SunPC 4.0 Properties Values
94
+ # Sun snoop (see RFC 1761, which describes the capture file format,
95
+ # RFC 3827, which describes some additional datalink types, and
96
+ # https://www.iana.org/assignments/snoop-datalink-types/snoop-datalink-types.xml,
97
+ # which is the IANA registry of Snoop datalink types)
98
+ #
99
+ 0 string snoop Snoop capture file
100
+ >8 belong >0 - version %d
101
+ >12 belong 0 (IEEE 802.3)
102
+ >12 belong 1 (IEEE 802.4)
103
+ >12 belong 2 (IEEE 802.5)
104
+ >12 belong 3 (IEEE 802.6)
105
+ >12 belong 4 (Ethernet)
106
+ >12 belong 5 (HDLC)
107
+ >12 belong 6 (Character synchronous)
108
+ >12 belong 7 (IBM channel-to-channel adapter)
109
+ >12 belong 8 (FDDI)
110
+ >12 belong 9 (Other)
111
+ >12 belong 10 (type %d)
112
+ >12 belong 11 (type %d)
113
+ >12 belong 12 (type %d)
114
+ >12 belong 13 (type %d)
115
+ >12 belong 14 (type %d)
116
+ >12 belong 15 (type %d)
117
+ >12 belong 16 (Fibre Channel)
118
+ >12 belong 17 (ATM)
119
+ >12 belong 18 (ATM Classical IP)
120
+ >12 belong 19 (type %d)
121
+ >12 belong 20 (type %d)
122
+ >12 belong 21 (type %d)
123
+ >12 belong 22 (type %d)
124
+ >12 belong 23 (type %d)
125
+ >12 belong 24 (type %d)
126
+ >12 belong 25 (type %d)
127
+ >12 belong 26 (IP over Infiniband)
128
+ >12 belong >26 (type %d)
129
+
130
+ #---------------------------------------------------------------------------
131
+ # The following entries have been tested by Duncan Laurie <duncan@sun.com> (a
132
+ # lead Sun/Cobalt developer) who agrees that they are good and worthy of
133
+ # inclusion.
134
+
135
+ # Boot ROM images for Sun/Cobalt Linux server appliances
136
+ 0 string Cobalt\ Networks\ Inc.\nFirmware\ v Paged COBALT boot rom
137
+ >38 string x V%.4s
138
+
139
+ # New format for Sun/Cobalt boot ROMs is annoying, it stores the version code
140
+ # at the very end where file(1) can't get it.
141
+ 0 string CRfs COBALT boot rom data (Flat boot rom or file system)
@@ -0,0 +1,5 @@
1
+ # $File: svf,v 1.2 2023/05/23 13:37:32 christos Exp $
2
+ #
3
+ # file(1) magic(5) data for SmartVersion files with the .svf extension.
4
+
5
+ 0 string DFS\ File\x0D\x0Ahttp://www.difstream.com\x0D\x0A SmartVersion binary patch file
@@ -0,0 +1,36 @@
1
+
2
+ #------------------------------------------------------------------------------
3
+ # $File: sylk,v 1.1 2020/04/05 22:18:34 christos Exp $
4
+ # sylk: file(1) magic for SYLK text files
5
+
6
+ # From: Joerg Jenderek
7
+ # URL: https://en.wikipedia.org/wiki/SYmbolic_LinK_%28SYLK%29
8
+ # http://fileformats.archiveteam.org/wiki/SYLK
9
+ # Note: called by TrID "SYLK - SYmbolic LinK data",
10
+ # by DROID "Microsoft Symbolic Link (SYLK) File"
11
+ # by FreeDesktop.org "spreadsheet interchange document"
12
+ 0 string ID;P
13
+ # skip short DROID x-fmt-106-signature-id-603.slk
14
+ >7 ubyte >0 spreadsheet interchange document
15
+ # https://reposcope.com/mimetype/text/spreadsheet
16
+ #!:mime text/spreadsheet
17
+ # https://reposcope.com/mimetype/application/x-sylk by Gnumeric
18
+ !:mime application/x-sylk
19
+ !:ext slk/sylk
20
+ >>4 ubyte >037 \b, created by
21
+ # Gnumeric, pmw~PlanMaker, CALCOOO32~LibreOffice OpenOffice, SCALC3~StarOffice
22
+ # MP~Multiplan, XL~Excel WXL~Excel Windows
23
+ >>>4 string Gnumeric Gnumeric
24
+ >>>4 string pmw PlanMaker
25
+ >>>4 string CALCOOO32 Libre/OpenOffice Calc
26
+ >>>4 string SCALC3 StarOffice Calc
27
+ >>>4 string XL Excel
28
+ # Excel, version probably running on Windows
29
+ >>>4 string WXL Excel
30
+ # not tested
31
+ >>>4 string MP Multiplan
32
+ # unknown spreadsheet software
33
+ >>>4 default x
34
+ >>>>4 string x %s
35
+
36
+
@@ -0,0 +1,42 @@
1
+
2
+ #------------------------------------------------------------------------------
3
+ # msx: file(1) magic for the SymbOS operating system
4
+ # http://www.symbos.de
5
+ # Fabio R. Schmidlin <frs@pop.com.br>
6
+
7
+ # SymbOS EXE file
8
+ 0x30 string SymExe SymbOS executable
9
+ >0x36 ubyte x v%c
10
+ >0x37 ubyte x \b.%c
11
+ >0xF string x \b, name: %s
12
+
13
+ # SymbOS DOX document
14
+ 0 string INFOq\0 SymbOS DOX document
15
+
16
+ # Symbos driver
17
+ 0 string SMD1 SymbOS driver
18
+ >19 byte x \b, name: %c
19
+ >20 byte x \b%c
20
+ >21 byte x \b%c
21
+ >22 byte x \b%c
22
+ >23 byte x \b%c
23
+ >24 byte x \b%c
24
+ >25 byte x \b%c
25
+ >26 byte x \b%c
26
+ >27 byte x \b%c
27
+ >28 byte x \b%c
28
+ >29 byte x \b%c
29
+ >30 byte x \b%c
30
+ >31 byte x \b%c
31
+
32
+ # Symbos video
33
+ 0 string SymVid SymbOS video
34
+ >6 ubyte x v%c
35
+ >7 ubyte x \b.%c
36
+
37
+ # Soundtrakker 128 ST2 music
38
+ 0 byte 0
39
+ >0xC string \x00\x00\x00\x00\x00\x00\x02\x00\x00\x00\x40\x00 Soundtrakker 128 ST2 music,
40
+ >>1 string x name: %s
41
+
42
+
@@ -0,0 +1,429 @@
1
+
2
+ #------------------------------------------------------------------------
3
+ # $File: sysex,v 1.12 2022/10/31 13:22:26 christos Exp $
4
+ # sysex: file(1) magic for MIDI sysex files
5
+ #
6
+ # GRR: original 1 byte test at offset was too general as it catches also many FATs of DOS filesystems
7
+ # where real SYStem EXclusive messages at offset 1 are limited to seven bits
8
+ # https://en.wikipedia.org/wiki/MIDI
9
+ # test for StartSysEx byte and upper unsed bit of vendor ID
10
+ 0 ubeshort&0xFF80 0xF000
11
+ # MIDI System Exclusive (SysEx) messages (strength=50) after Microsoft Visual C library (strength=70)
12
+ #!:strength +0
13
+ # skip Microsoft Visual C library with page size 16 misidentified as ADA and
14
+ # page size 32 misidentified as Inventronics by looking for terminating End Of eXclusive byte (EOX)
15
+ >2 search/12 \xF7
16
+ >>0 use midi-sysex
17
+ # display information about MIDI System Exclusive (SysEx) messages
18
+ 0 name midi-sysex
19
+ # https://fileinfo.com/extension/syx
20
+ >1 ubyte x MIDI audio System Exclusive (SysEx) message -
21
+ # Note: file (version 5.41) labeled the above entry as "SysEx File"
22
+ #!:mime application/octet-stream
23
+ !:mime audio/x-syx
24
+ # https://onsongapp.com/docs/features/formats/sysex
25
+ !:ext syx/sysex
26
+ # https://www.midi.org/specifications-old/item/manufacturer-id-numbers
27
+ # https://raw.githubusercontent.com/insolace/MIDI-Sysex-MFG-IDs/master/Sysex%20ID%20Tables/MIDI%20Sysex%20MFG%20IDs.csv
28
+ # SysEx manufacturer ID; originally one byte, but now 0 is used as an escapement to reach the next two
29
+ # North American Group
30
+ #>1 byte 0x01 Sequential
31
+ >1 byte 0x01 Sequential Circuits
32
+ >1 byte 0x02 IDP
33
+ #>1 byte 0x03 OctavePlateau
34
+ >1 byte 0x03 Voyetra Turtle Beach
35
+ >1 byte 0x04 Moog
36
+ #>1 byte 0x05 Passport
37
+ >1 byte 0x05 Passport Designs
38
+ #>1 byte 0x06 Lexicon
39
+ >1 byte 0x06 Lexicon Inc.
40
+ >1 byte 0x07 Kurzweil/Future Retro
41
+ >>3 byte 0x77 777
42
+ >>4 byte 0x00 Bank
43
+ >>4 byte 0x01 Song
44
+ >>5 byte 0x0f 16
45
+ >>5 byte 0x0e 15
46
+ >>5 byte 0x0d 14
47
+ >>5 byte 0x0c 13
48
+ >>5 byte 0x0b 12
49
+ >>5 byte 0x0a 11
50
+ >>5 byte 0x09 10
51
+ >>5 byte 0x08 9
52
+ >>5 byte 0x07 8
53
+ >>5 byte 0x06 7
54
+ >>5 byte 0x05 6
55
+ >>5 byte 0x04 5
56
+ >>5 byte 0x03 4
57
+ >>5 byte 0x02 3
58
+ >>5 byte 0x01 2
59
+ >>5 byte 0x00 1
60
+ >>5 byte 0x10 (ALL)
61
+ >>2 byte x \b, Channel %d
62
+ >1 byte 0x08 Fender
63
+ #>1 byte 0x09 Gulbransen
64
+ >1 byte 0x09 MIDI9
65
+ #>1 byte 0x0a AKG
66
+ >1 byte 0x0a AKG Acoustics
67
+ >1 byte 0x0b Voyce
68
+ >1 byte 0x0c Waveframe
69
+ # not ADA programming language
70
+ #>1 byte 0x0d ADA
71
+ >1 byte 0x0d ADA Signal Processors Inc.
72
+ #>1 byte 0x0e Garfield
73
+ >1 byte 0x0e Garfield Electronics
74
+ >1 byte 0x0f Ensoniq
75
+ >1 byte 0x10 Oberheim
76
+ >>2 byte 0x06 Matrix 6 series
77
+ >>3 byte 0x0A Dump (All)
78
+ >>3 byte 0x01 Dump (Bank)
79
+ >>4 belong 0x0002040E Matrix 1000
80
+ >>>11 byte <2 User bank %d
81
+ >>>11 byte >1 Preset bank %d
82
+ >1 byte 0x11 Apple
83
+ >1 byte 0x12 GreyMatter
84
+ >1 byte 0x14 PalmTree
85
+ >1 byte 0x15 JLCooper
86
+ >1 byte 0x16 Lowrey
87
+ >1 byte 0x17 AdamsSmith
88
+ >1 byte 0x18 E-mu
89
+ #>1 byte 0x19 Harmony
90
+ >1 byte 0x19 Harmony Systems
91
+ >1 byte 0x1a ART
92
+ >1 byte 0x1b Baldwin
93
+ >1 byte 0x1c Eventide
94
+ >1 byte 0x1d Inventronics
95
+ >1 byte 0x1f Clarity
96
+
97
+ # European Group
98
+ #>1 byte 0x21 SIEL
99
+ >1 byte 0x21 Proel Labs (SIEL)
100
+ >1 byte 0x22 Synthaxe
101
+ >1 byte 0x24 Hohner
102
+ >1 byte 0x25 Twister
103
+ #>1 byte 0x26 Solton
104
+ >1 byte 0x26 Ketron s.r.l.
105
+ >1 byte 0x27 Jellinghaus
106
+ >1 byte 0x28 Southworth
107
+ >1 byte 0x29 PPG
108
+ >1 byte 0x2a JEN
109
+ #>1 byte 0x2b SSL
110
+ >1 byte 0x2b Solid State Logic Organ Systems
111
+ #>1 byte 0x2c AudioVertrieb
112
+ >1 byte 0x2c Audio Veritrieb-P. Struven
113
+
114
+ >1 byte 0x2f ELKA
115
+ >>3 byte 0x09 EK-44
116
+
117
+ >1 byte 0x30 Dynacord
118
+ #>1 byte 0x31 Jomox
119
+ >1 byte 0x31 Viscount International Spa
120
+ >1 byte 0x33 Clavia
121
+ >1 byte 0x39 Soundcraft
122
+ # Some Waldorf info from http://Stromeko.Synth.net/Downloads#WaldorfDocs
123
+ >1 byte 0x3e Waldorf
124
+ >>2 byte 0x00 microWave
125
+ >>2 byte 0x0E microwave2 / XT
126
+ >>2 byte 0x0F Q / Q+
127
+ >>3 byte =0 (default id)
128
+ >>3 byte >0 (
129
+ >>>3 byte <0x7F \bdevice %d)
130
+ >>>3 byte =0x7F \bbroadcast id)
131
+ >>3 byte 0x7f Microwave I
132
+ >>>4 byte 0x00 SNDR (Sound Request)
133
+ >>>4 byte 0x10 SNDD (Sound Dump)
134
+ >>>4 byte 0x20 SNDP (Sound Parameter Change)
135
+ >>>4 byte 0x30 SNDQ (Sound Parameter Inquiry)
136
+ >>>4 byte 0x70 BOOT (Sound Reserved)
137
+ >>>4 byte 0x01 MULR (Multi Request)
138
+ >>>4 byte 0x11 MULD (Multi Dump)
139
+ >>>4 byte 0x21 MULP (Multi Parameter Change)
140
+ >>>4 byte 0x31 MULQ (Multi Parameter Inquiry)
141
+ >>>4 byte 0x71 OS (Multi Reserved)
142
+ >>>4 byte 0x02 DRMR (Drum Map Request)
143
+ >>>4 byte 0x12 DRMD (Drum Map Dump)
144
+ >>>4 byte 0x22 DRMP (Drum Map Parameter Change)
145
+ >>>4 byte 0x32 DRMQ (Drum Map Parameter Inquiry)
146
+ >>>4 byte 0x72 BIN (Drum Map Reserved)
147
+ >>>4 byte 0x03 PATR (Sequencer Pattern Request)
148
+ >>>4 byte 0x13 PATD (Sequencer Pattern Dump)
149
+ >>>4 byte 0x23 PATP (Sequencer Pattern Parameter Change)
150
+ >>>4 byte 0x33 PATQ (Sequencer Pattern Parameter Inquiry)
151
+ >>>4 byte 0x73 AFM (Sequencer Pattern Reserved)
152
+ >>>4 byte 0x04 GLBR (Global Parameter Request)
153
+ >>>4 byte 0x14 GLBD (Global Parameter Dump)
154
+ >>>4 byte 0x24 GLBP (Global Parameter Parameter Change)
155
+ >>>4 byte 0x34 GLBQ (Global Parameter Parameter Inquiry)
156
+ >>>4 byte 0x07 MODR (Mode Parameter Request)
157
+ >>>4 byte 0x17 MODD (Mode Parameter Dump)
158
+ >>>4 byte 0x27 MODP (Mode Parameter Parameter Change)
159
+ >>>4 byte 0x37 MODQ (Mode Parameter Parameter Inquiry)
160
+ >>2 byte 0x10 microQ
161
+ >>>4 byte 0x00 SNDR (Sound Request)
162
+ >>>4 byte 0x10 SNDD (Sound Dump)
163
+ >>>4 byte 0x20 SNDP (Sound Parameter Change)
164
+ >>>4 byte 0x30 SNDQ (Sound Parameter Inquiry)
165
+ >>>4 byte 0x70 (Sound Reserved)
166
+ >>>4 byte 0x01 MULR (Multi Request)
167
+ >>>4 byte 0x11 MULD (Multi Dump)
168
+ >>>4 byte 0x21 MULP (Multi Parameter Change)
169
+ >>>4 byte 0x31 MULQ (Multi Parameter Inquiry)
170
+ >>>4 byte 0x71 OS (Multi Reserved)
171
+ >>>4 byte 0x02 DRMR (Drum Map Request)
172
+ >>>4 byte 0x12 DRMD (Drum Map Dump)
173
+ >>>4 byte 0x22 DRMP (Drum Map Parameter Change)
174
+ >>>4 byte 0x32 DRMQ (Drum Map Parameter Inquiry)
175
+ >>>4 byte 0x72 BIN (Drum Map Reserved)
176
+ >>>4 byte 0x04 GLBR (Global Parameter Request)
177
+ >>>4 byte 0x14 GLBD (Global Parameter Dump)
178
+ >>>4 byte 0x24 GLBP (Global Parameter Parameter Change)
179
+ >>>4 byte 0x34 GLBQ (Global Parameter Parameter Inquiry)
180
+ >>2 byte 0x11 rackAttack
181
+ >>>4 byte 0x00 SNDR (Sound Parameter Request)
182
+ >>>4 byte 0x10 SNDD (Sound Parameter Dump)
183
+ >>>4 byte 0x20 SNDP (Sound Parameter Parameter Change)
184
+ >>>4 byte 0x30 SNDQ (Sound Parameter Parameter Inquiry)
185
+ >>>4 byte 0x01 PRGR (Program Parameter Request)
186
+ >>>4 byte 0x11 PRGD (Program Parameter Dump)
187
+ >>>4 byte 0x21 PRGP (Program Parameter Parameter Change)
188
+ >>>4 byte 0x31 PRGQ (Program Parameter Parameter Inquiry)
189
+ >>>4 byte 0x71 OS (Program Parameter Reserved)
190
+ >>>4 byte 0x03 PATR (Pattern Parameter Request)
191
+ >>>4 byte 0x13 PATD (Pattern Parameter Dump)
192
+ >>>4 byte 0x23 PATP (Pattern Parameter Parameter Change)
193
+ >>>4 byte 0x33 PATQ (Pattern Parameter Parameter Inquiry)
194
+ >>>4 byte 0x04 GLBR (Global Parameter Request)
195
+ >>>4 byte 0x14 GLBD (Global Parameter Dump)
196
+ >>>4 byte 0x24 GLBP (Global Parameter Parameter Change)
197
+ >>>4 byte 0x34 GLBQ (Global Parameter Parameter Inquiry)
198
+ >>>4 byte 0x05 EFXR (FX Parameter Request)
199
+ >>>4 byte 0x15 EFXD (FX Parameter Dump)
200
+ >>>4 byte 0x25 EFXP (FX Parameter Parameter Change)
201
+ >>>4 byte 0x35 EFXQ (FX Parameter Parameter Inquiry)
202
+ >>>4 byte 0x07 MODR (Mode Command Request)
203
+ >>>4 byte 0x17 MODD (Mode Command Dump)
204
+ >>>4 byte 0x27 MODP (Mode Command Parameter Change)
205
+ >>>4 byte 0x37 MODQ (Mode Command Parameter Inquiry)
206
+ >>2 byte 0x03 Wave
207
+ >>>4 byte 0x00 SBPR (Soundprogram)
208
+ >>>4 byte 0x01 SAPR (Performance)
209
+ >>>4 byte 0x02 SWAVE (Wave)
210
+ >>>4 byte 0x03 SWTBL (Wave control table)
211
+ >>>4 byte 0x04 SVT (Velocity Curve)
212
+ >>>4 byte 0x05 STT (Tuning Table)
213
+ >>>4 byte 0x06 SGLB (Global Parameters)
214
+ >>>4 byte 0x07 SARRMAP (Performance Program Change Map)
215
+ >>>4 byte 0x08 SBPRMAP (Sound Program Change Map)
216
+ >>>4 byte 0x09 SBPRPAR (Sound Parameter)
217
+ >>>4 byte 0x0A SARRPAR (Performance Parameter)
218
+ >>>4 byte 0x0B SINSPAR (Instrument/External Parameter)
219
+ >>>4 byte 0x0F SBULK (Bulk Switch on/off)
220
+
221
+ # Japanese Group
222
+ >1 byte 0x40 Kawai
223
+ >>3 byte 0x20 K1
224
+ >>3 byte 0x22 K4
225
+
226
+ >1 byte 0x41 Roland
227
+ >>3 byte 0x14 D-50
228
+ >>3 byte 0x2b U-220
229
+ >>3 byte 0x02 TR-707
230
+
231
+ >1 byte 0x42 Korg
232
+ >>3 byte 0x19 M1
233
+
234
+ >1 byte 0x43 Yamaha
235
+ >1 byte 0x44 Casio
236
+ >1 byte 0x46 Kamiya
237
+ >1 byte 0x47 Akai
238
+ #>1 byte 0x48 Victor
239
+ >1 byte 0x48 Victor Company of Japan. Ltd.
240
+ >1 byte 0x49 Mesosha
241
+ >1 byte 0x4b Fujitsu
242
+ >1 byte 0x4c Sony
243
+ >1 byte 0x4e Teac
244
+ >1 byte 0x50 Matsushita
245
+ >1 byte 0x51 Fostex
246
+ #>1 byte 0x52 Zoom
247
+ >1 byte 0x52 Zoom Corporation
248
+ >1 byte 0x54 Matsushita
249
+ >1 byte 0x57 Acoustic tech. lab.
250
+ # https://www.midi.org/techspecs/manid.php
251
+ >1 belong&0xffffff00 0x00007400 Ta Horng
252
+ >1 belong&0xffffff00 0x00007500 e-Tek
253
+ >1 belong&0xffffff00 0x00007600 E-Voice
254
+ >1 belong&0xffffff00 0x00007700 Midisoft
255
+ >1 belong&0xffffff00 0x00007800 Q-Sound
256
+ >1 belong&0xffffff00 0x00007900 Westrex
257
+ >1 belong&0xffffff00 0x00007a00 Nvidia*
258
+ >1 belong&0xffffff00 0x00007b00 ESS
259
+ >1 belong&0xffffff00 0x00007c00 Mediatrix
260
+ >1 belong&0xffffff00 0x00007d00 Brooktree
261
+ >1 belong&0xffffff00 0x00007e00 Otari
262
+ >1 belong&0xffffff00 0x00007f00 Key Electronics
263
+ >1 belong&0xffffff00 0x00010000 Shure
264
+ >1 belong&0xffffff00 0x00010100 AuraSound
265
+ >1 belong&0xffffff00 0x00010200 Crystal
266
+ >1 belong&0xffffff00 0x00010300 Rockwell
267
+ >1 belong&0xffffff00 0x00010400 Silicon Graphics
268
+ >1 belong&0xffffff00 0x00010500 Midiman
269
+ >1 belong&0xffffff00 0x00010600 PreSonus
270
+ >1 belong&0xffffff00 0x00010800 Topaz
271
+ >1 belong&0xffffff00 0x00010900 Cast Lightning
272
+ >1 belong&0xffffff00 0x00010a00 Microsoft
273
+ >1 belong&0xffffff00 0x00010b00 Sonic Foundry
274
+ >1 belong&0xffffff00 0x00010c00 Line 6
275
+ >1 belong&0xffffff00 0x00010d00 Beatnik Inc.
276
+ >1 belong&0xffffff00 0x00010e00 Van Koerving
277
+ >1 belong&0xffffff00 0x00010f00 Altech Systems
278
+ >1 belong&0xffffff00 0x00011000 S & S Research
279
+ >1 belong&0xffffff00 0x00011100 VLSI Technology
280
+ >1 belong&0xffffff00 0x00011200 Chromatic
281
+ >1 belong&0xffffff00 0x00011300 Sapphire
282
+ >1 belong&0xffffff00 0x00011400 IDRC
283
+ >1 belong&0xffffff00 0x00011500 Justonic Tuning
284
+ >1 belong&0xffffff00 0x00011600 TorComp
285
+ >1 belong&0xffffff00 0x00011700 Newtek Inc.
286
+ >1 belong&0xffffff00 0x00011800 Sound Sculpture
287
+ >1 belong&0xffffff00 0x00011900 Walker Technical
288
+ >1 belong&0xffffff00 0x00011a00 Digital Harmony
289
+ >1 belong&0xffffff00 0x00011b00 InVision
290
+ >1 belong&0xffffff00 0x00011c00 T-Square
291
+ >1 belong&0xffffff00 0x00011d00 Nemesys
292
+ >1 belong&0xffffff00 0x00011e00 DBX
293
+ >1 belong&0xffffff00 0x00011f00 Syndyne
294
+ >1 belong&0xffffff00 0x00012000 Bitheadz
295
+ >1 belong&0xffffff00 0x00012100 Cakewalk
296
+ >1 belong&0xffffff00 0x00012200 Staccato
297
+ >1 belong&0xffffff00 0x00012300 National Semicon.
298
+ >1 belong&0xffffff00 0x00012400 Boom Theory
299
+ >1 belong&0xffffff00 0x00012500 Virtual DSP Corp
300
+ >1 belong&0xffffff00 0x00012600 Antares
301
+ >1 belong&0xffffff00 0x00012700 Angel Software
302
+ >1 belong&0xffffff00 0x00012800 St Louis Music
303
+ >1 belong&0xffffff00 0x00012900 Lyrrus dba G-VOX
304
+ >1 belong&0xffffff00 0x00012a00 Ashley Audio
305
+ >1 belong&0xffffff00 0x00012b00 Vari-Lite
306
+ >1 belong&0xffffff00 0x00012c00 Summit Audio
307
+ >1 belong&0xffffff00 0x00012d00 Aureal Semicon.
308
+ >1 belong&0xffffff00 0x00012e00 SeaSound
309
+ >1 belong&0xffffff00 0x00012f00 U.S. Robotics
310
+ >1 belong&0xffffff00 0x00013000 Aurisis
311
+ >1 belong&0xffffff00 0x00013100 Nearfield Multimedia
312
+ >1 belong&0xffffff00 0x00013200 FM7 Inc.
313
+ >1 belong&0xffffff00 0x00013300 Swivel Systems
314
+ >1 belong&0xffffff00 0x00013400 Hyperactive
315
+ >1 belong&0xffffff00 0x00013500 MidiLite
316
+ >1 belong&0xffffff00 0x00013600 Radical
317
+ >1 belong&0xffffff00 0x00013700 Roger Linn
318
+ >1 belong&0xffffff00 0x00013800 Helicon
319
+ >1 belong&0xffffff00 0x00013900 Event
320
+ >1 belong&0xffffff00 0x00013a00 Sonic Network
321
+ >1 belong&0xffffff00 0x00013b00 Realtime Music
322
+ >1 belong&0xffffff00 0x00013c00 Apogee Digital
323
+
324
+ >1 belong&0xffffff00 0x00202b00 Medeli Electronics
325
+ >1 belong&0xffffff00 0x00202c00 Charlie Lab
326
+ >1 belong&0xffffff00 0x00202d00 Blue Chip Music
327
+ >1 belong&0xffffff00 0x00202e00 BEE OH Corp
328
+ >1 belong&0xffffff00 0x00202f00 LG Semicon America
329
+ >1 belong&0xffffff00 0x00203000 TESI
330
+ >1 belong&0xffffff00 0x00203100 EMAGIC
331
+ >1 belong&0xffffff00 0x00203200 Behringer
332
+ >1 belong&0xffffff00 0x00203300 Access Music
333
+ >1 belong&0xffffff00 0x00203400 Synoptic
334
+ >1 belong&0xffffff00 0x00203500 Hanmesoft Corp
335
+ >1 belong&0xffffff00 0x00203600 Terratec
336
+ >1 belong&0xffffff00 0x00203700 Proel SpA
337
+ >1 belong&0xffffff00 0x00203800 IBK MIDI
338
+ >1 belong&0xffffff00 0x00203900 IRCAM
339
+ >1 belong&0xffffff00 0x00203a00 Propellerhead Software
340
+ >1 belong&0xffffff00 0x00203b00 Red Sound Systems
341
+ >1 belong&0xffffff00 0x00203c00 Electron ESI AB
342
+ >1 belong&0xffffff00 0x00203d00 Sintefex Audio
343
+ >1 belong&0xffffff00 0x00203e00 Music and More
344
+ >1 belong&0xffffff00 0x00203f00 Amsaro
345
+ >1 belong&0xffffff00 0x00204000 CDS Advanced Technology
346
+ >1 belong&0xffffff00 0x00204100 Touched by Sound
347
+ >1 belong&0xffffff00 0x00204200 DSP Arts
348
+ >1 belong&0xffffff00 0x00204300 Phil Rees Music
349
+ >1 belong&0xffffff00 0x00204400 Stamer Musikanlagen GmbH
350
+ >1 belong&0xffffff00 0x00204500 Soundart
351
+ >1 belong&0xffffff00 0x00204600 C-Mexx Software
352
+ >1 belong&0xffffff00 0x00204700 Klavis Tech.
353
+ >1 belong&0xffffff00 0x00204800 Noteheads AB
354
+
355
+ # Update: Joerg Jenderek; January 2022
356
+ >1 byte 0x00 ID EXTENSIONS
357
+ >1 byte 0x13 Digidesign Inc.
358
+ >1 byte 0x1e Key Concepts
359
+ >1 byte 0x20 Passac
360
+ >1 byte 0x23 Stepp
361
+ >1 byte 0x2d Neve
362
+ >1 byte 0x2e Soundtracs Ltd.
363
+ >1 byte 0x32 Drawmer
364
+ >1 byte 0x34 Audio Architecture
365
+ >1 byte 0x35 Generalmusic Corp SpA
366
+ >1 byte 0x36 Cheetah Marketing
367
+ >1 byte 0x37 C.T.M.
368
+ >1 byte 0x38 Simmons UK
369
+ >1 byte 0x3a Steinberg
370
+ >1 byte 0x3b Wersi GmbH
371
+ >1 byte 0x3c AVAB Niethammer AB
372
+ >1 byte 0x3d Digigram
373
+ >1 byte 0x3f Quasimidi
374
+ #
375
+ >1 byte 0x40 Kawai Musical Instruments MFG. CO. Ltd
376
+ #>1 byte 0x45 foo
377
+ #>1 byte 0x4a foo
378
+ #>1 byte 0x4d foo
379
+ #>1 byte 0x4f foo
380
+ #>1 byte 0x53 foo
381
+ >1 byte 0x55 Suzuki Musical Instruments MFG. Co. Ltd.
382
+ >1 byte 0x56 Fuji Sound Corporation Ltd.
383
+ #>1 byte 0x58 foo
384
+ >1 byte 0x59 Faith. Inc.
385
+ >1 byte 0x5a Internet Corporation
386
+ #>1 byte 0x5b foo
387
+ >1 byte 0x5c Seekers Co. Ltd.
388
+ #>1 byte 0x5d foo
389
+ #>1 byte 0x5e foo
390
+ >1 byte 0x5f SD Card Association
391
+ # Reserved for other uses for 60H to 7FH
392
+ # URL: https://www.philscomputerlab.com/roland-midi-emulator-project-20.html
393
+ # Reference: http://mark0.net/download/triddefs_xml.7z/defs/s/syx--midiemu.trid.xml
394
+ # Note: called by TrID "MIDI Emulator Project SysEx preset command"
395
+ >1 byte 0x66 MIDI Emulator
396
+ # https://electronicmusic.fandom.com/wiki/List_of_MIDI_Manufacturer_IDs
397
+ # Educational, prototyping, test, private use and experimentation
398
+ >1 byte 0x7D PROTOTYPING
399
+ # universal non-real-time (sample dump, tuning table, etc.)
400
+ >1 byte 0x7E UNIVERSAL
401
+ # universal real time (MIDI time code, MIDI Machine control, etc.)
402
+ >1 byte 0x7F universal real time
403
+ # display information about End Of eXclusive byte (EOX=F7)
404
+ #>2 ubyte 0xF7 \b, at 2 EOX
405
+ #>3 ubyte 0xF7 \b, at 3 EOX
406
+ # https://tttapa.github.io/Control-Surface-doc/new-input/Doxygen/d2/d93/SysEx-Send-Receive_8ino-example.html
407
+ >4 ubyte 0xF7 \b, at 4 EOX
408
+ # http://www.1manband.nl/tutorials2/sysex.htm
409
+ >5 ubyte 0xF7 \b, at 5 EOX
410
+ # http://www.somascape.org/midi/tech/mfile.html#sysex
411
+ >6 ubyte 0xF7 \b, at 6 EOX
412
+ #
413
+ >7 ubyte 0xF7 \b, at 7 EOX
414
+ # https://webmidijs.org/forum/discussion/34/how-to-send-or-receive-system-exclusive-messages
415
+ >8 ubyte 0xF7 \b, at 8 EOX
416
+ #
417
+ >9 ubyte 0xF7 \b, at 9 EOX
418
+ # https://www.chd-el.cz/wp-content/uploads/845010_syxcom.pdf
419
+ >10 ubyte 0xF7 \b, at 10 EOX
420
+ # https://stackoverflow.com/questions/52906076/handling-midi-the-input-of-multiple-system-exclusive-messages-in-vb
421
+ >11 ubyte 0xF7 \b, at 11 EOX
422
+ # https://www.2writers.com/eddie/TutSysEx.htm
423
+ >12 ubyte 0xF7 \b, at 12 EOX
424
+ >13 ubyte 0xF7 \b, at 13 EOX
425
+ # http://www.chromakinetics.com/handsonic/rolSysEx.htm
426
+ >14 ubyte 0xF7 \b, at 14 EOX
427
+ #>15 ubyte 0xF7 \b, at 15 EOX
428
+
429
+ 0 string T707 Roland TR-707 Data
@@ -0,0 +1,29 @@
1
+ #------------------------------------------------------------------------------
2
+ # file: file(1) magic for Tcl scripting language
3
+ # URL: https://www.tcl.tk/
4
+ # From: gustaf neumann
5
+
6
+ # Tcl scripts
7
+ 0 search/1/w #!\ /usr/bin/tcl Tcl script text executable
8
+ !:mime text/x-tcl
9
+ 0 search/1/w #!\ /usr/local/bin/tcl Tcl script text executable
10
+ !:mime text/x-tcl
11
+ 0 search/1 #!/usr/bin/env\ tcl Tcl script text executable
12
+ !:mime text/x-tcl
13
+ 0 search/1 #!\ /usr/bin/env\ tcl Tcl script text executable
14
+ !:mime text/x-tcl
15
+ 0 search/1/w #!\ /usr/bin/wish Tcl/Tk script text executable
16
+ !:mime text/x-tcl
17
+ 0 search/1/w #!\ /usr/local/bin/wish Tcl/Tk script text executable
18
+ !:mime text/x-tcl
19
+ 0 search/1 #!/usr/bin/env\ wish Tcl/Tk script text executable
20
+ !:mime text/x-tcl
21
+ 0 search/1 #!\ /usr/bin/env\ wish Tcl/Tk script text executable
22
+ !:mime text/x-tcl
23
+
24
+ # check the first line
25
+ 0 search/1 package\ req
26
+ >0 regex \^package[\ \t]+req Tcl script
27
+ # not 'p', check other lines
28
+ 0 search/1 !p
29
+ >0 regex \^package[\ \t]+req Tcl script
@@ -0,0 +1,6 @@
1
+
2
+ #------------------------------------------------------------------------------
3
+ # $File: teapot,v 1.4 2009/09/19 16:28:12 christos Exp $
4
+ # teapot: file(1) magic for "teapot" spreadsheet
5
+ #
6
+ 0 string #!teapot\012xdr teapot work sheet (XDR format)