2006-12-19 00:15:53 +01:00
|
|
|
--- magic/Magdir/commands
|
2009-05-06 18:38:39 +02:00
|
|
|
+++ magic/Magdir/commands 2009-05-05 14:01:03.253902298 +0200
|
|
|
|
@@ -3,66 +3,66 @@
|
2006-12-19 00:15:53 +01:00
|
|
|
# commands: file(1) magic for various shells and interpreters
|
|
|
|
#
|
2008-04-14 19:32:36 +02:00
|
|
|
#0 string : shell archive or script for antique kernel text
|
|
|
|
-0 string/b #!\ /bin/sh POSIX shell script text executable
|
|
|
|
+0 string/b #!\ /bin/sh POSIX shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2006-12-19 00:15:53 +01:00
|
|
|
-0 string/b #!\ /bin/csh C shell script text executable
|
|
|
|
+0 string/b #!\ /bin/csh C shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2006-12-19 00:15:53 +01:00
|
|
|
# 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/ksh Korn shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /bin/tcsh Tenex C shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /bin/tcsh Tenex C shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/bin/tcsh Tenex C shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/bin/tcsh Tenex C shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/tcsh Tenex C shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/tcsh Tenex C shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2006-12-19 00:15:53 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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 #!\ /bin/zsh Paul Falstad's zsh script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/bin/zsh Paul Falstad's zsh script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/bin/zsh Paul Falstad's zsh script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/zsh Paul Falstad's zsh script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/zsh Paul Falstad's zsh script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/ash Neil Brown's ash script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/ash Neil Brown's ash script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/ae Neil Brown's ae script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/ae Neil Brown's ae script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /bin/nawk new awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /bin/nawk new awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-nawk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/bin/nawk new awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/bin/nawk new awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-nawk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/nawk new awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/nawk new awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-nawk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /bin/gawk GNU awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /bin/gawk GNU awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-gawk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/bin/gawk GNU awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/bin/gawk GNU awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-gawk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/gawk GNU awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/gawk GNU awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-gawk
|
2006-12-19 00:15:53 +01:00
|
|
|
#
|
|
|
|
-0 string/b #!\ /bin/awk awk script text executable
|
|
|
|
+0 string/b #!\ /bin/awk awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-awk
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/bin/awk awk script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/bin/awk awk script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-awk
|
2006-12-19 00:15:53 +01:00
|
|
|
# update to distinguish from *.vcf files
|
2008-04-14 19:32:36 +02:00
|
|
|
# this is broken because postscript has /EBEGIN{ for example.
|
|
|
|
#0 search/Bb BEGIN { awk script text
|
2006-12-19 00:15:53 +01:00
|
|
|
|
|
|
|
# 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)
|
2009-05-06 18:38:39 +02:00
|
|
|
-0 string/b #!\ /bin/bash Bourne-Again shell script text executable
|
|
|
|
+0 string/b #!\ /bin/bash Bourne-Again shell script text
|
|
|
|
!:mime text/x-shellscript
|
2006-12-19 00:15:53 +01:00
|
|
|
-0 string/b #!\ /usr/bin/bash Bourne-Again shell script text executable
|
|
|
|
+0 string/b #!\ /usr/bin/bash Bourne-Again shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bash Bourne-Again shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bash Bourne-Again shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text executable
|
2006-12-19 00:15:53 +01:00
|
|
|
+0 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-shellscript
|
2006-12-19 00:15:53 +01:00
|
|
|
|
|
|
|
# using env
|
2009-05-06 18:38:39 +02:00
|
|
|
@@ -79,9 +79,9 @@
|
|
|
|
!:mime text/x-php
|
2008-04-14 19:32:36 +02:00
|
|
|
0 search/1 =<?\r PHP script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-php
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 search/1/b #!\ /usr/local/bin/php PHP script text executable
|
|
|
|
+0 search/1/b #!\ /usr/local/bin/php PHP script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-php
|
|
|
|
-0 search/1/b #!\ /usr/bin/php PHP script text executable
|
2008-04-14 19:32:36 +02:00
|
|
|
+0 search/1/b #!\ /usr/bin/php PHP script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-php
|
2006-12-19 00:15:53 +01:00
|
|
|
|
|
|
|
0 string Zend\x00 PHP script Zend Optimizer data
|
|
|
|
--- magic/Magdir/perl
|
2009-05-06 18:38:39 +02:00
|
|
|
+++ magic/Magdir/perl 2009-05-05 14:01:33.658402106 +0200
|
2008-04-14 19:32:36 +02:00
|
|
|
@@ -4,15 +4,15 @@
|
|
|
|
# The `eval' lines recognizes an outrageously clever hack.
|
2006-12-19 00:15:53 +01:00
|
|
|
# Keith Waclena <keith@cerberus.uchicago.edu>
|
|
|
|
# Send additions to <perl5-porters@perl.org>
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 search/1/b #!\ /bin/perl Perl script text executable
|
|
|
|
+0 search/1/b #!\ /bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2008-04-14 19:32:36 +02:00
|
|
|
0 search/1 eval\ "exec\ /bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 search/1/b #!\ /usr/bin/perl Perl script text executable
|
|
|
|
+0 search/1/b #!\ /usr/bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2008-04-14 19:32:36 +02:00
|
|
|
0 search/1 eval\ "exec\ /usr/bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2008-04-14 19:32:36 +02:00
|
|
|
-0 search/1/b #!\ /usr/local/bin/perl Perl script text executable
|
|
|
|
+0 search/1/b #!\ /usr/local/bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2008-04-14 19:32:36 +02:00
|
|
|
0 search/1 eval\ "exec\ /usr/local/bin/perl Perl script text
|
2009-05-06 18:38:39 +02:00
|
|
|
!:mime text/x-perl
|
2006-12-19 00:15:53 +01:00
|
|
|
--- magic/Magdir/python
|
|
|
|
+++ magic/Magdir/python 2006-03-24 14:51:26.000000000 +0100
|
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
#
|
|
|
|
# From: David Necas <yeti@physics.muni.cz>
|
|
|
|
# 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
|
2007-03-22 12:06:16 +01:00
|
|
|
+++ magic/Magdir/varied.script 2007-03-21 11:22:09.000000000 +0100
|
2008-04-14 19:32:36 +02:00
|
|
|
@@ -2,12 +2,12 @@
|
2006-12-19 00:15:53 +01:00
|
|
|
# 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
|
2007-03-22 12:06:16 +01:00
|
|
|
0 string #!\t/ a
|
2006-12-19 00:15:53 +01:00
|
|
|
->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
|
|
|
|
|
2008-04-14 19:32:36 +02:00
|
|
|
# From: arno <arenevier@fdn.fr>
|