#! in shell scripts - (nf)
jab at uokvax.UUCP
jab at uokvax.UUCP
Mon Mar 12 19:18:24 AEST 1984
#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
More information about the Comp.unix
mailing list