minix/external/bsd/file/dist/magic/magdir/varied.script

32 lines
959 B
Text
Raw Normal View History

2012-03-31 20:24:03 +02:00
#------------------------------------------------------------------------------
# $File: varied.script,v 1.9 2011/12/16 16:32:48 rrt Exp $
2012-03-31 20:24:03 +02:00
# varied.script: file(1) magic for various interpreter scripts
2012-05-02 13:23:57 +02:00
0 string/t #!\ / a
2012-03-31 20:24:03 +02:00
>3 string >\0 %s script text executable
!:strength / 2
2012-05-02 13:23:57 +02:00
0 string/t #!\t/ a
2012-03-31 20:24:03 +02:00
>3 string >\0 %s script text executable
!:strength / 2
2012-05-02 13:23:57 +02:00
0 string/t #!/ a
2012-03-31 20:24:03 +02:00
>2 string >\0 %s script text executable
!:strength / 2
2012-05-02 13:23:57 +02:00
0 string/t #!\ script text executable
2012-03-31 20:24:03 +02:00
>3 string >\0 for %s
!:strength / 3
# using env
0 string/t #!/usr/bin/env a
>15 string/t >\0 %s script text executable
!:strength / 10
0 string/t #!\ /usr/bin/env a
>16 string/t >\0 %s script text executable
!:strength / 10
2012-03-31 20:24:03 +02:00
# 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