aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawktexi.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-08-26 10:15:33 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-08-26 10:15:33 +0300
commit16f6f902300a60ea9cbb6bf0b328033d11cabf8b (patch)
tree26902e2aa12ded9fb6ed6fb5448a332c6dd731b9 /doc/gawktexi.in
parenta4de41af663b4c7ca1b3bf5de38f4fd3e468727d (diff)
downloadegawk-16f6f902300a60ea9cbb6bf0b328033d11cabf8b.tar.gz
egawk-16f6f902300a60ea9cbb6bf0b328033d11cabf8b.tar.bz2
egawk-16f6f902300a60ea9cbb6bf0b328033d11cabf8b.zip
Fix more typos.
Diffstat (limited to 'doc/gawktexi.in')
-rw-r--r--doc/gawktexi.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index dad6283d..2d13f518 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -13871,9 +13871,9 @@ As with the @code{BEGIN} and @code{END} rules
@ifdocbook
(see the previous @value{SECTION}),
@end ifdocbook
-@code{BEGINFILE} rules in a program are exectured in the order they are
-read by @command{gawk}, and all @code{ENDFILE} rules are also executed in
-the order they are read, as well.
+@code{BEGINFILE} rules in a program execute in the order they are
+read by @command{gawk}. Similarly, all @code{ENDFILE} rules also execute in
+the order they are read.
The bodies of the @code{BEGINFILE} rules execute just before
@command{gawk} reads the first record from a file. @code{FILENAME}
@@ -13919,7 +13919,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{BEGINFILE}
+input-processing loop, the error is fatal. However, if a @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.