]> granicus.if.org Git - file/commitdiff
score down the rest of the interpreters so that better language-specific
authorChristos Zoulas <christos@zoulas.com>
Fri, 11 Oct 2019 14:35:29 +0000 (14:35 +0000)
committerChristos Zoulas <christos@zoulas.com>
Fri, 11 Oct 2019 14:35:29 +0000 (14:35 +0000)
matches take precedence.

magic/Magdir/varied.script

index 11e6eb56bb9e61e75ee2d6cba7d51d24279269f2..ff893882b01e010125cb03187c112b60a98ae0c3 100644 (file)
@@ -1,30 +1,38 @@
 #------------------------------------------------------------------------------
-# $File: varied.script,v 1.12 2019/04/19 00:42:27 christos Exp $
+# $File: varied.script,v 1.13 2019/10/11 14:35:29 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 / 2
 
 0      string/b                #!\                     script executable
 >3     string          >\0                     for %s (binary data)
+!:strength / 2
 
 # using env
 0      string/t        #!/usr/bin/env          a