Subject: re: Changing exec's #! behavior
To: Andrew Brown <atatat@atatdot.net>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 06/16/2000 14:06:27
> #!/usr/bin/awk NR > 1 {print $1}
^^^^^^^^^^^^^^^^^
that is one argument
>which (as a one line file) works just fine as a "print column 1" program,
>which is perhaps pretty silly (col works better usually), but {print $1 + $2}
>is something that is harder other ways.
that's a neat use of this "function" but imho, it's not that much of a
feature and looks more like a bug. what do the standards say? perl
standards? heh.
obviously expects the interpreter to *only* pass one arg, as do many
[ ... ]