From 71efc4e243a0852c9920dd46c3d9b55e475a7dda Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Fri, 24 May 2019 17:17:31 +0000 Subject: [PATCH] Recognize pre OLE2 (CDF) Microsoft Word files (Joerg Jenderek) --- magic/Magdir/wordprocessors | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/wordprocessors b/magic/Magdir/wordprocessors index 4b08c430..5cb03ba8 100644 --- a/magic/Magdir/wordprocessors +++ b/magic/Magdir/wordprocessors @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: wordprocessors,v 1.20 2019/04/19 00:42:27 christos Exp $ +# $File: wordprocessors,v 1.21 2019/05/24 17:17:31 christos Exp $ # wordprocessors: file(1) magic fo word processors. # ####### PWP file format used on Smith Corona Personal Word Processors: @@ -12,6 +12,21 @@ >25 byte 0x54 \b, legal >26 byte 0x46 \b, A4 +# URL: http://fileformats.archiveteam.org/wiki/Microsoft_Works_Word_Processor +# reference: http://mark0.net/download/triddefs_xml.7z +# /defs/w/wps-works-dos.trid.xml +# From: Joerg Jenderek +# Note: older non OLE 2 Compound based versions +0 ubeshort =0x01FE +>112 ubeshort =0x0100 Microsoft Works 1-3 (DOS) or 2 (Windows) document +# title like THE GREAT KHAN GAME +>>0x100 string x %s +!:mime application/vnd-ms-works +#!:mime application/x-msworks +# https://www.macdisk.com/macsigen.php +!:apple ????AWWP +!:ext wps + # Corel/WordPerfect 0 string \xffWPC # WordPerfect -- 2.40.0