"Fossies" - the Fresh Open Source Software Archive

Member "file-5.38/magic/Magdir/varied.script" (15 Oct 2019, 1530 Bytes) of package /linux/misc/file-5.38.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    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
    4 
    5 0	string/t		#!\ /			a
    6 >3	string		>\0			%s script text executable
    7 !:strength / 2
    8 
    9 0	string/b		#!\ /			a
   10 >3	string		>\0			%s script executable (binary data)
   11 !:strength / 2
   12 
   13 0	string/t		#!\t/			a
   14 >3	string		>\0			%s script text executable
   15 !:strength / 2
   16 
   17 0	string/b		#!\t/			a
   18 >3	string		>\0			%s script executable (binary data)
   19 !:strength / 2
   20 
   21 0	string/t		#!/			a
   22 >2	string		>\0			%s script text executable
   23 !:strength / 2
   24 
   25 0	string/b		#!/			a
   26 >2	string		>\0			%s script executable (binary data)
   27 !:strength / 2
   28 
   29 0	string/t		#!\ 			script text executable
   30 >3	string		>\0			for %s
   31 !:strength / 2
   32 
   33 0	string/b		#!\ 			script executable
   34 >3	string		>\0			for %s (binary data)
   35 !:strength / 2
   36 
   37 # using env
   38 0	string/t	#!/usr/bin/env		a
   39 >15	string/t	>\0			%s script text executable
   40 !:strength / 10
   41 
   42 0	string/b	#!/usr/bin/env		a
   43 >15	string/b	>\0			%s script executable (binary data)
   44 !:strength / 10
   45 
   46 0	string/t	#!\ /usr/bin/env	a
   47 >16	string/t	>\0			%s script text executable
   48 !:strength / 10
   49 
   50 0	string/b	#!\ /usr/bin/env	a
   51 >16	string/b	>\0			%s script executable (binary data)
   52 !:strength / 10
   53 
   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