Deleted Added
full compact
mathematica (267897) mathematica (284237)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: mathematica,v 1.7 2009/09/19 16:28:10 christos Exp $
3# $File: mathematica,v 1.8 2015/04/09 20:01:40 christos Exp $
4# mathematica: file(1) magic for mathematica files
5# "H. Nanosecond" <aldomel@ix.netcom.com>
6# Mathematica a multi-purpose math program
7# versions 2.2 and 3.0
8
9#mathematica .mb
100 string \064\024\012\000\035\000\000\000 Mathematica version 2 notebook
4# mathematica: file(1) magic for mathematica files
5# "H. Nanosecond" <aldomel@ix.netcom.com>
6# Mathematica a multi-purpose math program
7# versions 2.2 and 3.0
8
9#mathematica .mb
100 string \064\024\012\000\035\000\000\000 Mathematica version 2 notebook
11!:ext mb
110 string \064\024\011\000\035\000\000\000 Mathematica version 2 notebook
120 string \064\024\011\000\035\000\000\000 Mathematica version 2 notebook
13!:ext mb
12
13# .ma
14# multiple possibilites:
15
160 string (*^\n\n::[\011frontEndVersion\ =\ Mathematica notebook
17#>41 string >\0 %s
14
15# .ma
16# multiple possibilites:
17
180 string (*^\n\n::[\011frontEndVersion\ =\ Mathematica notebook
19#>41 string >\0 %s
20!:ext mb
18
19#0 string (*^\n\n::[\011palette Mathematica notebook version 2.x
20
21#0 string (*^\n\n::[\011Information Mathematica notebook version 2.x
22#>675 string >\0 %s #doesn't work well
23
24# there may be 'cr' instread of 'nl' in some does this matter?
25
26# generic:
270 string (*^\r\r::[\011 Mathematica notebook version 2.x
21
22#0 string (*^\n\n::[\011palette Mathematica notebook version 2.x
23
24#0 string (*^\n\n::[\011Information Mathematica notebook version 2.x
25#>675 string >\0 %s #doesn't work well
26
27# there may be 'cr' instread of 'nl' in some does this matter?
28
29# generic:
300 string (*^\r\r::[\011 Mathematica notebook version 2.x
31!:ext mb
280 string (*^\r\n\r\n::[\011 Mathematica notebook version 2.x
320 string (*^\r\n\r\n::[\011 Mathematica notebook version 2.x
33!:ext mb
290 string (*^\015 Mathematica notebook version 2.x
340 string (*^\015 Mathematica notebook version 2.x
35!:ext mb
300 string (*^\n\r\n\r::[\011 Mathematica notebook version 2.x
360 string (*^\n\r\n\r::[\011 Mathematica notebook version 2.x
37!:ext mb
310 string (*^\r::[\011 Mathematica notebook version 2.x
380 string (*^\r::[\011 Mathematica notebook version 2.x
39!:ext mb
320 string (*^\r\n::[\011 Mathematica notebook version 2.x
400 string (*^\r\n::[\011 Mathematica notebook version 2.x
41!:ext mb
330 string (*^\n\n::[\011 Mathematica notebook version 2.x
420 string (*^\n\n::[\011 Mathematica notebook version 2.x
43!:ext mb
340 string (*^\n::[\011 Mathematica notebook version 2.x
440 string (*^\n::[\011 Mathematica notebook version 2.x
45!:ext mb
35
36
37# Mathematica .mx files
38
39#0 string (*This\ is\ a\ Mathematica\ binary\ dump\ file.\ It\ can\ be\ loaded\ with\ Get.*) Mathematica binary file
400 string (*This\ is\ a\ Mathematica\ binary\ Mathematica binary file
41#>71 string \000\010\010\010\010\000\000\000\000\000\000\010\100\010\000\000\000
42# >71... is optional

--- 28 unchanged lines hidden ---
46
47
48# Mathematica .mx files
49
50#0 string (*This\ is\ a\ Mathematica\ binary\ dump\ file.\ It\ can\ be\ loaded\ with\ Get.*) Mathematica binary file
510 string (*This\ is\ a\ Mathematica\ binary\ Mathematica binary file
52#>71 string \000\010\010\010\010\000\000\000\000\000\000\010\100\010\000\000\000
53# >71... is optional

--- 28 unchanged lines hidden ---