Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!husc6!mit-eddie!genrad!panda!teddy!jpn From: jpn@teddy.UUCP (John P. Nelson) Newsgroups: comp.unix.wizards Subject: Re: #! magic number Message-ID: <4145@teddy.UUCP> Date: Mon, 29-Jun-87 10:29:59 EDT Article-I.D.: teddy.4145 Posted: Mon Jun 29 10:29:59 1987 Date-Received: Sat, 4-Jul-87 22:43:46 EDT References: > <2211@bunker.UUCP> Reply-To: jpn@teddy.UUCP (John P. Nelson) Organization: GenRad, Inc., Concord, Mass. Lines: 11 >>No matter what I try, I get the "bailing out near line 1" error. > ^^^^^^^^^^^^^^^^^^^^ >csh >cat t.awk >#!/bin/awk -f I think the problem is relatively simple. I used "SUN" cut+paste to grab the script in question, and I had the same problem. I then noted that the #!/bin/awk line had a BLANK at the end of the line. I have to assume that when the kernel sees the blank, it inserts a "null" argument. Anyway, after deleting the extraneous blank, the script worked fine!