From 9c6bb43ae2a37441a90018141c6a63276746042e Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE> Date: Tue, 26 Jul 2005 14:29:07 +0000 Subject: [PATCH] A first incomplete attempt to write an ALBERTA addition for the file(1) command. --- magic | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 magic diff --git a/magic b/magic new file mode 100644 index 0000000..80becd9 --- /dev/null +++ b/magic @@ -0,0 +1,28 @@ +############################################################################### +# +# An entry for the ALBERTA xdr mesh file. +# +############################################################################### +4 string ALBERTA:\ Version\ 2.0 ALBERTA Version 2 xdr mesh file. +>48 string >\0 Name "%s". +>24 belong >0 DIM %d. +>28 belong >0 DOW %d. +>48 string >\0 +>>&0 belong >0 %d vertices. +>24 belong >1 +>>48 string >\0 +>>>&4 belong >0 %d edges. +>>>&8 belong >0 %d elements. +>>>&12 belong >0 %d hierarchical elements. +>>>24 belong >2 +>>>>48 string >\0 +>>>>>&16 belong >0 %d faces. + +############################################################################### +# +# An entry for the ALBERTA xdr DOF_REAL_D_VEC file. +# +############################################################################### +4 string DOF_REAL_D_VEC\ \ ALBERTA xdr DOF_REAL_D_VEC. +>24 belong >0 +>>28 string >\0 Name "%s". -- GitLab