]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/file/Magdir/commands
Fix iconv(3) NULL pointer dereference and out-of-bounds array
[FreeBSD/releng/10.0.git] / contrib / file / Magdir / commands
1
2 #------------------------------------------------------------------------------
3 # $File: commands,v 1.42 2011/12/05 23:14:02 rrt Exp $
4 # commands:  file(1) magic for various shells and interpreters
5 #
6 #0      string/w        :                       shell archive or script for antique kernel text
7 0       string/wt       #!\ /bin/sh             POSIX shell script text executable
8 !:mime  text/x-shellscript
9 0       string/wt       #!\ /bin/csh            C shell script text executable
10 !:mime  text/x-shellscript
11 # korn shell magic, sent by George Wu, gwu@clyde.att.com
12 0       string/wt       #!\ /bin/ksh            Korn shell script text executable
13 !:mime  text/x-shellscript
14 0       string/wt       #!\ /bin/tcsh           Tenex C shell script text executable
15 !:mime  text/x-shellscript
16 0       string/wt       #!\ /usr/bin/tcsh       Tenex C shell script text executable
17 !:mime  text/x-shellscript
18 0       string/wt       #!\ /usr/local/tcsh     Tenex C shell script text executable
19 !:mime  text/x-shellscript
20 0       string/wt       #!\ /usr/local/bin/tcsh Tenex C shell script text executable
21 !:mime  text/x-shellscript
22
23 #
24 # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
25 0       string/wt       #!\ /bin/zsh            Paul Falstad's zsh script text executable
26 !:mime  text/x-shellscript
27 0       string/wt       #!\ /usr/bin/zsh        Paul Falstad's zsh script text executable
28 !:mime  text/x-shellscript
29 0       string/wt       #!\ /usr/local/bin/zsh  Paul Falstad's zsh script text executable
30 !:mime  text/x-shellscript
31 0       string/wt       #!\ /usr/local/bin/ash  Neil Brown's ash script text executable
32 !:mime  text/x-shellscript
33 0       string/wt       #!\ /usr/local/bin/ae   Neil Brown's ae script text executable
34 !:mime  text/x-shellscript
35 0       string/wt       #!\ /bin/nawk           new awk script text executable
36 !:mime  text/x-nawk
37 0       string/wt       #!\ /usr/bin/nawk       new awk script text executable
38 !:mime  text/x-nawk
39 0       string/wt       #!\ /usr/local/bin/nawk new awk script text executable
40 !:mime  text/x-nawk
41 0       string/wt       #!\ /bin/gawk           GNU awk script text executable
42 !:mime  text/x-gawk
43 0       string/wt       #!\ /usr/bin/gawk       GNU awk script text executable
44 !:mime  text/x-gawk
45 0       string/wt       #!\ /usr/local/bin/gawk GNU awk script text executable
46 !:mime  text/x-gawk
47 #
48 0       string/wt       #!\ /bin/awk            awk script text executable
49 !:mime  text/x-awk
50 0       string/wt       #!\ /usr/bin/awk        awk script text executable
51 !:mime  text/x-awk
52 0       regex           =^\\s{0,100}BEGIN\\s{0,100}[{]  awk script text
53 !:strength - 12
54
55 # AT&T Bell Labs' Plan 9 shell
56 0       string/wt       #!\ /bin/rc     Plan 9 rc shell script text executable
57
58 # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
59 0       string/wt       #!\ /bin/bash   Bourne-Again shell script text executable
60 !:mime  text/x-shellscript
61 0       string/wt       #!\ /usr/bin/bash       Bourne-Again shell script text executable
62 !:mime  text/x-shellscript
63 0       string/wt       #!\ /usr/local/bash     Bourne-Again shell script text executable
64 !:mime  text/x-shellscript
65 0       string/wt       #!\ /usr/local/bin/bash Bourne-Again shell script text executable
66 !:mime  text/x-shellscript
67
68 # PHP scripts
69 # Ulf Harnhammar <ulfh@update.uu.se>
70 0       search/1/c      =<?php                  PHP script text
71 !:mime  text/x-php
72 0       search/1        =<?\n                   PHP script text
73 !:mime  text/x-php
74 0       search/1        =<?\r                   PHP script text
75 !:mime  text/x-php
76 0       search/1/w      #!\ /usr/local/bin/php  PHP script text executable
77 !:mime  text/x-php
78 0       search/1/w      #!\ /usr/bin/php        PHP script text executable
79 !:mime  text/x-php
80 # Smarty compiled template, http://www.smarty.net/
81 # Elan Ruusamäe <glen@delfi.ee>
82 0       string  =<?php\ /*\ Smarty\ version     Smarty compiled template
83 >24     regex   [0-9.]+                         \b, version %s
84 !:mime  text/x-php
85
86 0       string          Zend\x00                PHP script Zend Optimizer data
87
88 0       string/t        $!                      DCL command file
89
90 # Type: Pdmenu
91 # URL:  http://packages.debian.org/pdmenu
92 # From: Edward Betts <edward@debian.org>
93 0       string          #!/usr/bin/pdmenu       Pdmenu configuration file text