Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does anyone have a magic file for Erlang?

Erlang file magic
0
10 Posted

Does anyone have a magic file for Erlang?

0

Magic files are used on unix systems with a tool called “file” to identify files. Here’s an addition to /etc/magic which allows “file” to identify BEAM and JAM files. # OTP R3-R4 0 string \0177BEAM! Old Erlang BEAM file >6 short >0 – version %d # OTP R5 and onwards 0 string FOR1 >8 string BEAM Erlang BEAM file # 4.2 version may have a copyright notice!! 4 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file – version 4.2 79 string Tue Jan 22 14:32:44 MET 1991 Erlang JAM file – version 4.2 4 string 1.0 Fri Feb 3 09:55:56 MET 1995 Erlang JAM file – version 4.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123