summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic/Magdir/lex
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/file/magic/Magdir/lex')
-rw-r--r--contrib/file/magic/Magdir/lex12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/file/magic/Magdir/lex b/contrib/file/magic/Magdir/lex
new file mode 100644
index 0000000..cc9fac5
--- /dev/null
+++ b/contrib/file/magic/Magdir/lex
@@ -0,0 +1,12 @@
+
+#------------------------------------------------------------------------------
+# $File: lex,v 1.6 2009/09/19 16:28:10 christos Exp $
+# lex: file(1) magic for lex
+#
+# derived empirically, your offsets may vary!
+0 search/100 yyprevious C program text (from lex)
+>3 search/1 >\0 for %s
+# C program text from GNU flex, from Daniel Quinlan <quinlan@yggdrasil.com>
+0 search/100 generated\ by\ flex C program text (from flex)
+# lex description file, from Daniel Quinlan <quinlan@yggdrasil.com>
+0 search/1 %{ lex description text
OpenPOWER on IntegriCloud