aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 21670d57..0e20dc80 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -4340,9 +4340,12 @@ As with @option{-f}, the @option{-e} and @option{-i}
options may also be used multiple times on the command line.
@cindex @option{-e} option
-If no @option{-f} or @option{-e} option is specified, then @command{gawk}
-uses the first nonoption command-line argument as the text of the
-program source code.
+If no @option{-f} option (or @option{-e} option for @command{gawk})
+is specified, then @command{awk} uses the first nonoption command-line
+argument as the text of the program source code. Arguments on
+the command line that follow the program text are entered into the
+@code{ARGV} array; @command{awk} does @emph{not} continue to parse the
+command line looking for options.
@cindex @env{POSIXLY_CORRECT} environment variable
@cindex lint checking, @env{POSIXLY_CORRECT} environment variable
@@ -8315,7 +8318,7 @@ this special feature should apply when @code{FS} is a regexp.
However, Unix @command{awk} has never behaved that way, nor has
@command{gawk}. This is essentially a bug in POSIX.
@c Noted as of 4/2019; working to get the standard fixed.
-@end NOTE
+@end quotation
The original motivation for this special exception was probably to provide
useful behavior in the default case (i.e., @code{FS} is equal