vendor/file: upgrade from 5.32 to 5.38
[dragonfly.git] / contrib / file / magic / Magdir / varied.script
blobff893882b01e010125cb03187c112b60a98ae0c3
1 #------------------------------------------------------------------------------
2 # $File: varied.script,v 1.13 2019/10/11 14:35:29 christos Exp $
3 # varied.script:  file(1) magic for various interpreter scripts
5 0       string/t                #!\ /                   a
6 >3      string          >\0                     %s script text executable
7 !:strength / 2
9 0       string/b                #!\ /                   a
10 >3      string          >\0                     %s script executable (binary data)
11 !:strength / 2
13 0       string/t                #!\t/                   a
14 >3      string          >\0                     %s script text executable
15 !:strength / 2
17 0       string/b                #!\t/                   a
18 >3      string          >\0                     %s script executable (binary data)
19 !:strength / 2
21 0       string/t                #!/                     a
22 >2      string          >\0                     %s script text executable
23 !:strength / 2
25 0       string/b                #!/                     a
26 >2      string          >\0                     %s script executable (binary data)
27 !:strength / 2
29 0       string/t                #!\                     script text executable
30 >3      string          >\0                     for %s
31 !:strength / 2
33 0       string/b                #!\                     script executable
34 >3      string          >\0                     for %s (binary data)
35 !:strength / 2
37 # using env
38 0       string/t        #!/usr/bin/env          a
39 >15     string/t        >\0                     %s script text executable
40 !:strength / 10
42 0       string/b        #!/usr/bin/env          a
43 >15     string/b        >\0                     %s script executable (binary data)
44 !:strength / 10
46 0       string/t        #!\ /usr/bin/env        a
47 >16     string/t        >\0                     %s script text executable
48 !:strength / 10
50 0       string/b        #!\ /usr/bin/env        a
51 >16     string/b        >\0                     %s script executable (binary data)
52 !:strength / 10
54 # From: arno <arenevier@fdn.fr>
55 # mozilla xpconnect typelib
56 # see https://www.mozilla.org/scriptable/typelib_file.html
57 0       string          XPCOM\nTypeLib\r\n\032          XPConnect Typelib
58 >0x10  byte        x       version %d
59 >>0x11 byte        x      \b.%d