--- magic/Magdir/commands +++ magic/Magdir/commands 2006-03-24 14:59:41.000000000 +0100 @@ -3,56 +3,56 @@ # commands: file(1) magic for various shells and interpreters # 0 string : shell archive or script for antique kernel text -0 string/b #!\ /bin/sh Bourne shell script text executable -0 string/b #!\ /bin/csh C shell script text executable +0 string/b #!\ /bin/sh Bourne shell script text +0 string/b #!\ /bin/csh C shell script text # korn shell magic, sent by George Wu, gwu@clyde.att.com -0 string/b #!\ /bin/ksh Korn shell script text executable -0 string/b #!\ /bin/tcsh Tenex C shell script text executable -0 string/b #!\ /usr/bin/tcsh Tenex C shell script text executable -0 string/b #!\ /usr/local/tcsh Tenex C shell script text executable -0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text executable +0 string/b #!\ /bin/ksh Korn shell script text +0 string/b #!\ /bin/tcsh Tenex C shell script text +0 string/b #!\ /usr/bin/tcsh Tenex C shell script text +0 string/b #!\ /usr/local/tcsh Tenex C shell script text +0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text # # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson) -0 string/b #!\ /bin/zsh Paul Falstad's zsh script text executable -0 string/b #!\ /usr/bin/zsh Paul Falstad's zsh script text executable -0 string/b #!\ /usr/local/bin/zsh Paul Falstad's zsh script text executable -0 string/b #!\ /usr/local/bin/ash Neil Brown's ash script text executable -0 string/b #!\ /usr/local/bin/ae Neil Brown's ae script text executable -0 string/b #!\ /bin/nawk new awk script text executable -0 string/b #!\ /usr/bin/nawk new awk script text executable -0 string/b #!\ /usr/local/bin/nawk new awk script text executable -0 string/b #!\ /bin/gawk GNU awk script text executable -0 string/b #!\ /usr/bin/gawk GNU awk script text executable -0 string/b #!\ /usr/local/bin/gawk GNU awk script text executable +0 string/b #!\ /bin/zsh Paul Falstad's zsh script text +0 string/b #!\ /usr/bin/zsh Paul Falstad's zsh script text +0 string/b #!\ /usr/local/bin/zsh Paul Falstad's zsh script text +0 string/b #!\ /usr/local/bin/ash Neil Brown's ash script text +0 string/b #!\ /usr/local/bin/ae Neil Brown's ae script text +0 string/b #!\ /bin/nawk new awk script text +0 string/b #!\ /usr/bin/nawk new awk script text +0 string/b #!\ /usr/local/bin/nawk new awk script text +0 string/b #!\ /bin/gawk GNU awk script text +0 string/b #!\ /usr/bin/gawk GNU awk script text +0 string/b #!\ /usr/local/bin/gawk GNU awk script text # -0 string/b #!\ /bin/awk awk script text executable -0 string/b #!\ /usr/bin/awk awk script text executable +0 string/b #!\ /bin/awk awk script text +0 string/b #!\ /usr/bin/awk awk script text # update to distinguish from *.vcf files 0 regex BEGIN[[:space:]]*[{] awk script text # AT&T Bell Labs' Plan 9 shell -0 string/b #!\ /bin/rc Plan 9 rc shell script text executable +0 string/b #!\ /bin/rc Plan 9 rc shell script text # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de) -0 string/b #!\ /bin/bash Bourne-Again shell script text executable -0 string/b #!\ /usr/bin/bash Bourne-Again shell script text executable -0 string/b #!\ /usr/local/bash Bourne-Again shell script text executable -0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text executable +0 string/b #!\ /bin/bash Bourne-Again shell script text +0 string/b #!\ /usr/bin/bash Bourne-Again shell script text +0 string/b #!\ /usr/local/bash Bourne-Again shell script text +0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text # using env 0 string #!/usr/bin/env a ->15 string >\0 %s script text executable +>15 string >\0 %s script text 0 string #!\ /usr/bin/env a ->16 string >\0 %s script text executable +>16 string >\0 %s script text # PHP scripts # Ulf Harnhammar 0 string/c = # Send additions to -0 string/b #!\ /bin/perl perl script text executable +0 string/b #!\ /bin/perl perl script text 0 string eval\ "exec\ /bin/perl perl script text -0 string/b #!\ /usr/bin/perl perl script text executable +0 string/b #!\ /usr/bin/perl perl script text 0 string eval\ "exec\ /usr/bin/perl perl script text 0 string/b #!\ /usr/local/bin/perl perl script text -0 string eval\ "exec\ /usr/local/bin/perl perl script text executable +0 string eval\ "exec\ /usr/local/bin/perl perl script text 0 string eval\ '(exit\ $?0)'\ &&\ eval\ 'exec perl script text --- magic/Magdir/python +++ magic/Magdir/python 2006-03-24 14:51:26.000000000 +0100 @@ -4,7 +4,7 @@ # # From: David Necas # often the module starts with a multiline string -0 string """ a python script text executable +0 string """ a python script text # MAGIC as specified in Python/import.c (1.5 to 2.3.0a) # 20121 ( YEAR - 1995 ) + MONTH + DAY (little endian followed by "\r\n" 0 belong 0x994e0d0a python 1.5/1.6 byte-compiled --- magic/Magdir/varied.script +++ magic/Magdir/varied.script 2007-03-21 11:22:09.000000000 +0100 @@ -2,11 +2,11 @@ # varied.script: file(1) magic for various interpreter scripts 0 string #!\ / a ->3 string >\0 %s script text executable +>3 string >\0 %s script text 0 string #!\t/ a ->3 string >\0 %s script text executable +>3 string >\0 %s script text 0 string #!/ a ->2 string >\0 %s script text executable -0 string #!\ script text executable +>2 string >\0 %s script text +0 string #!\ script text >3 string >\0 for %s