From cb3db09270b4caaddb0d606ec892841c149698eb Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 22 May 2014 06:11:32 +0300 Subject: Allow any redirected getline inside BEGINFILE/ENDFILE. --- doc/gawk.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index a9c50684..fc12bff0 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -12827,8 +12827,8 @@ statement (@pxref{Nextfile Statement}) is allowed only inside a @cindex @code{getline} statement, @code{BEGINFILE}/@code{ENDFILE} patterns and The @code{getline} statement (@pxref{Getline}) is restricted inside -both @code{BEGINFILE} and @code{ENDFILE}. Only the @samp{getline -@var{variable} < @var{file}} form is allowed. +both @code{BEGINFILE} and @code{ENDFILE}: only redirected +forms of @code{getline} are allowed. @code{BEGINFILE} and @code{ENDFILE} are @command{gawk} extensions. In most other @command{awk} implementations, or if @command{gawk} is in -- cgit v1.2.3