commands revision 68349
1 2#------------------------------------------------------------------------------ 3# commands: file(1) magic for various shells and interpreters 4# 50 string :\ shell archive or script for antique kernel text 60 string/b #!\ /bin/sh Bourne shell script text executable 70 string/b #!\ /bin/csh C shell script text executable 8# korn shell magic, sent by George Wu, gwu@clyde.att.com 90 string/b #!\ /bin/ksh Korn shell script text executable 100 string/b #!\ /bin/tcsh Tenex C shell script text executable 110 string/b #!\ /usr/local/tcsh Tenex C shell script text executable 120 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) 160 string/b #!\ /usr/local/bin/zsh Paul Falstad's zsh script text executable 170 string/b #!\ /usr/local/bin/ash Neil Brown's ash script text executable 180 string/b #!\ /usr/local/bin/ae Neil Brown's ae script text executable 190 string/b #!\ /bin/nawk new awk script text executable 200 string/b #!\ /usr/bin/nawk new awk script text executable 210 string/b #!\ /usr/local/bin/nawk new awk script text executable 220 string/b #!\ /bin/gawk GNU awk script text executable 230 string/b #!\ /usr/bin/gawk GNU awk script text executable 240 string/b #!\ /usr/local/bin/gawk GNU awk script text executable 25# 260 string/b #!\ /bin/awk awk script text executable 270 string/b #!\ /usr/bin/awk awk script text executable 280 string BEGIN awk script text 29 30# For Larry Wall's perl language. The ``eval'' line recognizes an 31# outrageously clever hack for USG systems. 32# Keith Waclena <keith@cerberus.uchicago.edu> 330 string/b #!\ /bin/perl perl script text executable 340 string eval\ "exec\ /bin/perl perl script text 350 string/b #!\ /usr/bin/perl perl script text executable 360 string eval\ "exec\ /usr/bin/perl perl script text 370 string/b #!\ /usr/local/bin/perl perl script text 380 string eval\ "exec\ /usr/local/bin/perl perl script text executable 39 40# AT&T Bell Labs' Plan 9 shell 410 string/b #!\ /bin/rc Plan 9 rc shell script text executable 42 43# bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de) 440 string/b #!\ /bin/bash Bourne-Again shell script text executable 450 string/b #!\ /usr/local/bin/bash Bourne-Again shell script text executable 46 47# using env 480 string #!/usr/bin/env a 49>15 string >\0 %s script text executable 500 string #!\ /usr/bin/env a 51>16 string >\0 %s script text executable 52 53 54# generic shell magic 550 string #!\ / a 56>3 string >\0 %s script text executable 570 string #!\ / a 58>3 string >\0 %s script text executable 590 string #!/ a 60>2 string >\0 %s script text executable 610 string #!\ script text executable 62>3 string >\0 for %s 63