From: Ian Darwin Date: Fri, 19 Feb 1993 14:30:03 +0000 (+0000) Subject: Command text files. X-Git-Tag: FILE3_27~178 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d11d7bcef2f771c443feb53c6b0713088da997fc;p=file Command text files. --- diff --git a/magic/Magdir/commands b/magic/Magdir/commands index e865face..dc47a49b 100644 --- a/magic/Magdir/commands +++ b/magic/Magdir/commands @@ -1,22 +1,29 @@ +# +# Magic.shell: Shell Scripts # "Commands": stuff for various shells and interpreters. -0 string #!\ /bin/sh commands text -0 string #!/bin/sh commands text -0 string #!\ /bin/csh C shell commands text -0 string #!/bin/csh C shell commands text +# +0 string :\ shell archive or commands for antique kernel text +0 string #!/bin/sh Bourne Shell script +0 string #!\ /bin/sh Bourne Shell script +0 string #!/bin/csh C Shell script +0 string #!\ /bin/csh C Shell script # korn shell magic, sent by George Wu, gwu@clyde.att.com -0 string #!\ /bin/ksh Korn shell text -0 string #!/bin/ksh Korn shell text -0 string #!\ /bin/awk awk commands text -0 string #!/bin/awk awk commands text -0 string #!\ / some kinda commands text -0 string #!/ some kinda commands text -0 string #!\ commands text ->3 string >\0 for %s - -# An "antique" kernel is either unmodified early V7, -# without DMR's 1979 mod for #!, or any kernel -# derived from a pre-v7 kernel (i.e., System V) -0 string :\ shell archive or commands for antique kernel text +0 string #!/bin/ksh Korn Shell script +0 string #!\ /bin/ksh Korn Shell script +0 string #!/bin/tcsh Tenex C Shell script +0 string #!\ /bin/tcsh Tenex C Shell script +0 string #!/usr/local/tcsh Tenex C Shell script +0 string #!\ /usr/local/tcsh Tenex C Shell script +0 string #!/usr/local/bin/tcsh Tenex C Shell script +0 string #!\ /usr/local/bin/tcsh Tenex C Shell script +0 string #!/bin/awk Awk Commands text +0 string #!\ /bin/awk Awk Commands text +0 string #!\ / a +>3 string >\0 %s script +0 string #!/ a +>2 string >\0 %s script +0 string #!\ commands text +>3 string >\0 for %s # For Larry Wall's perl language. The ``eval'' line recognizes an # outrageously clever hack for USG systems. @@ -24,3 +31,8 @@ 0 string #!/bin/perl perl commands text 0 string #!\ /bin/perl perl commands text 0 string eval\ "exec\ /bin/perl perl commands text + +# An "antique" kernel is either unmodified early V7, +# without DMR's 1979 mod for #!, or any kernel +# derived from a pre-v7 kernel (i.e., System V) +0 string :\ shell archive or commands for antique kernel text