| Jeff Abrahamson on Sun, 26 Jan 2003 23:01:09 -0500 |
|
I have a canned awk script that I want to put in a file rather than a
shell function. Should work, start the file
#!/usr/bin/awk
(I've verified that that's awk.)
I get the error
jeff@asterix:Research $ ./left-column
awk: 1: unexpected character '.'
jeff@asterix:Research $ cat left-column
#!/usr/bin/awk
jeff@asterix:Research $
Even if the "#!..." is the only line in the file.
Any ideas what I'm doing wrong?
I know, I should just use perl for this, but awk would have worked...
Thanks in advance for any clues.
--
Jeff
Jeff Abrahamson <http://www.purple.com/jeff/>
GPG fingerprint: 1A1A BA95 D082 A558 A276 63C6 16BF 8C4C 0D1D AE4B
Attachment:
pgpJbOWKlRiLO.pgp
|
|