"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/erlang" (17 Mar 2017, 703 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 #------------------------------------------------------------------------------
    3 # $File: erlang,v 1.6 2010/09/20 19:19:17 rrt Exp $
    4 # erlang:  file(1) magic for Erlang JAM and BEAM files
    5 # URL:  http://www.erlang.org/faq/x779.html#AEN812
    6 
    7 # OTP R3-R4
    8 0	string	\0177BEAM!	Old Erlang BEAM file
    9 >6	short	>0		- version %d
   10 
   11 # OTP R5 and onwards
   12 0	string	FOR1
   13 >8	string	BEAM		Erlang BEAM file
   14 
   15 # 4.2 version may have a copyright notice!
   16 4	string	Tue\ Jan\ 22\ 14:32:44\ MET\ 1991	Erlang JAM file - version 4.2
   17 79	string	Tue\ Jan\ 22\ 14:32:44\ MET\ 1991	Erlang JAM file - version 4.2
   18 
   19 4	string	1.0\ Fri\ Feb\ 3\ 09:55:56\ MET\ 1995	Erlang JAM file - version 4.3
   20 
   21 0	bequad	0x0000000000ABCDEF	Erlang DETS file