file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / commands
1
2 #------------------------------------------------------------------------------
3 # commands:  file(1) magic for various shells and interpreters
4 #
5 0       string          :\ shell archive or commands for antique kernel text
6 0       string          #!/bin/sh               Bourne shell script text
7 0       string          #!\ /bin/sh             Bourne shell script text
8 0       string          #!/bin/csh              C shell script text
9 0       string          #!\ /bin/csh            C shell script text
10 # korn shell magic, sent by George Wu, gwu@clyde.att.com
11 0       string          #!/bin/ksh              Korn shell script text
12 0       string          #!\ /bin/ksh            Korn shell script text
13 0       string          #!/bin/tcsh             Tenex C shell script text
14 0       string          #!\ /bin/tcsh           Tenex C shell script text
15 0       string          #!/usr/local/tcsh       Tenex C shell script text
16 0       string          #!\ /usr/local/tcsh     Tenex C shell script text
17 0       string          #!/usr/local/bin/tcsh   Tenex C shell script text
18 0       string          #!\ /usr/local/bin/tcsh Tenex C shell script text
19 #
20 # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
21 0       string          #!/usr/local/bin/zsh    Paul Falstad's zsh
22 0       string          #!\ /usr/local/bin/zsh  Paul Falstad's zsh
23 0       string          #!/usr/local/bin/ash    Neil Brown's ash
24 0       string          #!\ /usr/local/bin/ash  Neil Brown's ash
25 0       string          #!/usr/local/bin/ae     Neil Brown's ae
26 0       string          #!\ /usr/local/bin/ae   Neil Brown's ae
27 0       string          #!/bin/nawk             new awk script text
28 0       string          #!\ /bin/nawk           new awk script text
29 0       string          #!/usr/bin/nawk         new awk script text
30 0       string          #!\ /usr/bin/nawk       new awk script text
31 0       string          #!/usr/local/bin/nawk   new awk script text
32 0       string          #!\ /usr/local/bin/nawk new awk script text
33 0       string          #!/bin/gawk             GNU awk script text
34 0       string          #!\ /bin/gawk           GNU awk script text
35 0       string          #!/usr/bin/gawk         GNU awk script text
36 0       string          #!\ /usr/bin/gawk       GNU awk script text
37 0       string          #!/usr/local/bin/gawk   GNU awk script text
38 0       string          #!\ /usr/local/bin/gawk GNU awk script text
39 #
40 0       string          #!/bin/awk              awk commands text
41 0       string          #!\ /bin/awk            awk commands text
42 0       string          #!/usr/bin/awk          awk commands text
43 0       string          #!\ /usr/bin/awk        awk commands text
44 0       string          BEGIN                   awk commands text
45
46 # For Larry Wall's perl language.  The ``eval'' line recognizes an
47 # outrageously clever hack for USG systems.
48 #                               Keith Waclena <keith@cerberus.uchicago.edu>
49 0       string          #!/bin/perl                     perl commands text
50 0       string          #!\ /bin/perl                   perl commands text
51 0       string          eval\ "exec\ /bin/perl          perl commands text
52 0       string          #!/usr/bin/perl                 perl commands text
53 0       string          #!\ /usr/bin/perl               perl commands text
54 0       string          eval\ "exec\ /usr/bin/perl      perl commands text
55 0       string          #!/usr/local/bin/perl           perl commands text
56 0       string          #!\ /usr/local/bin/perl         perl commands text
57 0       string          eval\ "exec\ /usr/local/bin/perl        perl commands text
58
59 # AT&T Bell Labs' Plan 9 shell
60 0       string          #!/bin/rc       Plan 9 rc shell script text
61 0       string          #!\ /bin/rc     Plan 9 rc shell script text
62
63 # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
64 0       string          #!/bin/bash     Bourne-Again shell script text
65 0       string          #!\ /bin/bash   Bourne-Again shell script text
66 0       string          #!/usr/local/bin/bash   Bourne-Again shell script text
67 0       string          #!\ /usr/local/bin/bash Bourne-Again shell script text
68
69 # generic shell magic
70 0       string          #!\ /                   a
71 >3      string          >\0                     %s script text
72 0       string          #!/                     a
73 >2      string          >\0                     %s script text
74 0       string          #!\                     commands text
75 >3      string          >\0                     for %s