-
Notifications
You must be signed in to change notification settings - Fork 1
/
magic
85 lines (84 loc) · 3.44 KB
/
magic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#----------------------------------------------------------------------------------
# file(1) magic for Horae files
# Horae consists of:
# Athena : a program for XAS data processing
# Artemis : a program for EXAFS data analysis
# Hephaestus : a souped-up periodic table for absorption spectroscopists
# atp : Atoms Template Files, structured output from Atoms
#
# Installation: append this file to the end of /etc/magic or see
# `man 1 file' for details of the file magic subsystem on
# your computer
#
# ----- Athena files
#
0 string #\ Athena\ project Athena project file
>40 string x -- version %s
#
0 string #\ Athena\ record Athena record file
>39 string x -- version %s
#
0 string #\ Athena\ data Athena data file
>37 string x -- version %s
#
0 string #\ Athena\ multicolumn Athena multicolumn output file
>49 string x -- version %s
#
0 string #\ Athena\ CSV Athena comma separated report
>38 string x -- version %s
#
0 string #\ Athena\ text Athena text report
>39 string x -- version %s
#
0 string #\ Athena Athena file (unknown type)
#
# ----- Artemis files
#
0 string #\ Artemis\ output\ file,\ selected Artemis column data (selected)
>50 string x -- version %s
#
0 string #\ Artemis\ output\ file,\ path Artemis column data (path)
>46 string x -- version %s
#
0 string #\ Artemis\ output\ file,\ data Artemis column data (data)
>46 string x -- version %s
#
0 string #\ Artemis\ output\ file,\ full Artemis column data (full data)
>46 string x -- version %s
#
0 string #\ Artemis\ output\ file,\ bkgsub Artemis column data (background subtracted data)
>48 string x -- version %s
#
0 string #\ Artemis\ extracted Artemis column data (extracted from a multicolumn data file)
>48 string x -- version %s
#
0 string #\ Artemis\ project Artemis description file
>41 string x -- version %s
#
# ----- Hephaestus files
#
0 string #\ Hephaestus Hephaestus output file
>13 string x -- version %s
#
# ----- Atoms Template Files
#
0 string \<atp\ -- Atoms Template File
#
# end of file(1) magic for Horae files
#----------------------------------------------------------------------------------
#
# To recognize the data files of the Perl module Storable,
# the following lines need to be added to the local magic(5) file,
# usually either /usr/share/misc/magic or /etc/magic.
#
0 string perl-store perl Storable(v0.6) data
>4 byte >0 (net-order %d)
>>4 byte &01 (network-ordered)
>>4 byte =3 (major 1)
>>4 byte =2 (major 1)
0 string pst0 perl Storable(v0.7) data
>4 byte >0
>>4 byte &01 (network-ordered)
>>4 byte =5 (major 2)
>>4 byte =4 (major 2)
>>5 byte >0 (minor %d)