From owner-freebsd-current Mon Jul 15 9: 6:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A8AA37B400 for ; Mon, 15 Jul 2002 09:06:41 -0700 (PDT) Received: from ns1.gnf.org (ns1.gnf.org [63.196.132.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC5943E31 for ; Mon, 15 Jul 2002 09:06:40 -0700 (PDT) (envelope-from gordont@gnf.org) Received: from mail.gnf.org (smtp.gnf.org [172.25.11.11]) by ns1.gnf.org (8.11.6/8.11.6) with ESMTP id g6FG6YX87682; Mon, 15 Jul 2002 09:06:34 -0700 (PDT) (envelope-from gordont@gnf.org) Received: by mail.gnf.org (Postfix, from userid 888) id 0CC3A11E517; Mon, 15 Jul 2002 09:06:36 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.gnf.org (Postfix) with ESMTP id 0BB7111A572; Mon, 15 Jul 2002 09:06:36 -0700 (PDT) Date: Mon, 15 Jul 2002 09:06:36 -0700 (PDT) From: Gordon Tetlow To: Robert Drehmel Cc: current@FreeBSD.org Subject: Re: bug in awk implementation? In-Reply-To: <20020715173747.A11802@alpha.develop.ferrari.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Mon, 15 Jul 2002, Robert Drehmel wrote: > > So, this seems to be a bug in the one-true-awk implementation. Any ideas > > on how to fix this? > > To me, this seems like a bug in 'gawk'. The AWK language uses > only the first character in RS as the record separator, to my > knowledge. Ah, okay, there is a distinct lack of documentation to that fact. I have figured out that I can just set RS="" and that does the same thing. I suppose it would be helpful to have an awk book around. =) -gordon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message