Command text files.
authorIan Darwin <ian@darwinsys.com>
Fri, 19 Feb 1993 14:30:03 +0000 (14:30 +0000)
committerIan Darwin <ian@darwinsys.com>
Fri, 19 Feb 1993 14:30:03 +0000 (14:30 +0000)
magic/Magdir/commands

index e865face6772c8e619b8c63feb9944d50c0ff3c2..dc47a49b48b56b3a2b430c42b95a1ee87d546091 100644 (file)
@@ -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