Merge from vendor branch DHCP:
[dragonfly.git] / contrib / file-4.12 / magic / Magdir / commands
1
2 #------------------------------------------------------------------------------
3 # commands:  file(1) magic for various shells and interpreters
4 #
5 0       string          :                       shell archive or script for antique kernel text
6 0       string/b        #!\ /bin/sh             Bourne shell script text executable
7 0       string/b        #!\ /bin/csh            C shell script text executable
8 # korn shell magic, sent by George Wu, gwu@clyde.att.com
9 0       string/b        #!\ /bin/ksh            Korn shell script text executable
10 0       string/b        #!\ /bin/tcsh           Tenex C shell script text executable
11 0       string/b        #!\ /usr/local/tcsh     Tenex C shell script text executable
12 0       string/b        #!\ /usr/local/bin/tcsh Tenex C shell script text executable
13
14 #
15 # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
16 0       string/b        #!\ /bin/zsh            Paul Falstad's zsh script text executable
17 0       string/b        #!\ /usr/bin/zsh        Paul Falstad's zsh script text executable
18 0       string/b        #!\ /usr/local/bin/zsh  Paul Falstad's zsh script text executable
19 0       string/b        #!\ /usr/local/bin/ash  Neil Brown's ash script text executable
20 0       string/b        #!\ /usr/local/bin/ae   Neil Brown's ae script text executable
21 0       string/b        #!\ /bin/nawk           new awk script text executable
22 0       string/b        #!\ /usr/bin/nawk       new awk script text executable
23 0       string/b        #!\ /usr/local/bin/nawk new awk script text executable
24 0       string/b        #!\ /bin/gawk           GNU awk script text executable
25 0       string/b        #!\ /usr/bin/gawk       GNU awk script text executable
26 0       string/b        #!\ /usr/local/bin/gawk GNU awk script text executable
27 #
28 0       string/b        #!\ /bin/awk            awk script text executable
29 0       string/b        #!\ /usr/bin/awk        awk script text executable
30 0       string          BEGIN                   awk script text
31
32 # AT&T Bell Labs' Plan 9 shell
33 0       string/b        #!\ /bin/rc     Plan 9 rc shell script text executable
34
35 # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
36 0       string/b        #!\ /bin/bash   Bourne-Again shell script text executable
37 0       string/b        #!\ /usr/local/bin/bash Bourne-Again shell script text executable
38
39 # using env
40 0       string          #!/usr/bin/env          a
41 >15     string          >\0                     %s script text executable
42 0       string          #!\ /usr/bin/env        a
43 >16     string          >\0                     %s script text executable
44
45 # PHP scripts
46 # Ulf Harnhammar <ulfh@update.uu.se>
47 0       string/c        =<?php                  PHP script text
48 0       string          =<?\n                   PHP script text
49 0       string          =<?\r                   PHP script text
50 0       string/b        #!\ /usr/local/bin/php  PHP script text executable
51 0       string/b        #!\ /usr/bin/php        PHP script text executable
52
53 0       string          Zend\x00                PHP script Zend Optimizer data