]> granicus.if.org Git - file/commitdiff
PR/200: Add uterus magic
authorChristos Zoulas <christos@zoulas.com>
Tue, 18 Dec 2012 18:53:32 +0000 (18:53 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 18 Dec 2012 18:53:32 +0000 (18:53 +0000)
magic/Magdir/uterus [new file with mode: 0644]

diff --git a/magic/Magdir/uterus b/magic/Magdir/uterus
new file mode 100644 (file)
index 0000000..c5a139b
--- /dev/null
@@ -0,0 +1,16 @@
+
+#------------------------------------------------------------------------------
+# $File: uterus,v 1.1 2012/12/18 18:53:32 christos Exp $
+# file(1) magic for uterus files
+# http://freecode.com/projects/uterus
+#
+0      string          UTE+    uterus file
+>4     string          v       \b, version
+>5     byte            x       %c
+>6     string          .       \b.
+>7     byte            x       \b%c
+>8     string          \<\>    \b, big-endian
+>>16   belong          >0      \b, slut size %u
+>8     string          \>\<    \b, litte-endian
+>>16   lelong          >0      \b, slut size %u
+>10    byte            &8      \b, compressed