#----------------------------------------------------------------------------------
# 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)
