Subject: PR/29659 CVS commit: src/dist/nawk
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: netbsd-bugs
Date: 03/23/2005 17:25:02
The following reply was made to PR bin/29659; it has been noted by GNATS.

From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/29659 CVS commit: src/dist/nawk
Date: Wed, 23 Mar 2005 17:24:42 +0000 (UTC)

 Module Name:	src
 Committed By:	he
 Date:		Wed Mar 23 17:24:42 UTC 2005
 
 Modified Files:
 	src/dist/nawk: lib.c
 
 Log Message:
 Make nawk retain the text from the last line of the input as well as
 the derived variables (fields & NF) under the END pattern.  This
 implicitly complies with the SUSv2 specification at
   http://www.opengroup.org/onlinepubs/007908799/xcu/awk.html
 which explicitly says that NF and NR must retain their values from
 the last record seen.  Fixes PR#29659.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.5 -r1.6 src/dist/nawk/lib.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.