Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/dist/nawk



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.




Home | Main Index | Thread Index | Old Index