From: Christos Zoulas Date: Fri, 11 Oct 2019 14:35:29 +0000 (+0000) Subject: score down the rest of the interpreters so that better language-specific X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9bab11f6a4baebfa01e6a754d3f5263c93e8daa;p=file score down the rest of the interpreters so that better language-specific matches take precedence. --- diff --git a/magic/Magdir/varied.script b/magic/Magdir/varied.script index 11e6eb56..ff893882 100644 --- a/magic/Magdir/varied.script +++ b/magic/Magdir/varied.script @@ -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