summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic/Magdir/varied.script
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-06-26 06:03:39 +0000
committerdelphij <delphij@FreeBSD.org>2014-06-26 06:03:39 +0000
commitcd5514ba3b318b16aa00b1048bf9160a9f28fb35 (patch)
tree5b4f7850752944df750e0c678951b78d9484b67e /contrib/file/magic/Magdir/varied.script
parent8b39363d0d5f3d274de63dac41aaba59cdf00cdb (diff)
parent02573f2d7154bbe159ba99728d5db9be8a29bd9b (diff)
downloadFreeBSD-src-cd5514ba3b318b16aa00b1048bf9160a9f28fb35.zip
FreeBSD-src-cd5514ba3b318b16aa00b1048bf9160a9f28fb35.tar.gz
MFV r267843: update file/libmagic to 5.19.
MFC after: 2 weeks
Diffstat (limited to 'contrib/file/magic/Magdir/varied.script')
-rw-r--r--contrib/file/magic/Magdir/varied.script59
1 files changed, 59 insertions, 0 deletions
diff --git a/contrib/file/magic/Magdir/varied.script b/contrib/file/magic/Magdir/varied.script
new file mode 100644
index 0000000..eb71b2f
--- /dev/null
+++ b/contrib/file/magic/Magdir/varied.script
@@ -0,0 +1,59 @@
+#------------------------------------------------------------------------------
+# $File: varied.script,v 1.10 2014/03/01 22:32:39 christos Exp $
+# varied.script: file(1) magic for various interpreter scripts
+
+0 string/t #!\ / a
+>3 string >\0 %s script text executable
+!:strength / 2
+
+0 string/b #!\ / a
+>3 string >\0 %s script executable (binary data)
+!:strength / 2
+
+0 string/t #!\t/ a
+>3 string >\0 %s script text executable
+!:strength / 2
+
+0 string/b #!\t/ a
+>3 string >\0 %s script executable (binary data)
+!:strength / 2
+
+0 string/t #!/ a
+>2 string >\0 %s script text executable
+!:strength / 2
+
+0 string/b #!/ a
+>2 string >\0 %s script executable (binary data)
+!:strength / 2
+
+0 string/t #!\ script text executable
+>3 string >\0 for %s
+!:strength / 3
+
+0 string/b #!\ script executable
+>3 string >\0 for %s (binary data)
+!:strength / 3
+
+# using env
+0 string/t #!/usr/bin/env a
+>15 string/t >\0 %s script text executable
+!:strength / 10
+
+0 string/b #!/usr/bin/env a
+>15 string/b >\0 %s script executable (binary data)
+!:strength / 10
+
+0 string/t #!\ /usr/bin/env a
+>16 string/t >\0 %s script text executable
+!:strength / 10
+
+0 string/b #!\ /usr/bin/env a
+>16 string/b >\0 %s script executable (binary data)
+!:strength / 10
+
+# From: arno <arenevier@fdn.fr>
+# mozilla xpconnect typelib
+# see http://www.mozilla.org/scriptable/typelib_file.html
+0 string XPCOM\nTypeLib\r\n\032 XPConnect Typelib
+>0x10 byte x version %d
+>>0x11 byte x \b.%d
OpenPOWER on IntegriCloud