aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-10-13 11:25:20 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-10-13 11:25:20 +0300
commit2a8c128ca91b42261720368e5d25431ee4362c70 (patch)
tree1c0ff9838299b655f38ec0b866e35b5fb89a7502 /doc/gawk.texi
parent5e73f350819b4cd9efb0d50b8a57e50ab271dcda (diff)
parent8529cd991d329ca9f17da5d75320248a86400f3d (diff)
downloadegawk-2a8c128ca91b42261720368e5d25431ee4362c70.tar.gz
egawk-2a8c128ca91b42261720368e5d25431ee4362c70.tar.bz2
egawk-2a8c128ca91b42261720368e5d25431ee4362c70.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi20
1 files changed, 12 insertions, 8 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index be14ec3d..20087fa7 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -4521,8 +4521,8 @@ produces the following result:
@example
$ @kbd{gawk -f test2}
-@print{} This is file test1.
-@print{} This is file test2.
+@print{} This is script test1.
+@print{} This is script test2.
@end example
@code{gawk} runs the @file{test2} script which includes @file{test1}
@@ -4552,9 +4552,9 @@ following results:
@example
$ @kbd{gawk -f test3}
-@print{} This is file test1.
-@print{} This is file test2.
-@print{} This is file test3.
+@print{} This is script test1.
+@print{} This is script test2.
+@print{} This is script test3.
@end example
The @value{FN} can, of course, be a pathname. For example:
@@ -15000,9 +15000,13 @@ the record separator. It is set every time a record is read.
@cindex @code{SYMTAB} array
@cindex differences in @command{awk} and @command{gawk}, @code{SYMTAB} variable
@item @code{SYMTAB #}
-An array whose indices are the names of all currently defined
-global variables and arrays in the program. The array may be used
-for indirect access to read or write the value of a variable:
+An array whose indices are the names of all defined global variables and
+arrays in the program. @code{SYMTAB} makes @command{gawk}'s symbol table
+visible to the @command{awk} programmer. It is built as @command{gawk}
+parses the program and is complete before the program starts to run.
+
+The array may be used for indirect access to read or write the value of
+a variable:
@example
foo = 5