Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!ihnp4!inuxc!pur-ee!uiucdcs!parsec!ctvax!uokvax!jab From: jab@uokvax.UUCP Newsgroups: net.unix Subject: Re: Re: #! in shell scripts - (nf) Message-ID: <6144@uiucdcs.UUCP> Date: Mon, 12-Mar-84 04:18:24 EST Article-I.D.: uiucdcs.6144 Posted: Mon Mar 12 04:18:24 1984 Date-Received: Wed, 14-Mar-84 08:04:34 EST Lines: 20 #R:dual:-32600:uokvax:6100026:000:464 uokvax!jab Mar 9 16:52:00 1984 One can't underestimate the power that the "#!" construct gives you. You don't have to have a SHELL run the blame script. For example, the following "exec-able shell script" tells you how many lines are in the input: #!/bin/awk -f END { print NR } Admittedly this is a simple example, but it hints on the flexibility this gives you. Jeff Bowles Lisle, IL ps. ":" is NOT a comment line -- it doesn't work predictably with the line : This (was) a comment