xref: /dragonfly/contrib/file/magic/Magdir/maple (revision 9ddb8543)
1
2#------------------------------------------------------------------------------
3# maple:  file(1) magic for maple files
4# "H. Nanosecond" <aldomel@ix.netcom.com>
5# Maple V release 4, a multi-purpose math program
6#
7
8# maple library .lib
90	string	\000MVR4\nI	MapleVr4 library
10
11# .ind
12# no magic for these :-(
13# they are compiled indexes for maple files
14
15# .hdb
160	string	\000\004\000\000	Maple help database
17
18# .mhp
19# this has the form <PACKAGE=name>
200	string	\<PACKAGE=	Maple help file
210	string	\<HELP\ NAME=	Maple help file
220	string	\n\<HELP\ NAME=	Maple help file with extra carriage return at start (yuck)
23#0	string	#\ Newton	Maple help file, old style
240	string	#\ daub	Maple help file, old style
25#0	string	#===========	Maple help file, old style
26
27# .mws
280	string	\000\000\001\044\000\221	Maple worksheet
29#this is anomalous
300	string	WriteNow\000\002\000\001\000\000\000\000\100\000\000\000\000\000	Maple worksheet, but weird
31# this has the form {VERSION 2 3 "IBM INTEL NT" "2.3" }\n
32# that is {VERSION major_version miunor_version computer_type version_string}
330	string	{VERSION\ 	Maple worksheet
34>9	string	>\0	version %.1s.
35>>>11	string	>\0	%.1s
36
37# .mps
380	string	\0\0\001$	Maple something
39# from byte 4 it is either 'nul E' or 'soh R'
40# I think 'nul E' means a file that was saved as  a different name
41# a sort of revision marking
42# 'soh R' means new
43>4	string	\000\105	An old revision
44>4	string	\001\122	The latest save
45
46# .mpl
47# some of these are the same as .mps above
48#0000000 000 000 001 044 000 105 same as .mps
49#0000000 000 000 001 044 001 122 same as .mps
50
510	string	#\n##\ <SHAREFILE=	Maple something
520	string	\n#\n##\ <SHAREFILE=	Maple something
530	string	##\ <SHAREFILE=	Maple something
540	string	#\r##\ <SHAREFILE=	Maple something
550	string	\r#\r##\ <SHAREFILE=	Maple something
560	string	#\ \r##\ <DESCRIBE>	Maple something anomalous.
57