]> git.saurik.com Git - apple/file_cmds.git/blame - file/magdir/commands
file_cmds-60.tar.gz
[apple/file_cmds.git] / file / magdir / commands
CommitLineData
440bd198
A
1
2#------------------------------------------------------------------------------
3# commands: file(1) magic for various shells and interpreters
4#
50 string :\ shell archive or commands for antique kernel text
60 string #!/bin/sh Bourne shell script text
70 string #!\ /bin/sh Bourne shell script text
80 string #!/bin/csh C shell script text
90 string #!\ /bin/csh C shell script text
10# korn shell magic, sent by George Wu, gwu@clyde.att.com
110 string #!/bin/ksh Korn shell script text
120 string #!\ /bin/ksh Korn shell script text
130 string #!/bin/tcsh Tenex C shell script text
140 string #!\ /bin/tcsh Tenex C shell script text
150 string #!/usr/local/tcsh Tenex C shell script text
160 string #!\ /usr/local/tcsh Tenex C shell script text
170 string #!/usr/local/bin/tcsh Tenex C shell script text
180 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)
210 string #!/usr/local/bin/zsh Paul Falstad's zsh
220 string #!\ /usr/local/bin/zsh Paul Falstad's zsh
230 string #!/usr/local/bin/ash Neil Brown's ash
240 string #!\ /usr/local/bin/ash Neil Brown's ash
250 string #!/usr/local/bin/ae Neil Brown's ae
260 string #!\ /usr/local/bin/ae Neil Brown's ae
270 string #!/bin/nawk new awk script text
280 string #!\ /bin/nawk new awk script text
290 string #!/usr/bin/nawk new awk script text
300 string #!\ /usr/bin/nawk new awk script text
310 string #!/usr/local/bin/nawk new awk script text
320 string #!\ /usr/local/bin/nawk new awk script text
330 string #!/bin/gawk GNU awk script text
340 string #!\ /bin/gawk GNU awk script text
350 string #!/usr/bin/gawk GNU awk script text
360 string #!\ /usr/bin/gawk GNU awk script text
370 string #!/usr/local/bin/gawk GNU awk script text
380 string #!\ /usr/local/bin/gawk GNU awk script text
39#
400 string #!/bin/awk awk commands text
410 string #!\ /bin/awk awk commands text
420 string #!/usr/bin/awk awk commands text
430 string #!\ /usr/bin/awk awk commands text
440 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>
490 string #!/bin/perl perl commands text
500 string #!\ /bin/perl perl commands text
510 string eval\ "exec\ /bin/perl perl commands text
520 string #!/usr/bin/perl perl commands text
530 string #!\ /usr/bin/perl perl commands text
540 string eval\ "exec\ /usr/bin/perl perl commands text
550 string #!/usr/local/bin/perl perl commands text
560 string #!\ /usr/local/bin/perl perl commands text
570 string eval\ "exec\ /usr/local/bin/perl perl commands text
58
59# AT&T Bell Labs' Plan 9 shell
600 string #!/bin/rc Plan 9 rc shell script text
610 string #!\ /bin/rc Plan 9 rc shell script text
62
63# bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
640 string #!/bin/bash Bourne-Again shell script text
650 string #!\ /bin/bash Bourne-Again shell script text
660 string #!/usr/local/bin/bash Bourne-Again shell script text
670 string #!\ /usr/local/bin/bash Bourne-Again shell script text
68
69# generic shell magic
700 string #!\ / a
71>3 string >\0 %s script text
720 string #!/ a
73>2 string >\0 %s script text
740 string #!\ commands text
75>3 string >\0 for %s