Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail Newsgroups: comp.lang.awk,comp.os.linux.misc From: Geoff Clare Subject: Re: Re (2): Can awk use `grep`? References: User-Agent: XPN/1.2.6 (Street Spirit ; Linux) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Mon, 27 Jun 2011 12:51:53 +0100 Message-ID: Lines: 9 Organization: Zen Internet NNTP-Posting-Host: 15b59cc0.news.zen.co.uk X-Trace: DXC=A0AZXfDeE9QoS>6CUf2S_]YjZGX^207P[`aFoT>P83MgUBGaZFgW<`B1IDZS X-Complaints-To: abuse@zen.co.uk Xref: x330-a1.tempe.blueboxinc.net comp.lang.awk:440 comp.os.linux.misc:1481 Bill Marcum wrote: > By the way, NR==FNR is true while reading the first file in a list. Nit-pick: NR==FNR is true while reading the first *non-empty* file. -- Geoff Clare