aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-08-26 08:30:06 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-08-26 08:30:06 +0300
commitdd2b1a82e596f4d9c62b108ebca2694f13874d3c (patch)
tree0250c764c1d6120f7921c919c1977a89aadf248f /doc/gawk.texi
parent18b983a2603e1683c6d344d535605b5568a2f957 (diff)
downloadegawk-dd2b1a82e596f4d9c62b108ebca2694f13874d3c.tar.gz
egawk-dd2b1a82e596f4d9c62b108ebca2694f13874d3c.tar.bz2
egawk-dd2b1a82e596f4d9c62b108ebca2694f13874d3c.zip
Fix small doc errors.
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index b2a083d9..4fd974a1 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -14604,7 +14604,7 @@ it will be called before any @code{END} rules.
The @code{ENDFILE} rule is executed even for empty input files.
Normally, when an error occurs when reading input in the normal
-input-processing loop, the error is fatal. However, if an @code{ENDFILE}
+input-processing loop, the error is fatal. However, if an @code{BEGINFILE}
rule is present, the error becomes non-fatal, and instead @code{ERRNO}
is set. This makes it possible to catch and process I/O errors at the
level of the @command{awk} program.
@@ -23777,7 +23777,7 @@ option, we take a different branch:
First, we search this option for a possible embedded equal sign, as the
specification of long options allows an argument to an option
-@samp{--someopt:} to be specified as @samp{--someopt=answer} as well as
+@samp{--someopt} to be specified as @samp{--someopt=answer} as well as
@samp{@w{--someopt answer}}.
@example