From owner-freebsd-current Sat Mar 24 20:22:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 211B137B718 for ; Sat, 24 Mar 2001 20:22:38 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.3/8.11.3) id f2P4MX213341; Sat, 24 Mar 2001 22:22:33 -0600 (CST) (envelope-from dan) Date: Sat, 24 Mar 2001 22:22:33 -0600 From: Dan Nelson To: Leif Neland Cc: freebsd-current@FreeBSD.ORG Subject: Re: rc.conf duplicating defaults/rc.conf Message-ID: <20010324222233.A7085@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i In-Reply-To: ; from "Leif Neland" on Sun Mar 25 03:48:59 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 25), Leif Neland said: > Btw, why can't I run this as a bang-script? > > Typing ./defcheck just produces: > awk: cmd. line 1: ./defcheck > awk: cmd. line 1: ^ syntax error > > - - - - filename: defcheck > #!/usr/bin/awk Try #! /usr/bin/awk -f -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message