From owner-freebsd-current Sun Nov 4 13:30:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail-green.research.att.com (H-135-207-30-103.research.att.com [135.207.30.103]) by hub.freebsd.org (Postfix) with ESMTP id 78B5937B405 for ; Sun, 4 Nov 2001 13:30:11 -0800 (PST) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-green.research.att.com (Postfix) with ESMTP id F0C461E0A3; Sun, 4 Nov 2001 16:30:10 -0500 (EST) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id QAA09667; Sun, 4 Nov 2001 16:30:09 -0500 (EST) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id NAA06253; Sun, 4 Nov 2001 13:30:09 -0800 (PST) Message-Id: <200111042130.NAA06253@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: des@ofug.org Subject: Re: latest -current broke netscape's name lookup? Cc: david@catwhisker.org, current@freebsd.org References: <200111030248.fA32mCs53722@bunrab.catwhisker.org> Date: Sun, 4 Nov 2001 13:30:08 -0800 Versions: dmail (solaris) 2.2j/makemail 2.9b Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG awk does not copy input lines to its output unless asked; you can ask with either an explicit "print" or an empty action. Using an input file like: gibberish stuff this doesn't match here is some garbola I don't want this file in the ouptut here's some more stuff and another line and another and another ooh baby hosts: files dns don't print this either the awk program in /etc/rc.network, without the //{next}, and changing "quit" to "exit", prints: # Auto-generated, do not edit hosts bind using either the old gawk or the new awk. That //{next} may have been necessary during some phase of script development, but is not necessary now. Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message