]> granicus.if.org Git - file/commitdiff
AppleWorks/ClarisWorks files
authorChristos Zoulas <christos@zoulas.com>
Mon, 18 Jul 2016 19:23:38 +0000 (19:23 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 18 Jul 2016 19:23:38 +0000 (19:23 +0000)
magic/Magdir/apple
magic/Magdir/claris

index b6de730da756339488a09a4c8f4437984d1d53d6..fb4a4afc651eca834d83cf185968f638cf1054f4 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: apple,v 1.33 2016/07/01 23:31:13 christos Exp $
+# $File: apple,v 1.34 2016/07/18 19:23:38 christos Exp $
 # apple:  file(1) magic for Apple file formats
 #
 0      search/1/t      FiLeStArTfIlEsTaRt      binscii (apple ][) text
 
 #https://en.wikipedia.org/wiki/AppleScript
 0      string  FasdUAS                 AppleScript compiled
+
+# AppleWorks/ClarisWorks
+# https://github.com/joshenders/appleworks_format
+# http://fileformats.archiveteam.org/wiki/AppleWorks
+0      name                    appleworks
+>0     belong&0x00ffffff       0x07e100        AppleWorks CWK Document
+>0     belong&0x00ffffff       0x008803        ClarisWorks CWK Document
+>0     default                 x       
+>>0    belong                  x               AppleWorks/ClarisWorks CWK Document
+>0     byte                    x               \b, version %d
+>30    beshort                 x               \b, %d
+>32    beshort                 x               \bx%d
+!:ext cwk
+
+4      string  BOBO
+>0     byte    >4
+>>12   belong  0
+>>>26  belong  0
+>>>>0  use     appleworks
+>0     belong  0x0481ad00
+>>0    use     appleworks
index 0f7b591b77f399945ce61248c7dbccfcde7e13ad..6a1b68fb227571e033c323ff5fcaafed320052eb 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: claris,v 1.7 2014/06/03 19:17:27 christos Exp $
+# $File: claris,v 1.8 2016/07/18 19:23:38 christos Exp $
 # claris:  file(1) magic for claris
 # "H. Nanosecond" <aldomel@ix.netcom.com>
 # Claris Works a word processor, etc.
@@ -18,7 +18,8 @@
 
 # Claris works files
 # .cwk
-0      string  \002\000\210\003\102\117\102\117\000\001\206 Claris works document
+# Moved to Apple AppleWorks document
+#0     string  \002\000\210\003\102\117\102\117\000\001\206 Claris works document
 # .plt
 0      string  \020\341\000\000\010\010        Claris Works palette files .plt