1ef01931fSBen Gras 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*0a6a1f1dSLionel Sambuc# $File: commands,v 1.51 2014/09/27 00:12:55 christos Exp $ 4ef01931fSBen Gras# commands: file(1) magic for various shells and interpreters 5ef01931fSBen Gras# 6835f6802SDirk Vogt#0 string/w : shell archive or script for antique kernel text 7835f6802SDirk Vogt0 string/wt #!\ /bin/sh POSIX shell script text executable 8ef01931fSBen Gras!:mime text/x-shellscript 9*0a6a1f1dSLionel Sambuc0 string/wb #!\ /bin/sh POSIX shell script executable (binary data) 10*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 11*0a6a1f1dSLionel Sambuc 12835f6802SDirk Vogt0 string/wt #!\ /bin/csh C shell script text executable 13ef01931fSBen Gras!:mime text/x-shellscript 14*0a6a1f1dSLionel Sambuc 15ef01931fSBen Gras# korn shell magic, sent by George Wu, gwu@clyde.att.com 16835f6802SDirk Vogt0 string/wt #!\ /bin/ksh Korn shell script text executable 17ef01931fSBen Gras!:mime text/x-shellscript 18*0a6a1f1dSLionel Sambuc0 string/wb #!\ /bin/ksh Korn shell script executable (binary data) 19*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 20*0a6a1f1dSLionel Sambuc 21835f6802SDirk Vogt0 string/wt #!\ /bin/tcsh Tenex C shell script text executable 22ef01931fSBen Gras!:mime text/x-shellscript 23835f6802SDirk Vogt0 string/wt #!\ /usr/bin/tcsh Tenex C shell script text executable 24ef01931fSBen Gras!:mime text/x-shellscript 25835f6802SDirk Vogt0 string/wt #!\ /usr/local/tcsh Tenex C shell script text executable 26835f6802SDirk Vogt!:mime text/x-shellscript 27835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/tcsh Tenex C shell script text executable 28ef01931fSBen Gras!:mime text/x-shellscript 29ef01931fSBen Gras 30ef01931fSBen Gras# 31ef01931fSBen Gras# zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson) 32835f6802SDirk Vogt0 string/wt #!\ /bin/zsh Paul Falstad's zsh script text executable 33ef01931fSBen Gras!:mime text/x-shellscript 34835f6802SDirk Vogt0 string/wt #!\ /usr/bin/zsh Paul Falstad's zsh script text executable 35ef01931fSBen Gras!:mime text/x-shellscript 36835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/zsh Paul Falstad's zsh script text executable 37ef01931fSBen Gras!:mime text/x-shellscript 38835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/ash Neil Brown's ash script text executable 39ef01931fSBen Gras!:mime text/x-shellscript 40835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/ae Neil Brown's ae script text executable 41ef01931fSBen Gras!:mime text/x-shellscript 42835f6802SDirk Vogt0 string/wt #!\ /bin/nawk new awk script text executable 43ef01931fSBen Gras!:mime text/x-nawk 44835f6802SDirk Vogt0 string/wt #!\ /usr/bin/nawk new awk script text executable 45ef01931fSBen Gras!:mime text/x-nawk 46835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/nawk new awk script text executable 47ef01931fSBen Gras!:mime text/x-nawk 48835f6802SDirk Vogt0 string/wt #!\ /bin/gawk GNU awk script text executable 49ef01931fSBen Gras!:mime text/x-gawk 50835f6802SDirk Vogt0 string/wt #!\ /usr/bin/gawk GNU awk script text executable 51ef01931fSBen Gras!:mime text/x-gawk 52835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/gawk GNU awk script text executable 53ef01931fSBen Gras!:mime text/x-gawk 54ef01931fSBen Gras# 55835f6802SDirk Vogt0 string/wt #!\ /bin/awk awk script text executable 56ef01931fSBen Gras!:mime text/x-awk 57835f6802SDirk Vogt0 string/wt #!\ /usr/bin/awk awk script text executable 58ef01931fSBen Gras!:mime text/x-awk 59*0a6a1f1dSLionel Sambuc0 regex/4096 =^\\s{0,100}BEGIN\\s{0,100}[{] awk or perl script text 60ef01931fSBen Gras 61ef01931fSBen Gras# AT&T Bell Labs' Plan 9 shell 62835f6802SDirk Vogt0 string/wt #!\ /bin/rc Plan 9 rc shell script text executable 63ef01931fSBen Gras 64ef01931fSBen Gras# bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de) 65835f6802SDirk Vogt0 string/wt #!\ /bin/bash Bourne-Again shell script text executable 66ef01931fSBen Gras!:mime text/x-shellscript 67*0a6a1f1dSLionel Sambuc0 string/wb #!\ /bin/bash Bourne-Again shell script executable (binary data) 68*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 69835f6802SDirk Vogt0 string/wt #!\ /usr/bin/bash Bourne-Again shell script text executable 70835f6802SDirk Vogt!:mime text/x-shellscript 71*0a6a1f1dSLionel Sambuc0 string/wb #!\ /usr/bin/bash Bourne-Again shell script executable (binary data) 72*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 73835f6802SDirk Vogt0 string/wt #!\ /usr/local/bash Bourne-Again shell script text executable 74835f6802SDirk Vogt!:mime text/x-shellscript 75*0a6a1f1dSLionel Sambuc0 string/wb #!\ /usr/local/bash Bourne-Again shell script executable (binary data) 76*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 77835f6802SDirk Vogt0 string/wt #!\ /usr/local/bin/bash Bourne-Again shell script text executable 78ef01931fSBen Gras!:mime text/x-shellscript 79*0a6a1f1dSLionel Sambuc0 string/wb #!\ /usr/local/bin/bash Bourne-Again shell script executable (binary data) 80*0a6a1f1dSLionel Sambuc!:mime text/x-shellscript 81ef01931fSBen Gras 82ef01931fSBen Gras# PHP scripts 83ef01931fSBen Gras# Ulf Harnhammar <ulfh@update.uu.se> 84ef01931fSBen Gras0 search/1/c =<?php PHP script text 8584d9c625SLionel Sambuc!:strength + 10 86ef01931fSBen Gras!:mime text/x-php 87ef01931fSBen Gras0 search/1 =<?\n PHP script text 88ef01931fSBen Gras!:mime text/x-php 89ef01931fSBen Gras0 search/1 =<?\r PHP script text 90ef01931fSBen Gras!:mime text/x-php 91835f6802SDirk Vogt0 search/1/w #!\ /usr/local/bin/php PHP script text executable 9284d9c625SLionel Sambuc!:strength + 10 93ef01931fSBen Gras!:mime text/x-php 94835f6802SDirk Vogt0 search/1/w #!\ /usr/bin/php PHP script text executable 9584d9c625SLionel Sambuc!:strength + 10 96835f6802SDirk Vogt!:mime text/x-php 97835f6802SDirk Vogt# Smarty compiled template, http://www.smarty.net/ 9884d9c625SLionel Sambuc# Elan Ruusamae <glen@delfi.ee> 99835f6802SDirk Vogt0 string =<?php\ /*\ Smarty\ version Smarty compiled template 100835f6802SDirk Vogt>24 regex [0-9.]+ \b, version %s 101ef01931fSBen Gras!:mime text/x-php 102ef01931fSBen Gras 103ef01931fSBen Gras0 string Zend\x00 PHP script Zend Optimizer data 104ef01931fSBen Gras 105835f6802SDirk Vogt0 string/t $! DCL command file 106835f6802SDirk Vogt 107835f6802SDirk Vogt# Type: Pdmenu 108835f6802SDirk Vogt# URL: http://packages.debian.org/pdmenu 109835f6802SDirk Vogt# From: Edward Betts <edward@debian.org> 110835f6802SDirk Vogt0 string #!/usr/bin/pdmenu Pdmenu configuration file text 111