aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-12-07 14:30:47 +0200
committerArnold D. Robbins <arnold@skeeve.com>2020-12-07 14:30:47 +0200
commit86df8fd1c504793b43404ce9467cff7b1d1fe2a1 (patch)
tree94e983746e05228e9d87024c9a61a4fb80432ec0 /doc/gawk.texi
parent2d10a67c0edc9170ce20d4cefe6806ef01d8a45f (diff)
parent8224cc546f7cfb0922fb69f3ad3f91313cf80e37 (diff)
downloadegawk-86df8fd1c504793b43404ce9467cff7b1d1fe2a1.tar.gz
egawk-86df8fd1c504793b43404ce9467cff7b1d1fe2a1.tar.bz2
egawk-86df8fd1c504793b43404ce9467cff7b1d1fe2a1.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi16
1 files changed, 0 insertions, 16 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 40c85a81..b8fcff00 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -6905,22 +6905,6 @@ character in the value of @code{RS} has no special effect: it is
treated literally. This is required for backwards compatibility with
both Unix @command{awk} and with POSIX.
-When using regular characters as the record separator,
-there is one unusual case that occurs when @command{gawk} is
-being fully POSIX-compliant (@pxref{Options}).
-Then, the following (extreme) pipeline prints a surprising @samp{1}:
-
-@example
-$ @kbd{echo | gawk --posix 'BEGIN @{ RS = "a" @} ; @{ print NF @}'}
-@print{} 1
-@end example
-
-There is one field, consisting of a newline. The value of the built-in
-variable @code{NF} is the number of fields in the current record.
-(In the normal case, @command{gawk} treats the newline as whitespace,
-printing @samp{0} as the result. Most other versions of @command{awk}
-also act this way.)
-
@cindex dark corner @subentry input files
Reaching the end of an input file terminates the current input record,
even if the last character in the file is not the character in @code{RS}.