2 #------------------------------------------------------------------------------
3 # $File: commands,v 1.56 2016/07/14 19:01:12 christos Exp $
4 # commands: file(1) magic for various shells and interpreters
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/wb #!\ /bin/sh POSIX shell script executable (binary data)
10 !:mime text/x-shellscript
12 0 string/wt #!\ /bin/csh C shell script text executable
13 !:mime text/x-shellscript
15 # korn shell magic, sent by George Wu, gwu@clyde.att.com
16 0 string/wt #!\ /bin/ksh Korn shell script text executable
17 !:mime text/x-shellscript
18 0 string/wb #!\ /bin/ksh Korn shell script executable (binary data)
19 !:mime text/x-shellscript
21 0 string/wt #!\ /bin/tcsh Tenex C shell script text executable
22 !:mime text/x-shellscript
23 0 string/wt #!\ /usr/bin/tcsh Tenex C shell script text executable
24 !:mime text/x-shellscript
25 0 string/wt #!\ /usr/local/tcsh Tenex C shell script text executable
26 !:mime text/x-shellscript
27 0 string/wt #!\ /usr/local/bin/tcsh Tenex C shell script text executable
28 !:mime text/x-shellscript
31 # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
32 0 string/wt #!\ /bin/zsh Paul Falstad's zsh script text executable
33 !:mime text/x-shellscript
34 0 string/wt #!\ /usr/bin/zsh Paul Falstad's zsh script text executable
35 !:mime text/x-shellscript
36 0 string/wt #!\ /usr/local/bin/zsh Paul Falstad's zsh script text executable
37 !:mime text/x-shellscript
38 0 string/wt #!\ /usr/local/bin/ash Neil Brown's ash script text executable
39 !:mime text/x-shellscript
40 0 string/wt #!\ /usr/local/bin/ae Neil Brown's ae script text executable
41 !:mime text/x-shellscript
42 0 string/wt #!\ /bin/nawk new awk script text executable
44 0 string/wt #!\ /usr/bin/nawk new awk script text executable
46 0 string/wt #!\ /usr/local/bin/nawk new awk script text executable
48 0 string/wt #!\ /bin/gawk GNU awk script text executable
50 0 string/wt #!\ /usr/bin/gawk GNU awk script text executable
52 0 string/wt #!\ /usr/local/bin/gawk GNU awk script text executable
55 0 string/wt #!\ /bin/awk awk script text executable
57 0 string/wt #!\ /usr/bin/awk awk script text executable
59 0 regex/4096 =^\\s{0,100}BEGIN\\s{0,100}[{] awk or perl script text
61 # AT&T Bell Labs' Plan 9 shell
62 0 string/wt #!\ /bin/rc Plan 9 rc shell script text executable
64 # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
65 0 string/wt #!\ /bin/bash Bourne-Again shell script text executable
66 !:mime text/x-shellscript
67 0 string/wb #!\ /bin/bash Bourne-Again shell script executable (binary data)
68 !:mime text/x-shellscript
69 0 string/wt #!\ /usr/bin/bash Bourne-Again shell script text executable
70 !:mime text/x-shellscript
71 0 string/wb #!\ /usr/bin/bash Bourne-Again shell script executable (binary data)
72 !:mime text/x-shellscript
73 0 string/wt #!\ /usr/local/bash Bourne-Again shell script text executable
74 !:mime text/x-shellscript
75 0 string/wb #!\ /usr/local/bash Bourne-Again shell script executable (binary data)
76 !:mime text/x-shellscript
77 0 string/wt #!\ /usr/local/bin/bash Bourne-Again shell script text executable
78 !:mime text/x-shellscript
79 0 string/wb #!\ /usr/local/bin/bash Bourne-Again shell script executable (binary data)
80 !:mime text/x-shellscript
81 0 string/wt #!\ /usr/bin/env\ bash Bourne-Again shell script text executable
82 !:mime text/x-shellscript
85 # Ulf Harnhammar <ulfh@update.uu.se>
86 0 search/1/c =<?php PHP script text
89 0 search/1 =<?\n PHP script text
91 0 search/1 =<?\r PHP script text
93 0 search/1/w #!\ /usr/local/bin/php PHP script text executable
96 0 search/1/w #!\ /usr/bin/php PHP script text executable
99 # Smarty compiled template, http://www.smarty.net/
100 # Elan Ruusamae <glen@delfi.ee>
103 >>6 string /*\ Smarty\ version Smarty compiled template
104 >>>24 regex [0-9.]+ \b, version %s
107 0 string Zend\x00 PHP script Zend Optimizer data
109 0 string/t $! DCL command file
112 # URL: http://packages.debian.org/pdmenu
113 # From: Edward Betts <edward@debian.org>
114 0 string #!/usr/bin/pdmenu Pdmenu configuration file text
117 0 string \x0b\x13\x08\x00
118 >0x04 uleshort <4 ksh byte-code version %d