aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt95
-rw-r--r--doc/ChangeLog32
-rw-r--r--doc/Makefile.am14
-rw-r--r--doc/Makefile.in14
-rw-r--r--doc/awkcard.in3
-rw-r--r--doc/gawk.125
-rw-r--r--doc/gawk.info1347
-rw-r--r--doc/gawk.texi127
-rw-r--r--doc/gawktexi.in127
9 files changed, 1044 insertions, 740 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 00000000..e12f5de0
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,95 @@
+#
+# doc/CMakeLists.txt --- CMake input file for gawk
+#
+# Copyright (C) 2013
+# the Free Software Foundation, Inc.
+#
+# This file is part of GAWK, the GNU implementation of the
+# AWK Programming Language.
+#
+# GAWK is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# GAWK is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+#
+
+## process this file with CMake to produce Makefile
+
+MACRO(DocDependency outfile)
+ add_dependencies(doc ${outfile})
+ add_custom_target(
+ ${outfile}
+ DEPENDS ${ARGN}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND ${CMAKE_SOURCE_DIR}/cmake/docmaker ${outfile} ${ARGN}
+ )
+ENDMACRO(DocDependency)
+
+find_program(TEXI2DVI_CONVERTER texi2dvi)
+if (TEXI2DVI_CONVERTER)
+ add_custom_target(doc)
+ DocDependency(gawk.texi gawktexi.in rflashlight.eps api-figure1.fig api-figure2.fig api-figure3.fig general-program.fig process-flow.fig)
+ DocDependency(rflashlight.eps)
+ DocDependency(api-figure1.fig)
+ DocDependency(api-figure2.fig)
+ DocDependency(api-figure3.fig)
+ DocDependency(general-program.fig)
+ DocDependency(process-flow.fig)
+ DocDependency(gawk.dvi gawk.texi)
+ DocDependency(gawk.info gawk.texi)
+ DocDependency(gawkinet.dvi gawkinet.texi)
+ DocDependency(gawkinet.info gawkinet.texi)
+ DocDependency(gawkinet.texi statist.eps)
+ DocDependency(gawk.1.ps gawk.1)
+ DocDependency(igawk.1.ps igawk.1)
+ find_program(DVIPS_CONVERTER dvips)
+ if (DVIPS_CONVERTER)
+ DocDependency(gawk.ps gawk.dvi)
+ DocDependency(gawkinet.ps gawkinet.dvi)
+ find_program(PS2PDF_CONVERTER ps2pdf)
+ if (PS2PDF_CONVERTER)
+ DocDependency(gawk.1.pdf gawk.1.ps)
+ DocDependency(igawk.1.pdf igawk.1.ps)
+ DocDependency(gawk.pdf gawk.ps)
+ DocDependency(gawkinet.pdf gawkinet.ps)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gawk.1.pdf DESTINATION doc)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/igawk.1.pdf DESTINATION doc)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gawk.info DESTINATION doc)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gawk.pdf DESTINATION doc)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gawkinet.info DESTINATION doc)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/gawkinet.pdf DESTINATION doc)
+
+ set(CARDSRC macros cardfonts colors awkcard.tr)
+ set(CARDSRC_N macros cardfonts no.colors awkcard.tr)
+ set(CARDFILES ${CARDSRC} ad.block awkcard.in setter.outline)
+ DocDependency(awkcard.tr awkcard.in)
+ DocDependency(awkcard.nc ${CARDFILES})
+ DocDependency(awkcard.ps ${CARDFILES})
+ DocDependency(awkcard.pdf awkcard.ps)
+ install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/awkcard.pdf DESTINATION doc)
+
+ else()
+ message(WARNING "Found no ps2pdf tool; no doc will be generated")
+ install(CODE "MESSAGE(\"doc generated only in .ps files\")")
+ endif()
+ else()
+ message(WARNING "Found no dvips tool; no doc will be generated")
+ install(CODE "MESSAGE(\"doc generated only in .dvi files and man pages in .ps files\")")
+ endif()
+else()
+ message(WARNING "Found no texi2dvi tool; no doc will be generated")
+ add_custom_command(
+ TARGET doc
+ COMMAND echo no doc generated because of missing texi2dvi
+ )
+endif()
+
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 01f9b3ed..67462523 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -66,6 +66,10 @@
exercises. Remove use of LC_ALL in an example; doesn't seem
to be needed anymore.
+ Unrelated:
+
+ * gawktexi.in: Document that MirBSD is no longer supported.
+
2014-08-25 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Exercises are excluded from print edition.
@@ -99,6 +103,10 @@
* gawktexi.in: Starting on reviewer comments.
Update acknowledgements.
+2014-08-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Cause div.awk to get into the example files.
+
2014-08-06 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Misc minor additions.
@@ -113,6 +121,18 @@
* gawktexi.in: Fix doc for API get_record - errcode needs to
be greater than zero.
+2014-07-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in (Numeric Functions): For `div()', clarify
+ truncation is towards zero. Thanks to Michal Jaegermann
+ for pointing out the need to clarify this.
+
+2014-07-10 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in (Numeric Functions): Document new `div()' function.
+ (Arbitrary Precision Integers): Document raison d'etre for div().
+ * gawk.1, awkcard.in: Document `div()'.
+
2014-07-04 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in (Bracket Expressions): Add a note about how to
@@ -123,6 +143,11 @@
* gawktexi.in: Update permissions on copyright page per
latest maintain.texi. Add GPL to print version of book.
+2014-06-24 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Document that --pretty-print no longer runs the
+ program. Remove mention of GAWK_NO_PP_RUN env var.
+
2014-06-22 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Typo fixes and minor corrections.
@@ -419,7 +444,7 @@
2013-12-26 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: More minor additions / fixes.
- (Bugs): Add John Malmberg for VMS.
+ (Bugs): Add John Malmberg for VMS. Other minor edits.
2013-12-25 Arnold D. Robbins <arnold@skeeve.com>
@@ -493,6 +518,11 @@
* gawktexi.in (FN, FFN, DF,DDF, PVERSION, CTL): Remove macros.
They have no alternate versions and are just in the way.
+2013-08-15 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawk.1: Document that ENVIRON updates affect the environment.
+ * gawktexi.in: Ditto.
+
2013-06-27 Arnold D. Robbins <arnold@skeeve.com>
* texinfo.tex: Update from Karl, fixes a formating problem.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 86321bbc..8a0442a7 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -26,7 +26,7 @@
info_TEXINFOS = gawk.texi gawkinet.texi
-man_MANS = gawk.1 igawk.1
+man_MANS = gawk.1
EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
awkcard.in awkforai.txt texinfo.tex cardfonts \
@@ -50,7 +50,7 @@ EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
bc_notes
# Get rid of generated files when cleaning
-CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf igawk.1.pdf
+CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf
MAKEINFO = @MAKEINFO@ --no-split --force
@@ -75,9 +75,9 @@ AWKCARD = awkcard.ps
gawk.texi: $(srcdir)/gawktexi.in $(srcdir)/sidebar.awk
awk -f $(srcdir)/sidebar.awk < $(srcdir)/gawktexi.in > gawk.texi
-postscript: gawk.ps gawkinet.ps gawk.1.ps igawk.1.ps $(AWKCARD)
+postscript: gawk.ps gawkinet.ps gawk.1.ps $(AWKCARD)
-pdf: postscript gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf igawk.1.pdf
+pdf: postscript gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf
gawk.ps: gawk.dvi
TEXINPUTS=$(srcdir): dvips -o gawk.ps gawk.dvi
@@ -91,12 +91,6 @@ gawk.1.ps: gawk.1
gawk.1.pdf: gawk.1.ps
ps2pdf gawk.1.ps gawk.1.pdf
-igawk.1.ps: igawk.1
- -groff -man $(srcdir)/igawk.1 > igawk.1.ps
-
-igawk.1.pdf: igawk.1.ps
- ps2pdf igawk.1.ps igawk.1.pdf
-
awkcard.tr: awkcard.in
sed 's:SRCDIR:$(srcdir):' < $(srcdir)/awkcard.in > awkcard.tr
diff --git a/doc/Makefile.in b/doc/Makefile.in
index abaf5601..d89beffd 100644
--- a/doc/Makefile.in
+++ b/doc/Makefile.in
@@ -341,7 +341,7 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
info_TEXINFOS = gawk.texi gawkinet.texi
-man_MANS = gawk.1 igawk.1
+man_MANS = gawk.1
EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
awkcard.in awkforai.txt texinfo.tex cardfonts \
api-figure1.eps api-figure1.fig api-figure1.pdf \
@@ -365,7 +365,7 @@ EXTRA_DIST = ChangeLog ChangeLog.0 README.card ad.block setter.outline \
# Get rid of generated files when cleaning
-CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf igawk.1.pdf
+CLEANFILES = *.ps *.html *.dvi *~ awkcard.nc awkcard.tr gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf
TROFF = groff -t -Tps -U
SEDME = sed -e "s/^level0 restore/level0 restore flashme 100 72 moveto (Copyright `date '+%m-%d-%y %T'`, FSF, Inc. (all)) show/" \
-e "s/^\/level0 save def/\/level0 save def 30 -48 translate/"
@@ -869,9 +869,9 @@ uninstall-man: uninstall-man1
gawk.texi: $(srcdir)/gawktexi.in $(srcdir)/sidebar.awk
awk -f $(srcdir)/sidebar.awk < $(srcdir)/gawktexi.in > gawk.texi
-postscript: gawk.ps gawkinet.ps gawk.1.ps igawk.1.ps $(AWKCARD)
+postscript: gawk.ps gawkinet.ps gawk.1.ps $(AWKCARD)
-pdf: postscript gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf igawk.1.pdf
+pdf: postscript gawk.pdf gawkinet.pdf awkcard.pdf gawk.1.pdf
gawk.ps: gawk.dvi
TEXINPUTS=$(srcdir): dvips -o gawk.ps gawk.dvi
@@ -885,12 +885,6 @@ gawk.1.ps: gawk.1
gawk.1.pdf: gawk.1.ps
ps2pdf gawk.1.ps gawk.1.pdf
-igawk.1.ps: igawk.1
- -groff -man $(srcdir)/igawk.1 > igawk.1.ps
-
-igawk.1.pdf: igawk.1.ps
- ps2pdf igawk.1.ps igawk.1.pdf
-
awkcard.tr: awkcard.in
sed 's:SRCDIR:$(srcdir):' < $(srcdir)/awkcard.in > awkcard.tr
diff --git a/doc/awkcard.in b/doc/awkcard.in
index ca28f0a7..556bdc1e 100644
--- a/doc/awkcard.in
+++ b/doc/awkcard.in
@@ -1609,6 +1609,9 @@ expand;
l lw(2i).
\*(CD\*(FCatan2(\*(FIy\*(FC, \*(FIx\*(FC)\*(FR The arctangent of \*(FIy/x\fP in radians.
\*(FCcos(\*(FIexpr\*(FC)\*(FR The cosine of \*(FIexpr\fP, which is in radians.
+\*(CB\*(FCdiv(\*(FIn\*(FR\*(FC,\*(FI d\*(FR\*(FC,\*(FI res\*(FR\*(FC)\*(FR T{
+Return the result of integer division in \*(FIres\*(FR.\*(CD
+T}
\*(FCexp(\*(FIexpr\*(FC)\*(FR The exponential function (\*(FIe \*(FC^ \*(FIx\*(FR).
\*(FCint(\*(FIexpr\*(FC)\*(FR Truncate to integer.
\*(FClog(\*(FIexpr\*(FC)\*(FR The natural logarithm function (base \*(FIe\^\*(FR).
diff --git a/doc/gawk.1 b/doc/gawk.1
index c35ebf00..a4d66720 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -917,11 +917,17 @@ An array containing the values of the current environment.
The array is indexed by the environment variables, each element being
the value of that variable (e.g., \fBENVIRON["HOME"]\fP might be
\fB"/home/arnold"\fR).
-Changing this array does not affect the environment seen by programs which
+.sp
+In POSIX mode,
+changing this array does not affect the environment seen by programs which
.I gawk
spawns via redirection or the
.B system()
function.
+Otherwise,
+.I gawk
+updates its real environment so that programs it spawns see
+the changes.
.TP
.B ERRNO
If a system error occurs either doing a redirection for
@@ -2628,6 +2634,23 @@ Return the cosine of
.IR expr ,
which is in radians.
.TP
+.BI div( num ", " denom ", " result )
+Truncate
+.I num
+and
+.I denom
+to integers. Return the quotient of
+.I num
+divided by
+.I denom
+in \fIresult\fB["quotient"]\fR
+and the remainder in
+in \fIresult\fB["remainder"]\fR.
+This is a
+.I gawk
+extension, primarily of value when working with
+arbitrarily large integers.
+.TP
.BI exp( expr )
The exponential function.
.TP
diff --git a/doc/gawk.info b/doc/gawk.info
index c4809a63..2f10b35c 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -2581,10 +2581,8 @@ The following list describes options mandated by the POSIX standard:
different file name for the output. No space is allowed between
the `-o' and FILE, if FILE is supplied.
- NOTE: Due to the way `gawk' has evolved, with this option
- your program is still executed. This will change in the next
- major release such that `gawk' will only pretty-print the
- program and not run it.
+ NOTE: In the past, this option would also execute your
+ program. This is no longer the case.
`-O'
`--optimize'
@@ -2973,13 +2971,6 @@ change. The variables are:
supposed to be differences, but occasionally theory and practice
don't coordinate with each other.)
-`GAWK_NO_PP_RUN'
- If this variable exists, then when invoked with the
- `--pretty-print' option, `gawk' skips running the program.
-
- CAUTION: This variable will not survive into the next major
- release.
-
`GAWK_STACKSIZE'
This specifies the amount by which `gawk' should grow its internal
evaluation stack, when needed.
@@ -3371,15 +3362,17 @@ sequences apply to both string constants and regexp constants:
`\xHH...'
The hexadecimal value HH, where HH stands for a sequence of
- hexadecimal digits (`0'-`9', and either `A'-`F' or `a'-`f'). Like
- the same construct in ISO C, the escape sequence continues until
- the first nonhexadecimal digit is seen. (c.e.) However, using
- more than two hexadecimal digits produces undefined results. (The
- `\x' escape sequence is not allowed in POSIX `awk'.)
+ hexadecimal digits (`0'-`9', and either `A'-`F' or `a'-`f'). A
+ maximum of two digts are allowed after the `\x'. Any further
+ hexadecimal digits are treated as simple letters or numbers.
+ (c.e.)
- CAUTION: The next major relase of `gawk' will change, such
- that a maximum of two hexadecimal digits following the `\x'
- will be used.
+ CAUTION: In ISO C, the escape sequence continues until the
+ first nonhexadecimal digit is seen. For many years, `gawk'
+ would continue incorporating hexadecimal digits into the
+ value until a non-hexadecimal digit or the end of the string
+ was encountered. However, using more than two hexadecimal
+ digits produces
`\/'
A literal slash (necessary for regexp constants only). This
@@ -10223,10 +10216,18 @@ Options::), they are not special.
An associative array containing the values of the environment.
The array indices are the environment variable names; the elements
are the values of the particular environment variables. For
- example, `ENVIRON["HOME"]' might be `"/home/arnold"'. Changing
- this array does not affect the environment passed on to any
- programs that `awk' may spawn via redirection or the `system()'
- function. (In a future version of `gawk', it may do so.)
+ example, `ENVIRON["HOME"]' might be `/home/arnold'.
+
+ For POSIX `awk', changing this array does not affect the
+ environment passed on to any programs that `awk' may spawn via
+ redirection or the `system()' function.
+
+ However, beginning with version 4.2, if not in POSIX compatibility
+ mode, `gawk' does update its own environment when `ENVIRON' is
+ changed, thus changing the environment seen by programs that it
+ creates. You should therefore be especially careful if you modify
+ `ENVIRON["PATH"]"', which is the search path for finding
+ executable programs.
Some operating systems may not have environment variables. On
such systems, the `ENVIRON' array is empty (except for
@@ -11759,6 +11760,21 @@ brackets ([ ]):
`cos(X)'
Return the cosine of X, with X in radians.
+`div(NUMERATOR, DENOMINATOR, RESULT)'
+ Perform integer division, similar to the standard C function of the
+ same name. First, truncate `numerator' and `denominator' towards
+ zero, creating integer values. Clear the `result' array, and then
+ set `result["quotient"]' to the result of `numerator /
+ denominator', truncated towards zero to an integer, and set
+ `result["remainder"]' to the result of `numerator % denominator',
+ truncated towards zero to an integer. This function is primarily
+ intended for use with arbitrary length integers; it avoids
+ creating MPFR arbitrary precision floating-point values (*note
+ Arbitrary Precision Integers::).
+
+ This function is a `gawk' extension. It is not available in
+ compatibility mode (*note Options::).
+
`exp(X)'
Return the exponential of X (`e ^ X') or report an error if X is
out of range. The range of values X can have depends on your
@@ -19695,8 +19711,8 @@ by the `Ctrl-<\>' key.
called this way, `gawk' "pretty prints" the program into `awkprof.out',
without any execution counts.
- NOTE: The `--pretty-print' option still runs your program. This
- will change in the next major release.
+ NOTE: Once upon a time, the `--pretty-print' option would also run
+ your program. This is is no longer the case.

File: gawk.info, Node: Advanced Features Summary, Prev: Profiling, Up: Advanced Features
@@ -22172,6 +22188,29 @@ just use the following:
gawk -M 'BEGIN { n = 13; print n % 2 }'
+ When dividing two arbitrary precision integers with either `/' or
+`%', the result is typically an arbitrary precision floating point
+value (unless the denominator evenly divides into the numerator). In
+order to do integer division or remainder with arbitrary precision
+integers, use the built-in `div()' function (*note Numeric Functions::).
+
+ You can simulate the `div()' function in standard `awk' using this
+user-defined function:
+
+ # div --- do integer division
+
+ function div(numerator, denominator, result, i)
+ {
+ split("", result)
+
+ numerator = int(numerator)
+ denominator = int(denominator)
+ result["quotient"] = int(numerator / denominator)
+ result["remainder"] = int(numerator % denominator)
+
+ return 0.0
+ }
+
---------- Footnotes ----------
(1) Weisstein, Eric W. `Sylvester's Sequence'. From MathWorld--A
@@ -26198,6 +26237,8 @@ the current version of `gawk'.
- Ultrix
+ * Support for MirBSD was removed at `gawk' version 4.2.
+

File: gawk.info, Node: Feature History, Next: Common Extensions, Prev: POSIX/GNU, Up: Language History
@@ -27101,7 +27142,9 @@ Various `.c', `.y', and `.h' files
`doc/igawk.1'
The `troff' source for a manual page describing the `igawk'
- program presented in *note Igawk Program::.
+ program presented in *note Igawk Program::. (Since `gawk' can do
+ its own `@include' processing, neither `igawk' nor `igawk.1' are
+ installed.)
`doc/Makefile.in'
The input file used during the configuration process to generate
@@ -27143,11 +27186,10 @@ Various `.c', `.y', and `.h' files
contains a `Makefile.in' file, which `configure' uses to generate
a `Makefile'. `Makefile.am' is used by GNU Automake to create
`Makefile.in'. The library functions from *note Library
- Functions::, and the `igawk' program from *note Igawk Program::,
- are included as ready-to-use files in the `gawk' distribution.
- They are installed as part of the installation process. The rest
- of the programs in this Info file are available in appropriate
- subdirectories of `awklib/eg'.
+ Functions::, are included as ready-to-use files in the `gawk'
+ distribution. They are installed as part of the installation
+ process. The rest of the programs in this Info file are available
+ in appropriate subdirectories of `awklib/eg'.
`extension/*'
The source code, manual pages, and infrastructure files for the
@@ -31086,20 +31128,20 @@ Index
* --include option: Options. (line 159)
* --lint option <1>: Options. (line 185)
* --lint option: Command Line. (line 20)
-* --lint-old option: Options. (line 295)
+* --lint-old option: Options. (line 293)
* --load option: Options. (line 173)
* --non-decimal-data option <1>: Nondecimal Data. (line 6)
* --non-decimal-data option: Options. (line 211)
* --non-decimal-data option, strtonum() function and: Nondecimal Data.
(line 36)
-* --optimize option: Options. (line 237)
-* --posix option: Options. (line 254)
-* --posix option, --traditional option and: Options. (line 273)
+* --optimize option: Options. (line 235)
+* --posix option: Options. (line 252)
+* --posix option, --traditional option and: Options. (line 271)
* --pretty-print option: Options. (line 224)
* --profile option <1>: Profiling. (line 12)
-* --profile option: Options. (line 242)
-* --re-interval option: Options. (line 279)
-* --sandbox option: Options. (line 286)
+* --profile option: Options. (line 240)
+* --re-interval option: Options. (line 277)
+* --sandbox option: Options. (line 284)
* --sandbox option, disabling system() function: I/O Functions.
(line 97)
* --sandbox option, input redirection with getline: Getline. (line 19)
@@ -31107,9 +31149,9 @@ Index
(line 6)
* --source option: Options. (line 117)
* --traditional option: Options. (line 81)
-* --traditional option, --posix option and: Options. (line 273)
+* --traditional option, --posix option and: Options. (line 271)
* --use-lc-numeric option: Options. (line 219)
-* --version option: Options. (line 300)
+* --version option: Options. (line 298)
* --with-whiny-user-strftime configuration option: Additional Configuration Options.
(line 35)
* -b option: Options. (line 68)
@@ -31117,32 +31159,32 @@ Index
* -c option: Options. (line 81)
* -D option: Options. (line 108)
* -d option: Options. (line 93)
-* -e option: Options. (line 336)
+* -e option: Options. (line 334)
* -E option: Options. (line 125)
* -e option: Options. (line 117)
* -f option: Options. (line 25)
* -F option: Options. (line 21)
* -f option: Long. (line 12)
-* -F option, -Ft sets FS to TAB: Options. (line 308)
+* -F option, -Ft sets FS to TAB: Options. (line 306)
* -F option, command-line: Command Line Field Separator.
(line 6)
-* -f option, multiple uses: Options. (line 313)
+* -f option, multiple uses: Options. (line 311)
* -g option: Options. (line 147)
* -h option: Options. (line 154)
* -i option: Options. (line 159)
-* -L option: Options. (line 295)
+* -L option: Options. (line 293)
* -l option: Options. (line 173)
* -M option: Options. (line 205)
* -N option: Options. (line 219)
* -n option: Options. (line 211)
-* -O option: Options. (line 237)
+* -O option: Options. (line 235)
* -o option: Options. (line 224)
-* -P option: Options. (line 254)
-* -p option: Options. (line 242)
-* -r option: Options. (line 279)
-* -S option: Options. (line 286)
+* -P option: Options. (line 252)
+* -p option: Options. (line 240)
+* -r option: Options. (line 277)
+* -S option: Options. (line 284)
* -v option: Assignment Options. (line 12)
-* -V option: Options. (line 300)
+* -V option: Options. (line 298)
* -v option: Options. (line 32)
* -W option: Options. (line 46)
* . (period), regexp operator: Regexp Operators. (line 44)
@@ -31204,10 +31246,10 @@ Index
(line 8)
* [] (square brackets), regexp operator: Regexp Operators. (line 56)
* \ (backslash): Comments. (line 50)
-* \ (backslash), \" escape sequence: Escape Sequences. (line 82)
+* \ (backslash), \" escape sequence: Escape Sequences. (line 84)
* \ (backslash), \' operator (gawk): GNU Regexp Operators.
(line 56)
-* \ (backslash), \/ escape sequence: Escape Sequences. (line 73)
+* \ (backslash), \/ escape sequence: Escape Sequences. (line 75)
* \ (backslash), \< operator (gawk): GNU Regexp Operators.
(line 30)
* \ (backslash), \> operator (gawk): GNU Regexp Operators.
@@ -31247,7 +31289,7 @@ Index
* \ (backslash), in bracket expressions: Bracket Expressions. (line 17)
* \ (backslash), in escape sequences: Escape Sequences. (line 6)
* \ (backslash), in escape sequences, POSIX and: Escape Sequences.
- (line 118)
+ (line 120)
* \ (backslash), in regexp constants: Computed Regexps. (line 29)
* \ (backslash), in shell commands: Quoting. (line 48)
* \ (backslash), regexp operator: Regexp Operators. (line 18)
@@ -31416,7 +31458,7 @@ Index
* awf (amazingly workable formatter) program: Glossary. (line 24)
* awk debugging, enabling: Options. (line 108)
* awk language, POSIX version: Assignment Ops. (line 137)
-* awk profiling, enabling: Options. (line 242)
+* awk profiling, enabling: Options. (line 240)
* awk programs <1>: Two Rules. (line 6)
* awk programs <2>: Executable Scripts. (line 6)
* awk programs: Getting Started. (line 12)
@@ -31474,10 +31516,10 @@ Index
* awkvars.out file: Options. (line 93)
* b debugger command (alias for break): Breakpoint Control. (line 11)
* backslash (\): Comments. (line 50)
-* backslash (\), \" escape sequence: Escape Sequences. (line 82)
+* backslash (\), \" escape sequence: Escape Sequences. (line 84)
* backslash (\), \' operator (gawk): GNU Regexp Operators.
(line 56)
-* backslash (\), \/ escape sequence: Escape Sequences. (line 73)
+* backslash (\), \/ escape sequence: Escape Sequences. (line 75)
* backslash (\), \< operator (gawk): GNU Regexp Operators.
(line 30)
* backslash (\), \> operator (gawk): GNU Regexp Operators.
@@ -31517,7 +31559,7 @@ Index
* backslash (\), in bracket expressions: Bracket Expressions. (line 17)
* backslash (\), in escape sequences: Escape Sequences. (line 6)
* backslash (\), in escape sequences, POSIX and: Escape Sequences.
- (line 118)
+ (line 120)
* backslash (\), in regexp constants: Computed Regexps. (line 29)
* backslash (\), in shell commands: Quoting. (line 48)
* backslash (\), regexp operator: Regexp Operators. (line 18)
@@ -31622,7 +31664,7 @@ Index
(line 67)
* Brian Kernighan's awk <12>: GNU Regexp Operators.
(line 83)
-* Brian Kernighan's awk <13>: Escape Sequences. (line 122)
+* Brian Kernighan's awk <13>: Escape Sequences. (line 124)
* Brian Kernighan's awk: When. (line 21)
* Brian Kernighan's awk, extensions: BTL. (line 6)
* Brian Kernighan's awk, source code: Other Versions. (line 13)
@@ -31820,7 +31862,7 @@ Index
* cosine: Numeric Functions. (line 15)
* counting: Wc Program. (line 6)
* csh utility: Statements/Lines. (line 44)
-* csh utility, POSIXLY_CORRECT environment variable: Options. (line 354)
+* csh utility, POSIXLY_CORRECT environment variable: Options. (line 352)
* csh utility, |& operator, comparison with: Two-way I/O. (line 25)
* ctime() user-defined function: Function Example. (line 74)
* currency symbols, localization: Explaining gettext. (line 104)
@@ -31851,13 +31893,13 @@ Index
* dark corner, CONVFMT variable: Strings And Numbers. (line 40)
* dark corner, escape sequences: Other Arguments. (line 38)
* dark corner, escape sequences, for metacharacters: Escape Sequences.
- (line 140)
+ (line 142)
* dark corner, exit statement: Exit Statement. (line 30)
* dark corner, field separators: Field Splitting Summary.
(line 46)
-* dark corner, FILENAME variable <1>: Auto-set. (line 90)
+* dark corner, FILENAME variable <1>: Auto-set. (line 98)
* dark corner, FILENAME variable: Getline Notes. (line 19)
-* dark corner, FNR/NR variables: Auto-set. (line 308)
+* dark corner, FNR/NR variables: Auto-set. (line 316)
* dark corner, format-control characters: Control Letters. (line 18)
* dark corner, FS as null string: Single Character Fields.
(line 20)
@@ -32004,7 +32046,7 @@ Index
* debugger, read commands from a file: Debugger Info. (line 96)
* debugging awk programs: Debugger. (line 6)
* debugging gawk, bug reports: Bugs. (line 9)
-* decimal point character, locale specific: Options. (line 270)
+* decimal point character, locale specific: Options. (line 268)
* decrement operators: Increment Ops. (line 35)
* default keyword: Switch Statement. (line 6)
* Deifik, Scott <1>: Bugs. (line 71)
@@ -32043,12 +32085,12 @@ Index
(line 81)
* differences in awk and gawk, command-line directories: Command-line directories.
(line 6)
-* differences in awk and gawk, ERRNO variable: Auto-set. (line 74)
+* differences in awk and gawk, ERRNO variable: Auto-set. (line 82)
* differences in awk and gawk, error messages: Special FD. (line 16)
* differences in awk and gawk, FIELDWIDTHS variable: User-modified.
(line 37)
* differences in awk and gawk, FPAT variable: User-modified. (line 43)
-* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 115)
+* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 123)
* differences in awk and gawk, function arguments (gawk): Calling Built-in.
(line 16)
* differences in awk and gawk, getline command: Getline. (line 19)
@@ -32071,7 +32113,7 @@ Index
(line 260)
* differences in awk and gawk, print/printf statements: Format Modifiers.
(line 13)
-* differences in awk and gawk, PROCINFO array: Auto-set. (line 129)
+* differences in awk and gawk, PROCINFO array: Auto-set. (line 137)
* differences in awk and gawk, read timeouts: Read Timeout. (line 6)
* differences in awk and gawk, record separators: awk split records.
(line 125)
@@ -32081,7 +32123,7 @@ Index
(line 26)
* differences in awk and gawk, RS/RT variables: gawk split records.
(line 58)
-* differences in awk and gawk, RT variable: Auto-set. (line 264)
+* differences in awk and gawk, RT variable: Auto-set. (line 272)
* differences in awk and gawk, single-character fields: Single Character Fields.
(line 6)
* differences in awk and gawk, split() function: String Functions.
@@ -32089,7 +32131,7 @@ Index
* differences in awk and gawk, strings: Scalar Constants. (line 20)
* differences in awk and gawk, strings, storing: gawk split records.
(line 77)
-* differences in awk and gawk, SYMTAB variable: Auto-set. (line 268)
+* differences in awk and gawk, SYMTAB variable: Auto-set. (line 276)
* differences in awk and gawk, TEXTDOMAIN variable: User-modified.
(line 152)
* differences in awk and gawk, trunc-mod operation: Arithmetic Ops.
@@ -32105,6 +32147,7 @@ Index
* display debugger command: Viewing And Changing Data.
(line 8)
* display debugger options: Debugger Info. (line 57)
+* div: Numeric Functions. (line 18)
* division: Arithmetic Ops. (line 44)
* do-while statement: Do Statement. (line 6)
* do-while statement, use of regexps in: Regexp Usage. (line 19)
@@ -32128,8 +32171,8 @@ Index
* dynamically loaded extensions: Dynamic Extensions. (line 6)
* e debugger command (alias for enable): Breakpoint Control. (line 73)
* EBCDIC: Ordinal Functions. (line 45)
-* effective group ID of gawk user: Auto-set. (line 134)
-* effective user ID of gawk user: Auto-set. (line 138)
+* effective group ID of gawk user: Auto-set. (line 142)
+* effective user ID of gawk user: Auto-set. (line 146)
* egrep utility <1>: Egrep Program. (line 6)
* egrep utility: Bracket Expressions. (line 26)
* egrep.awk program: Egrep Program. (line 54)
@@ -32184,13 +32227,13 @@ Index
(line 11)
* EREs (Extended Regular Expressions): Bracket Expressions. (line 26)
* ERRNO variable <1>: TCP/IP Networking. (line 54)
-* ERRNO variable: Auto-set. (line 74)
+* ERRNO variable: Auto-set. (line 82)
* ERRNO variable, with BEGINFILE pattern: BEGINFILE/ENDFILE. (line 26)
* ERRNO variable, with close() function: Close Files And Pipes.
(line 140)
* ERRNO variable, with getline command: Getline. (line 19)
* error handling: Special FD. (line 16)
-* error handling, ERRNO variable and: Auto-set. (line 74)
+* error handling, ERRNO variable and: Auto-set. (line 82)
* error output: Special FD. (line 6)
* escape processing, gsub()/gensub()/sub() functions: Gory Details.
(line 6)
@@ -32223,10 +32266,10 @@ Index
* exit status, of VMS: VMS Running. (line 29)
* exit the debugger: Miscellaneous Debugger Commands.
(line 99)
-* exp: Numeric Functions. (line 18)
+* exp: Numeric Functions. (line 33)
* expand utility: Very Simple. (line 72)
* Expat XML parser library: gawkextlib. (line 35)
-* exponent: Numeric Functions. (line 18)
+* exponent: Numeric Functions. (line 33)
* expressions: Expressions. (line 6)
* expressions, as patterns: Expression Patterns. (line 6)
* expressions, assignment: Assignment Ops. (line 6)
@@ -32244,7 +32287,7 @@ Index
(line 6)
* extension API version: Extension Versioning.
(line 6)
-* extension API, version number: Auto-set. (line 231)
+* extension API, version number: Auto-set. (line 239)
* extension example: Extension Example. (line 6)
* extension registration: Registration Functions.
(line 6)
@@ -32326,7 +32369,7 @@ Index
* file names, distinguishing: Auto-set. (line 56)
* file names, in compatibility mode: Special Caveats. (line 9)
* file names, standard streams in gawk: Special FD. (line 47)
-* FILENAME variable <1>: Auto-set. (line 90)
+* FILENAME variable <1>: Auto-set. (line 98)
* FILENAME variable: Reading Files. (line 6)
* FILENAME variable, getline, setting with: Getline Notes. (line 19)
* filenames, assignments as: Ignoring Assigns. (line 6)
@@ -32394,9 +32437,9 @@ Index
* flush buffered output: I/O Functions. (line 28)
* fnmatch() extension function: Extension Sample Fnmatch.
(line 12)
-* FNR variable <1>: Auto-set. (line 99)
+* FNR variable <1>: Auto-set. (line 107)
* FNR variable: Records. (line 6)
-* FNR variable, changing: Auto-set. (line 308)
+* FNR variable, changing: Auto-set. (line 316)
* for statement: For Statement. (line 6)
* for statement, looping over arrays: Scanning an Array. (line 20)
* fork() extension function: Extension Sample Fork.
@@ -32433,7 +32476,7 @@ Index
* FS variable, --field-separator option and: Options. (line 21)
* FS variable, as null string: Single Character Fields.
(line 20)
-* FS variable, as TAB character: Options. (line 266)
+* FS variable, as TAB character: Options. (line 264)
* FS variable, changing value of: Field Separators. (line 35)
* FS variable, running awk programs and: Cut Program. (line 68)
* FS variable, setting from command line: Command Line Field Separator.
@@ -32446,7 +32489,7 @@ Index
* FSF (Free Software Foundation): Manual History. (line 6)
* fts() extension function: Extension Sample File Functions.
(line 61)
-* FUNCTAB array: Auto-set. (line 115)
+* FUNCTAB array: Auto-set. (line 123)
* function calls: Function Calls. (line 6)
* function calls, indirect: Indirect Calls. (line 6)
* function calls, indirect, @-notation for: Indirect Calls. (line 47)
@@ -32497,7 +32540,7 @@ Index
* G-d: Acknowledgments. (line 92)
* Garfinkle, Scott: Contributors. (line 34)
* gawk program, dynamic profiling: Profiling. (line 179)
-* gawk version: Auto-set. (line 206)
+* gawk version: Auto-set. (line 214)
* gawk, ARGIND variable in: Other Arguments. (line 15)
* gawk, awk and <1>: This Manual. (line 14)
* gawk, awk and: Preface. (line 21)
@@ -32518,13 +32561,13 @@ Index
* gawk, distribution: Distribution contents.
(line 6)
* gawk, ERRNO variable in <1>: TCP/IP Networking. (line 54)
-* gawk, ERRNO variable in <2>: Auto-set. (line 74)
+* gawk, ERRNO variable in <2>: Auto-set. (line 82)
* gawk, ERRNO variable in <3>: BEGINFILE/ENDFILE. (line 26)
* gawk, ERRNO variable in <4>: Close Files And Pipes.
(line 140)
* gawk, ERRNO variable in: Getline. (line 19)
-* gawk, escape sequences: Escape Sequences. (line 130)
-* gawk, extensions, disabling: Options. (line 254)
+* gawk, escape sequences: Escape Sequences. (line 132)
+* gawk, extensions, disabling: Options. (line 252)
* gawk, features, adding: Adding Code. (line 6)
* gawk, features, advanced: Advanced Features. (line 6)
* gawk, field separators and: User-modified. (line 71)
@@ -32535,7 +32578,7 @@ Index
* gawk, FPAT variable in <1>: User-modified. (line 43)
* gawk, FPAT variable in: Splitting By Content.
(line 27)
-* gawk, FUNCTAB array in: Auto-set. (line 115)
+* gawk, FUNCTAB array in: Auto-set. (line 123)
* gawk, function arguments and: Calling Built-in. (line 16)
* gawk, hexadecimal numbers and: Nondecimal-numbers. (line 42)
* gawk, IGNORECASE variable in <1>: Array Sorting Functions.
@@ -32566,7 +32609,7 @@ Index
* gawk, OS/2 version of: PC Using. (line 16)
* gawk, PROCINFO array in <1>: Two-way I/O. (line 99)
* gawk, PROCINFO array in <2>: Time Functions. (line 47)
-* gawk, PROCINFO array in: Auto-set. (line 129)
+* gawk, PROCINFO array in: Auto-set. (line 137)
* gawk, regexp constants and: Using Constant Regexps.
(line 28)
* gawk, regular expressions, case sensitivity: Case-sensitivity.
@@ -32574,18 +32617,18 @@ Index
* gawk, regular expressions, operators: GNU Regexp Operators.
(line 6)
* gawk, regular expressions, precedence: Regexp Operators. (line 161)
-* gawk, RT variable in <1>: Auto-set. (line 264)
+* gawk, RT variable in <1>: Auto-set. (line 272)
* gawk, RT variable in <2>: Multiple Line. (line 129)
* gawk, RT variable in: awk split records. (line 125)
* gawk, See Also awk: Preface. (line 34)
* gawk, source code, obtaining: Getting. (line 6)
* gawk, splitting fields and: Constant Size. (line 88)
* gawk, string-translation functions: I18N Functions. (line 6)
-* gawk, SYMTAB array in: Auto-set. (line 268)
+* gawk, SYMTAB array in: Auto-set. (line 276)
* gawk, TEXTDOMAIN variable in: User-modified. (line 152)
* gawk, timestamps: Time Functions. (line 6)
* gawk, uses for: Preface. (line 34)
-* gawk, versions of, information about, printing: Options. (line 300)
+* gawk, versions of, information about, printing: Options. (line 298)
* gawk, VMS version of: VMS Installation. (line 6)
* gawk, word-boundary operator: GNU Regexp Operators.
(line 63)
@@ -32667,7 +32710,7 @@ Index
* Grigera, Juan: Contributors. (line 57)
* group database, reading: Group Functions. (line 6)
* group file: Group Functions. (line 6)
-* group ID of gawk user: Auto-set. (line 179)
+* group ID of gawk user: Auto-set. (line 187)
* groups, information about: Group Functions. (line 6)
* gsub <1>: String Functions. (line 139)
* gsub: Using Constant Regexps.
@@ -32768,7 +32811,7 @@ Index
* installation, VMS: VMS Installation. (line 6)
* installing gawk: Installation. (line 6)
* instruction tracing, in debugger: Debugger Info. (line 89)
-* int: Numeric Functions. (line 23)
+* int: Numeric Functions. (line 38)
* INT signal (MS-Windows): Profiling. (line 214)
* integer array indices: Numeric Array Subscripts.
(line 31)
@@ -32897,7 +32940,7 @@ Index
* lint checking, empty programs: Command Line. (line 16)
* lint checking, issuing warnings: Options. (line 185)
* lint checking, POSIXLY_CORRECT environment variable: Options.
- (line 339)
+ (line 337)
* lint checking, undefined functions: Pass By Value/Reference.
(line 88)
* LINT variable: User-modified. (line 88)
@@ -32913,14 +32956,14 @@ Index
* loading, extensions: Options. (line 173)
* local variables, in a function: Variable Scope. (line 6)
* locale categories: Explaining gettext. (line 81)
-* locale decimal point character: Options. (line 270)
+* locale decimal point character: Options. (line 268)
* locale, definition of: Locales. (line 6)
* localization: I18N and L10N. (line 6)
* localization, See internationalization, localization: I18N and L10N.
(line 6)
-* log: Numeric Functions. (line 30)
+* log: Numeric Functions. (line 45)
* log files, timestamps in: Time Functions. (line 6)
-* logarithm: Numeric Functions. (line 30)
+* logarithm: Numeric Functions. (line 45)
* logical false/true: Truth Values. (line 6)
* logical operators, See Boolean expressions: Boolean Ops. (line 6)
* login information: Passwd Functions. (line 16)
@@ -32960,8 +33003,8 @@ Index
* mawk utility <2>: Nextfile Statement. (line 47)
* mawk utility <3>: Concatenation. (line 36)
* mawk utility <4>: Getline/Pipe. (line 62)
-* mawk utility: Escape Sequences. (line 130)
-* maximum precision supported by MPFR library: Auto-set. (line 220)
+* mawk utility: Escape Sequences. (line 132)
+* maximum precision supported by MPFR library: Auto-set. (line 228)
* McIlroy, Doug: Glossary. (line 149)
* McPhee, Patrick: Contributors. (line 100)
* message object files: Explaining gettext. (line 42)
@@ -32973,8 +33016,8 @@ Index
(line 54)
* messages from extensions: Printing Messages. (line 6)
* metacharacters in regular expressions: Regexp Operators. (line 6)
-* metacharacters, escape sequences for: Escape Sequences. (line 136)
-* minimum precision supported by MPFR library: Auto-set. (line 223)
+* metacharacters, escape sequences for: Escape Sequences. (line 138)
+* minimum precision supported by MPFR library: Auto-set. (line 231)
* mktime: Time Functions. (line 25)
* modifiers, in format specifiers: Format Modifiers. (line 6)
* monetary information, localization: Explaining gettext. (line 104)
@@ -32996,7 +33039,7 @@ Index
* networks, programming: TCP/IP Networking. (line 6)
* networks, support for: Special Network. (line 6)
* newlines <1>: Boolean Ops. (line 67)
-* newlines <2>: Options. (line 260)
+* newlines <2>: Options. (line 258)
* newlines: Statements/Lines. (line 6)
* newlines, as field separators: Default Field Splitting.
(line 6)
@@ -33025,7 +33068,7 @@ Index
(line 47)
* nexti debugger command: Debugger Execution Control.
(line 49)
-* NF variable <1>: Auto-set. (line 104)
+* NF variable <1>: Auto-set. (line 112)
* NF variable: Fields. (line 33)
* NF variable, decrementing: Changing Fields. (line 107)
* ni debugger command (alias for nexti): Debugger Execution Control.
@@ -33034,9 +33077,9 @@ Index
* non-existent array elements: Reference to Elements.
(line 23)
* not Boolean-logic operator: Boolean Ops. (line 6)
-* NR variable <1>: Auto-set. (line 124)
+* NR variable <1>: Auto-set. (line 132)
* NR variable: Records. (line 6)
-* NR variable, changing: Auto-set. (line 308)
+* NR variable, changing: Auto-set. (line 316)
* null strings <1>: Basic Data Typing. (line 26)
* null strings <2>: Truth Values. (line 6)
* null strings <3>: Regexp Field Splitting.
@@ -33150,7 +33193,7 @@ Index
* p debugger command (alias for print): Viewing And Changing Data.
(line 36)
* Papadopoulos, Panos: Contributors. (line 128)
-* parent process ID of gawk process: Auto-set. (line 188)
+* parent process ID of gawk process: Auto-set. (line 196)
* parentheses (), in a profile: Profiling. (line 146)
* parentheses (), regexp operator: Regexp Operators. (line 81)
* password file: Passwd Functions. (line 16)
@@ -33192,14 +33235,14 @@ Index
* plus sign (+), += operator: Assignment Ops. (line 82)
* plus sign (+), regexp operator: Regexp Operators. (line 105)
* pointers to functions: Indirect Calls. (line 6)
-* portability: Escape Sequences. (line 100)
+* portability: Escape Sequences. (line 102)
* portability, #! (executable scripts): Executable Scripts. (line 33)
* portability, ** operator and: Arithmetic Ops. (line 81)
* portability, **= operator and: Assignment Ops. (line 143)
* portability, ARGV variable: Executable Scripts. (line 59)
* portability, backslash continuation and: Statements/Lines. (line 30)
* portability, backslash in escape sequences: Escape Sequences.
- (line 118)
+ (line 120)
* portability, close() function and: Close Files And Pipes.
(line 81)
* portability, data files as single record: gawk split records.
@@ -33217,7 +33260,7 @@ Index
* portability, NF variable, decrementing: Changing Fields. (line 115)
* portability, operators: Increment Ops. (line 60)
* portability, operators, not in POSIX awk: Precedence. (line 98)
-* portability, POSIXLY_CORRECT environment variable: Options. (line 359)
+* portability, POSIXLY_CORRECT environment variable: Options. (line 357)
* portability, substr() function: String Functions. (line 510)
* portable object files <1>: Translator i18n. (line 6)
* portable object files: Explaining gettext. (line 37)
@@ -33238,7 +33281,7 @@ Index
* POSIX awk, < operator and: Getline/File. (line 26)
* POSIX awk, arithmetic operators and: Arithmetic Ops. (line 30)
* POSIX awk, backslashes in string constants: Escape Sequences.
- (line 118)
+ (line 120)
* POSIX awk, BEGIN/END patterns: I/O And BEGIN/END. (line 16)
* POSIX awk, bracket expressions and: Bracket Expressions. (line 26)
* POSIX awk, bracket expressions and, character classes: Bracket Expressions.
@@ -33266,11 +33309,11 @@ Index
* POSIX awk, regular expressions and: Regexp Operators. (line 161)
* POSIX awk, timestamps and: Time Functions. (line 6)
* POSIX awk, | I/O operator and: Getline/Pipe. (line 55)
-* POSIX mode: Options. (line 254)
+* POSIX mode: Options. (line 252)
* POSIX, awk and: Preface. (line 21)
* POSIX, gawk extensions not included in: POSIX/GNU. (line 6)
* POSIX, programs, implementing in awk: Clones. (line 6)
-* POSIXLY_CORRECT environment variable: Options. (line 339)
+* POSIXLY_CORRECT environment variable: Options. (line 337)
* PREC variable: User-modified. (line 124)
* precedence <1>: Precedence. (line 6)
* precedence: Increment Ops. (line 60)
@@ -33313,24 +33356,24 @@ Index
* printing, unduplicated lines of text: Uniq Program. (line 6)
* printing, user information: Id Program. (line 6)
* private variables: Library Names. (line 11)
-* process group idIDof gawk process: Auto-set. (line 182)
-* process ID of gawk process: Auto-set. (line 185)
+* process group idIDof gawk process: Auto-set. (line 190)
+* process ID of gawk process: Auto-set. (line 193)
* processes, two-way communications with: Two-way I/O. (line 6)
* processing data: Basic High Level. (line 6)
* PROCINFO array <1>: Passwd Functions. (line 6)
* PROCINFO array <2>: Time Functions. (line 47)
-* PROCINFO array: Auto-set. (line 129)
+* PROCINFO array: Auto-set. (line 137)
* PROCINFO array, and communications via ptys: Two-way I/O. (line 99)
* PROCINFO array, and group membership: Group Functions. (line 6)
* PROCINFO array, and user and group ID numbers: Id Program. (line 15)
* PROCINFO array, testing the field splitting: Passwd Functions.
(line 161)
-* PROCINFO array, uses: Auto-set. (line 241)
+* PROCINFO array, uses: Auto-set. (line 249)
* PROCINFO, values of sorted_in: Controlling Scanning.
(line 26)
* profiling awk programs: Profiling. (line 6)
* profiling awk programs, dynamically: Profiling. (line 179)
-* program identifiers: Auto-set. (line 147)
+* program identifiers: Auto-set. (line 155)
* program, definition of: Getting Started. (line 21)
* programming conventions, --non-decimal-data option: Nondecimal Data.
(line 36)
@@ -33374,12 +33417,12 @@ Index
* Rakitzis, Byron: History Sorting. (line 25)
* Ramey, Chet <1>: General Data Types. (line 6)
* Ramey, Chet: Acknowledgments. (line 60)
-* rand: Numeric Functions. (line 35)
+* rand: Numeric Functions. (line 50)
* random numbers, Cliff: Cliff Random Function.
(line 6)
* random numbers, rand()/srand() functions: Numeric Functions.
- (line 35)
-* random numbers, seed of: Numeric Functions. (line 65)
+ (line 50)
+* random numbers, seed of: Numeric Functions. (line 80)
* range expressions (regexps): Bracket Expressions. (line 6)
* range patterns: Ranges. (line 6)
* range patterns, line continuation and: Ranges. (line 65)
@@ -33449,7 +33492,7 @@ Index
(line 59)
* regular expressions, gawk, command-line options: GNU Regexp Operators.
(line 70)
-* regular expressions, interval expressions and: Options. (line 279)
+* regular expressions, interval expressions and: Options. (line 277)
* regular expressions, leftmost longest match: Leftmost Longest.
(line 6)
* regular expressions, operators <1>: Regexp Operators. (line 6)
@@ -33489,7 +33532,7 @@ Index
* right shift: Bitwise Functions. (line 52)
* right shift, bitwise: Bitwise Functions. (line 32)
* Ritchie, Dennis: Basic Data Typing. (line 54)
-* RLENGTH variable: Auto-set. (line 251)
+* RLENGTH variable: Auto-set. (line 259)
* RLENGTH variable, match() function and: String Functions. (line 224)
* Robbins, Arnold <1>: Future Extensions. (line 6)
* Robbins, Arnold <2>: Bugs. (line 32)
@@ -33507,7 +33550,7 @@ Index
* Robbins, Miriam <2>: Getline/Pipe. (line 39)
* Robbins, Miriam: Acknowledgments. (line 92)
* Rommel, Kai Uwe: Contributors. (line 42)
-* round to nearest integer: Numeric Functions. (line 23)
+* round to nearest integer: Numeric Functions. (line 38)
* round() user-defined function: Round Function. (line 16)
* rounding numbers: Round Function. (line 6)
* ROUNDMODE variable: User-modified. (line 128)
@@ -33515,9 +33558,9 @@ Index
* RS variable: awk split records. (line 12)
* RS variable, multiline records and: Multiple Line. (line 17)
* rshift: Bitwise Functions. (line 52)
-* RSTART variable: Auto-set. (line 257)
+* RSTART variable: Auto-set. (line 265)
* RSTART variable, match() function and: String Functions. (line 224)
-* RT variable <1>: Auto-set. (line 264)
+* RT variable <1>: Auto-set. (line 272)
* RT variable <2>: Multiple Line. (line 129)
* RT variable: awk split records. (line 125)
* Rubin, Paul <1>: Contributors. (line 15)
@@ -33530,14 +33573,14 @@ Index
(line 68)
* sample debugging session: Sample Debugging Session.
(line 6)
-* sandbox mode: Options. (line 286)
+* sandbox mode: Options. (line 284)
* save debugger options: Debugger Info. (line 84)
* scalar or array: Type Functions. (line 11)
* scalar values: Basic Data Typing. (line 13)
* scanning arrays: Scanning an Array. (line 6)
* scanning multidimensional arrays: Multiscanning. (line 11)
* Schorr, Andrew <1>: Contributors. (line 133)
-* Schorr, Andrew <2>: Auto-set. (line 291)
+* Schorr, Andrew <2>: Auto-set. (line 299)
* Schorr, Andrew: Acknowledgments. (line 60)
* Schreiber, Bert: Acknowledgments. (line 38)
* Schreiber, Rita: Acknowledgments. (line 38)
@@ -33557,7 +33600,7 @@ Index
* sed utility <2>: Simple Sed. (line 6)
* sed utility: Field Splitting Summary.
(line 46)
-* seeding random number generator: Numeric Functions. (line 65)
+* seeding random number generator: Numeric Functions. (line 80)
* semicolon (;), AWKPATH variable and: PC Using. (line 10)
* semicolon (;), separating statements in actions <1>: Statements.
(line 10)
@@ -33618,14 +33661,14 @@ Index
* sidebar, A Constant's Base Does Not Affect Its Value: Nondecimal-numbers.
(line 64)
* sidebar, Backslash Before Regular Characters: Escape Sequences.
- (line 116)
+ (line 118)
* sidebar, Changing FS Does Not Affect the Fields: Field Splitting Summary.
(line 38)
-* sidebar, Changing NR and FNR: Auto-set. (line 306)
+* sidebar, Changing NR and FNR: Auto-set. (line 314)
* sidebar, Controlling Output Buffering with system(): I/O Functions.
(line 138)
* sidebar, Escape Sequences for Metacharacters: Escape Sequences.
- (line 134)
+ (line 136)
* sidebar, FS and IGNORECASE: Field Splitting Summary.
(line 64)
* sidebar, Interactive Versus Noninteractive Buffering: I/O Functions.
@@ -33658,8 +33701,8 @@ Index
* SIGUSR1 signal, for dynamic profiling: Profiling. (line 188)
* silent debugger command: Debugger Execution Control.
(line 10)
-* sin: Numeric Functions. (line 76)
-* sine: Numeric Functions. (line 76)
+* sin: Numeric Functions. (line 91)
+* sine: Numeric Functions. (line 91)
* single quote ('): One-shot. (line 15)
* single quote (') in gawk command lines: Long. (line 35)
* single quote ('), in shell commands: Quoting. (line 48)
@@ -33709,10 +33752,10 @@ Index
* sprintf() function, OFMT variable and: User-modified. (line 114)
* sprintf() function, print/printf statements and: Round Function.
(line 6)
-* sqrt: Numeric Functions. (line 79)
+* sqrt: Numeric Functions. (line 94)
* square brackets ([]), regexp operator: Regexp Operators. (line 56)
-* square root: Numeric Functions. (line 79)
-* srand: Numeric Functions. (line 83)
+* square root: Numeric Functions. (line 94)
+* srand: Numeric Functions. (line 98)
* stack frame: Debugging Terms. (line 10)
* Stallman, Richard <1>: Glossary. (line 296)
* Stallman, Richard <2>: Contributors. (line 23)
@@ -33784,9 +33827,9 @@ Index
* substr: String Functions. (line 479)
* substring: String Functions. (line 479)
* Sumner, Andrew: Other Versions. (line 64)
-* supplementary groups of gawk process: Auto-set. (line 236)
+* supplementary groups of gawk process: Auto-set. (line 244)
* switch statement: Switch Statement. (line 6)
-* SYMTAB array: Auto-set. (line 268)
+* SYMTAB array: Auto-set. (line 276)
* syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops.
(line 148)
* system: I/O Functions. (line 75)
@@ -33853,7 +33896,7 @@ Index
(line 37)
* troubleshooting, awk uses FS not IFS: Field Separators. (line 30)
* troubleshooting, backslash before nonspecial character: Escape Sequences.
- (line 118)
+ (line 120)
* troubleshooting, division: Arithmetic Ops. (line 44)
* troubleshooting, fatal errors, field widths, specifying: Constant Size.
(line 23)
@@ -33909,7 +33952,7 @@ Index
* uniq.awk program: Uniq Program. (line 65)
* Unix: Glossary. (line 611)
* Unix awk, backslashes in escape sequences: Escape Sequences.
- (line 130)
+ (line 132)
* Unix awk, close() function and: Close Files And Pipes.
(line 132)
* Unix awk, password files, field separators and: Command Line Field Separator.
@@ -33964,10 +34007,10 @@ Index
* variables, uninitialized, as array subscripts: Uninitialized Subscripts.
(line 6)
* variables, user-defined: Variables. (line 6)
-* version of gawk: Auto-set. (line 206)
-* version of gawk extension API: Auto-set. (line 231)
-* version of GNU MP library: Auto-set. (line 217)
-* version of GNU MPFR library: Auto-set. (line 213)
+* version of gawk: Auto-set. (line 214)
+* version of gawk extension API: Auto-set. (line 239)
+* version of GNU MP library: Auto-set. (line 225)
+* version of GNU MPFR library: Auto-set. (line 221)
* vertical bar (|): Regexp Operators. (line 70)
* vertical bar (|), | operator (I/O) <1>: Precedence. (line 65)
* vertical bar (|), | operator (I/O): Getline/Pipe. (line 9)
@@ -34001,7 +34044,7 @@ Index
* whitespace, as field separators: Default Field Splitting.
(line 6)
* whitespace, functions, calling: Calling Built-in. (line 10)
-* whitespace, newlines as: Options. (line 260)
+* whitespace, newlines as: Options. (line 258)
* Williams, Kent: Contributors. (line 34)
* Woehlke, Matthew: Contributors. (line 79)
* Woods, John: Contributors. (line 27)
@@ -34093,514 +34136,514 @@ Node: Intro Summary110300
Node: Invoking Gawk111183
Node: Command Line112698
Node: Options113489
-Ref: Options-Footnote-1129316
-Node: Other Arguments129341
-Node: Naming Standard Input132302
-Node: Environment Variables133395
-Node: AWKPATH Variable133953
-Ref: AWKPATH Variable-Footnote-1136805
-Ref: AWKPATH Variable-Footnote-2136850
-Node: AWKLIBPATH Variable137110
-Node: Other Environment Variables137869
-Node: Exit Status141571
-Node: Include Files142246
-Node: Loading Shared Libraries145824
-Node: Obsolete147251
-Node: Undocumented147948
-Node: Invoking Summary148215
-Node: Regexp149881
-Node: Regexp Usage151340
-Node: Escape Sequences153373
-Node: Regexp Operators159390
-Ref: Regexp Operators-Footnote-1166825
-Ref: Regexp Operators-Footnote-2166972
-Node: Bracket Expressions167070
-Ref: table-char-classes169087
-Node: Leftmost Longest172027
-Node: Computed Regexps173329
-Node: GNU Regexp Operators176726
-Node: Case-sensitivity180432
-Ref: Case-sensitivity-Footnote-1183322
-Ref: Case-sensitivity-Footnote-2183557
-Node: Regexp Summary183665
-Node: Reading Files185134
-Node: Records187226
-Node: awk split records187954
-Node: gawk split records192866
-Ref: gawk split records-Footnote-1197405
-Node: Fields197442
-Ref: Fields-Footnote-1200238
-Node: Nonconstant Fields200324
-Ref: Nonconstant Fields-Footnote-1202554
-Node: Changing Fields202756
-Node: Field Separators208688
-Node: Default Field Splitting211390
-Node: Regexp Field Splitting212507
-Node: Single Character Fields215857
-Node: Command Line Field Separator216916
-Node: Full Line Fields220126
-Ref: Full Line Fields-Footnote-1220634
-Node: Field Splitting Summary220680
-Ref: Field Splitting Summary-Footnote-1223811
-Node: Constant Size223912
-Node: Splitting By Content228518
-Ref: Splitting By Content-Footnote-1232591
-Node: Multiple Line232631
-Ref: Multiple Line-Footnote-1238520
-Node: Getline238699
-Node: Plain Getline240910
-Node: Getline/Variable243550
-Node: Getline/File244697
-Node: Getline/Variable/File246081
-Ref: Getline/Variable/File-Footnote-1247680
-Node: Getline/Pipe247767
-Node: Getline/Variable/Pipe250450
-Node: Getline/Coprocess251579
-Node: Getline/Variable/Coprocess252831
-Node: Getline Notes253568
-Node: Getline Summary256360
-Ref: table-getline-variants256768
-Node: Read Timeout257597
-Ref: Read Timeout-Footnote-1261411
-Node: Command-line directories261469
-Node: Input Summary262373
-Node: Input Exercises265625
-Node: Printing266353
-Node: Print268075
-Node: Print Examples269532
-Node: Output Separators272311
-Node: OFMT274327
-Node: Printf275679
-Node: Basic Printf276464
-Node: Control Letters278035
-Node: Format Modifiers282019
-Node: Printf Examples288026
-Node: Redirection290508
-Node: Special Files297242
-Node: Special FD297775
-Ref: Special FD-Footnote-1301469
-Node: Special Network301543
-Node: Special Caveats302393
-Node: Close Files And Pipes303185
-Ref: Close Files And Pipes-Footnote-1310362
-Ref: Close Files And Pipes-Footnote-2310510
-Node: Output Summary310660
-Node: Output Exercises311654
-Node: Expressions312334
-Node: Values313519
-Node: Constants314195
-Node: Scalar Constants314875
-Ref: Scalar Constants-Footnote-1315734
-Node: Nondecimal-numbers315984
-Node: Regexp Constants318984
-Node: Using Constant Regexps319509
-Node: Variables322581
-Node: Using Variables323236
-Node: Assignment Options325142
-Node: Conversion327017
-Node: Strings And Numbers327541
-Ref: Strings And Numbers-Footnote-1330603
-Node: Locale influences conversions330712
-Ref: table-locale-affects333429
-Node: All Operators334017
-Node: Arithmetic Ops334647
-Node: Concatenation337152
-Ref: Concatenation-Footnote-1339971
-Node: Assignment Ops340077
-Ref: table-assign-ops345060
-Node: Increment Ops346363
-Node: Truth Values and Conditions349801
-Node: Truth Values350884
-Node: Typing and Comparison351933
-Node: Variable Typing352726
-Node: Comparison Operators356378
-Ref: table-relational-ops356788
-Node: POSIX String Comparison360337
-Ref: POSIX String Comparison-Footnote-1361421
-Node: Boolean Ops361559
-Ref: Boolean Ops-Footnote-1365898
-Node: Conditional Exp365989
-Node: Function Calls367716
-Node: Precedence371596
-Node: Locales375264
-Node: Expressions Summary376895
-Node: Patterns and Actions379436
-Node: Pattern Overview380552
-Node: Regexp Patterns382229
-Node: Expression Patterns382772
-Node: Ranges386552
-Node: BEGIN/END389658
-Node: Using BEGIN/END390420
-Ref: Using BEGIN/END-Footnote-1393156
-Node: I/O And BEGIN/END393262
-Node: BEGINFILE/ENDFILE395533
-Node: Empty398464
-Node: Using Shell Variables398781
-Node: Action Overview401064
-Node: Statements403391
-Node: If Statement405239
-Node: While Statement406737
-Node: Do Statement408781
-Node: For Statement409937
-Node: Switch Statement413089
-Node: Break Statement415477
-Node: Continue Statement417518
-Node: Next Statement419343
-Node: Nextfile Statement421713
-Node: Exit Statement424370
-Node: Built-in Variables426774
-Node: User-modified427901
-Ref: User-modified-Footnote-1435590
-Node: Auto-set435652
-Ref: Auto-set-Footnote-1448504
-Ref: Auto-set-Footnote-2448709
-Node: ARGC and ARGV448765
-Node: Pattern Action Summary452669
-Node: Arrays454892
-Node: Array Basics456441
-Node: Array Intro457267
-Ref: figure-array-elements459240
-Ref: Array Intro-Footnote-1461764
-Node: Reference to Elements461892
-Node: Assigning Elements464342
-Node: Array Example464833
-Node: Scanning an Array466565
-Node: Controlling Scanning469566
-Ref: Controlling Scanning-Footnote-1474739
-Node: Delete475055
-Ref: Delete-Footnote-1477806
-Node: Numeric Array Subscripts477863
-Node: Uninitialized Subscripts480046
-Node: Multidimensional481673
-Node: Multiscanning484786
-Node: Arrays of Arrays486375
-Node: Arrays Summary491038
-Node: Functions493143
-Node: Built-in494016
-Node: Calling Built-in495094
-Node: Numeric Functions497082
-Ref: Numeric Functions-Footnote-1501116
-Ref: Numeric Functions-Footnote-2501473
-Ref: Numeric Functions-Footnote-3501521
-Node: String Functions501790
-Ref: String Functions-Footnote-1524787
-Ref: String Functions-Footnote-2524916
-Ref: String Functions-Footnote-3525164
-Node: Gory Details525251
-Ref: table-sub-escapes527024
-Ref: table-sub-proposed528544
-Ref: table-posix-sub529908
-Ref: table-gensub-escapes531448
-Ref: Gory Details-Footnote-1532624
-Node: I/O Functions532775
-Ref: I/O Functions-Footnote-1539885
-Node: Time Functions540032
-Ref: Time Functions-Footnote-1550496
-Ref: Time Functions-Footnote-2550564
-Ref: Time Functions-Footnote-3550722
-Ref: Time Functions-Footnote-4550833
-Ref: Time Functions-Footnote-5550945
-Ref: Time Functions-Footnote-6551172
-Node: Bitwise Functions551438
-Ref: table-bitwise-ops552000
-Ref: Bitwise Functions-Footnote-1556245
-Node: Type Functions556414
-Node: I18N Functions557556
-Node: User-defined559201
-Node: Definition Syntax560005
-Ref: Definition Syntax-Footnote-1565409
-Node: Function Example565478
-Ref: Function Example-Footnote-1568118
-Node: Function Caveats568140
-Node: Calling A Function568658
-Node: Variable Scope569613
-Node: Pass By Value/Reference572601
-Node: Return Statement576111
-Node: Dynamic Typing579095
-Node: Indirect Calls580024
-Ref: Indirect Calls-Footnote-1589740
-Node: Functions Summary589868
-Node: Library Functions592518
-Ref: Library Functions-Footnote-1596136
-Ref: Library Functions-Footnote-2596279
-Node: Library Names596450
-Ref: Library Names-Footnote-1599923
-Ref: Library Names-Footnote-2600143
-Node: General Functions600229
-Node: Strtonum Function601257
-Node: Assert Function604159
-Node: Round Function607485
-Node: Cliff Random Function609026
-Node: Ordinal Functions610042
-Ref: Ordinal Functions-Footnote-1613107
-Ref: Ordinal Functions-Footnote-2613359
-Node: Join Function613570
-Ref: Join Function-Footnote-1615341
-Node: Getlocaltime Function615541
-Node: Readfile Function619277
-Node: Data File Management621116
-Node: Filetrans Function621748
-Node: Rewind Function625817
-Node: File Checking627375
-Ref: File Checking-Footnote-1628507
-Node: Empty Files628708
-Node: Ignoring Assigns630687
-Node: Getopt Function632241
-Ref: Getopt Function-Footnote-1643505
-Node: Passwd Functions643708
-Ref: Passwd Functions-Footnote-1652687
-Node: Group Functions652775
-Ref: Group Functions-Footnote-1660706
-Node: Walking Arrays660919
-Node: Library Functions Summary662522
-Node: Library Exercises663910
-Node: Sample Programs665190
-Node: Running Examples665960
-Node: Clones666688
-Node: Cut Program667912
-Node: Egrep Program677770
-Ref: Egrep Program-Footnote-1685357
-Node: Id Program685467
-Node: Split Program689121
-Ref: Split Program-Footnote-1692659
-Node: Tee Program692787
-Node: Uniq Program695574
-Node: Wc Program702997
-Ref: Wc Program-Footnote-1707262
-Node: Miscellaneous Programs707354
-Node: Dupword Program708567
-Node: Alarm Program710598
-Node: Translate Program715402
-Ref: Translate Program-Footnote-1719975
-Ref: Translate Program-Footnote-2720245
-Node: Labels Program720384
-Ref: Labels Program-Footnote-1723745
-Node: Word Sorting723829
-Node: History Sorting727872
-Node: Extract Program729708
-Node: Simple Sed737244
-Node: Igawk Program740306
-Ref: Igawk Program-Footnote-1754610
-Ref: Igawk Program-Footnote-2754811
-Node: Anagram Program754933
-Node: Signature Program758001
-Node: Programs Summary759248
-Node: Programs Exercises760463
-Ref: Programs Exercises-Footnote-1764594
-Node: Advanced Features764685
-Node: Nondecimal Data766633
-Node: Array Sorting768210
-Node: Controlling Array Traversal768907
-Node: Array Sorting Functions777187
-Ref: Array Sorting Functions-Footnote-1781079
-Node: Two-way I/O781273
-Ref: Two-way I/O-Footnote-1786217
-Ref: Two-way I/O-Footnote-2786396
-Node: TCP/IP Networking786478
-Node: Profiling789320
-Node: Advanced Features Summary796862
-Node: Internationalization798723
-Node: I18N and L10N800203
-Node: Explaining gettext800889
-Ref: Explaining gettext-Footnote-1805915
-Ref: Explaining gettext-Footnote-2806099
-Node: Programmer i18n806264
-Ref: Programmer i18n-Footnote-1811058
-Node: Translator i18n811107
-Node: String Extraction811901
-Ref: String Extraction-Footnote-1813034
-Node: Printf Ordering813120
-Ref: Printf Ordering-Footnote-1815902
-Node: I18N Portability815966
-Ref: I18N Portability-Footnote-1818415
-Node: I18N Example818478
-Ref: I18N Example-Footnote-1821184
-Node: Gawk I18N821256
-Node: I18N Summary821894
-Node: Debugger823233
-Node: Debugging824255
-Node: Debugging Concepts824696
-Node: Debugging Terms826552
-Node: Awk Debugging829149
-Node: Sample Debugging Session830041
-Node: Debugger Invocation830561
-Node: Finding The Bug831897
-Node: List of Debugger Commands838376
-Node: Breakpoint Control839708
-Node: Debugger Execution Control843372
-Node: Viewing And Changing Data846732
-Node: Execution Stack850090
-Node: Debugger Info851603
-Node: Miscellaneous Debugger Commands855597
-Node: Readline Support860781
-Node: Limitations861673
-Node: Debugging Summary863946
-Node: Arbitrary Precision Arithmetic865114
-Node: Computer Arithmetic866601
-Ref: Computer Arithmetic-Footnote-1870988
-Node: Math Definitions871045
-Ref: table-ieee-formats874334
-Ref: Math Definitions-Footnote-1874874
-Node: MPFR features874977
-Node: FP Math Caution876594
-Ref: FP Math Caution-Footnote-1877644
-Node: Inexactness of computations878013
-Node: Inexact representation878961
-Node: Comparing FP Values880316
-Node: Errors accumulate881280
-Node: Getting Accuracy882713
-Node: Try To Round885372
-Node: Setting precision886271
-Ref: table-predefined-precision-strings886953
-Node: Setting the rounding mode888746
-Ref: table-gawk-rounding-modes889110
-Ref: Setting the rounding mode-Footnote-1892564
-Node: Arbitrary Precision Integers892743
-Ref: Arbitrary Precision Integers-Footnote-1895724
-Node: POSIX Floating Point Problems895873
-Ref: POSIX Floating Point Problems-Footnote-1899749
-Node: Floating point summary899787
-Node: Dynamic Extensions901991
-Node: Extension Intro903543
-Node: Plugin License904808
-Node: Extension Mechanism Outline905493
-Ref: figure-load-extension905917
-Ref: figure-load-new-function907402
-Ref: figure-call-new-function908404
-Node: Extension API Description910388
-Node: Extension API Functions Introduction911838
-Node: General Data Types916705
-Ref: General Data Types-Footnote-1922398
-Node: Requesting Values922697
-Ref: table-value-types-returned923434
-Node: Memory Allocation Functions924392
-Ref: Memory Allocation Functions-Footnote-1927139
-Node: Constructor Functions927235
-Node: Registration Functions928993
-Node: Extension Functions929678
-Node: Exit Callback Functions931980
-Node: Extension Version String933228
-Node: Input Parsers933878
-Node: Output Wrappers943692
-Node: Two-way processors948208
-Node: Printing Messages950412
-Ref: Printing Messages-Footnote-1951489
-Node: Updating `ERRNO'951641
-Node: Accessing Parameters952380
-Node: Symbol Table Access953610
-Node: Symbol table by name954124
-Node: Symbol table by cookie956100
-Ref: Symbol table by cookie-Footnote-1960233
-Node: Cached values960296
-Ref: Cached values-Footnote-1963800
-Node: Array Manipulation963891
-Ref: Array Manipulation-Footnote-1964989
-Node: Array Data Types965028
-Ref: Array Data Types-Footnote-1967731
-Node: Array Functions967823
-Node: Flattening Arrays971697
-Node: Creating Arrays978549
-Node: Extension API Variables983280
-Node: Extension Versioning983916
-Node: Extension API Informational Variables985817
-Node: Extension API Boilerplate986903
-Node: Finding Extensions990707
-Node: Extension Example991267
-Node: Internal File Description991997
-Node: Internal File Ops996088
-Ref: Internal File Ops-Footnote-11007520
-Node: Using Internal File Ops1007660
-Ref: Using Internal File Ops-Footnote-11010007
-Node: Extension Samples1010275
-Node: Extension Sample File Functions1011799
-Node: Extension Sample Fnmatch1019367
-Node: Extension Sample Fork1020849
-Node: Extension Sample Inplace1022062
-Node: Extension Sample Ord1023737
-Node: Extension Sample Readdir1024573
-Ref: table-readdir-file-types1025429
-Node: Extension Sample Revout1026228
-Node: Extension Sample Rev2way1026819
-Node: Extension Sample Read write array1027560
-Node: Extension Sample Readfile1029439
-Node: Extension Sample API Tests1030539
-Node: Extension Sample Time1031064
-Node: gawkextlib1032379
-Node: Extension summary1035192
-Node: Extension Exercises1038885
-Node: Language History1039607
-Node: V7/SVR3.11041250
-Node: SVR41043570
-Node: POSIX1045012
-Node: BTL1046398
-Node: POSIX/GNU1047132
-Node: Feature History1052848
-Node: Common Extensions1065939
-Node: Ranges and Locales1067251
-Ref: Ranges and Locales-Footnote-11071868
-Ref: Ranges and Locales-Footnote-21071895
-Ref: Ranges and Locales-Footnote-31072129
-Node: Contributors1072350
-Node: History summary1077775
-Node: Installation1079144
-Node: Gawk Distribution1080095
-Node: Getting1080579
-Node: Extracting1081403
-Node: Distribution contents1083045
-Node: Unix Installation1088762
-Node: Quick Installation1089379
-Node: Additional Configuration Options1091821
-Node: Configuration Philosophy1093559
-Node: Non-Unix Installation1095910
-Node: PC Installation1096368
-Node: PC Binary Installation1097679
-Node: PC Compiling1099527
-Ref: PC Compiling-Footnote-11102526
-Node: PC Testing1102631
-Node: PC Using1103807
-Node: Cygwin1107959
-Node: MSYS1108768
-Node: VMS Installation1109266
-Node: VMS Compilation1110062
-Ref: VMS Compilation-Footnote-11111284
-Node: VMS Dynamic Extensions1111342
-Node: VMS Installation Details1112715
-Node: VMS Running1114967
-Node: VMS GNV1117801
-Node: VMS Old Gawk1118524
-Node: Bugs1118994
-Node: Other Versions1122998
-Node: Installation summary1129222
-Node: Notes1130278
-Node: Compatibility Mode1131143
-Node: Additions1131925
-Node: Accessing The Source1132850
-Node: Adding Code1134286
-Node: New Ports1140464
-Node: Derived Files1144945
-Ref: Derived Files-Footnote-11150420
-Ref: Derived Files-Footnote-21150454
-Ref: Derived Files-Footnote-31151050
-Node: Future Extensions1151164
-Node: Implementation Limitations1151770
-Node: Extension Design1153018
-Node: Old Extension Problems1154172
-Ref: Old Extension Problems-Footnote-11155689
-Node: Extension New Mechanism Goals1155746
-Ref: Extension New Mechanism Goals-Footnote-11159106
-Node: Extension Other Design Decisions1159295
-Node: Extension Future Growth1161401
-Node: Old Extension Mechanism1162237
-Node: Notes summary1163999
-Node: Basic Concepts1165185
-Node: Basic High Level1165866
-Ref: figure-general-flow1166138
-Ref: figure-process-flow1166737
-Ref: Basic High Level-Footnote-11169966
-Node: Basic Data Typing1170151
-Node: Glossary1173479
-Node: Copying1198631
-Node: GNU Free Documentation License1236187
-Node: Index1261323
+Ref: Options-Footnote-1129187
+Node: Other Arguments129212
+Node: Naming Standard Input132173
+Node: Environment Variables133266
+Node: AWKPATH Variable133824
+Ref: AWKPATH Variable-Footnote-1136676
+Ref: AWKPATH Variable-Footnote-2136721
+Node: AWKLIBPATH Variable136981
+Node: Other Environment Variables137740
+Node: Exit Status141213
+Node: Include Files141888
+Node: Loading Shared Libraries145466
+Node: Obsolete146893
+Node: Undocumented147590
+Node: Invoking Summary147857
+Node: Regexp149523
+Node: Regexp Usage150982
+Node: Escape Sequences153015
+Node: Regexp Operators159115
+Ref: Regexp Operators-Footnote-1166550
+Ref: Regexp Operators-Footnote-2166697
+Node: Bracket Expressions166795
+Ref: table-char-classes168812
+Node: Leftmost Longest171752
+Node: Computed Regexps173054
+Node: GNU Regexp Operators176451
+Node: Case-sensitivity180157
+Ref: Case-sensitivity-Footnote-1183047
+Ref: Case-sensitivity-Footnote-2183282
+Node: Regexp Summary183390
+Node: Reading Files184859
+Node: Records186951
+Node: awk split records187679
+Node: gawk split records192591
+Ref: gawk split records-Footnote-1197130
+Node: Fields197167
+Ref: Fields-Footnote-1199963
+Node: Nonconstant Fields200049
+Ref: Nonconstant Fields-Footnote-1202279
+Node: Changing Fields202481
+Node: Field Separators208413
+Node: Default Field Splitting211115
+Node: Regexp Field Splitting212232
+Node: Single Character Fields215582
+Node: Command Line Field Separator216641
+Node: Full Line Fields219851
+Ref: Full Line Fields-Footnote-1220359
+Node: Field Splitting Summary220405
+Ref: Field Splitting Summary-Footnote-1223536
+Node: Constant Size223637
+Node: Splitting By Content228243
+Ref: Splitting By Content-Footnote-1232316
+Node: Multiple Line232356
+Ref: Multiple Line-Footnote-1238245
+Node: Getline238424
+Node: Plain Getline240635
+Node: Getline/Variable243275
+Node: Getline/File244422
+Node: Getline/Variable/File245806
+Ref: Getline/Variable/File-Footnote-1247405
+Node: Getline/Pipe247492
+Node: Getline/Variable/Pipe250175
+Node: Getline/Coprocess251304
+Node: Getline/Variable/Coprocess252556
+Node: Getline Notes253293
+Node: Getline Summary256085
+Ref: table-getline-variants256493
+Node: Read Timeout257322
+Ref: Read Timeout-Footnote-1261136
+Node: Command-line directories261194
+Node: Input Summary262098
+Node: Input Exercises265350
+Node: Printing266078
+Node: Print267800
+Node: Print Examples269257
+Node: Output Separators272036
+Node: OFMT274052
+Node: Printf275404
+Node: Basic Printf276189
+Node: Control Letters277760
+Node: Format Modifiers281744
+Node: Printf Examples287751
+Node: Redirection290233
+Node: Special Files296967
+Node: Special FD297500
+Ref: Special FD-Footnote-1301194
+Node: Special Network301268
+Node: Special Caveats302118
+Node: Close Files And Pipes302910
+Ref: Close Files And Pipes-Footnote-1310087
+Ref: Close Files And Pipes-Footnote-2310235
+Node: Output Summary310385
+Node: Output Exercises311379
+Node: Expressions312059
+Node: Values313244
+Node: Constants313920
+Node: Scalar Constants314600
+Ref: Scalar Constants-Footnote-1315459
+Node: Nondecimal-numbers315709
+Node: Regexp Constants318709
+Node: Using Constant Regexps319234
+Node: Variables322306
+Node: Using Variables322961
+Node: Assignment Options324867
+Node: Conversion326742
+Node: Strings And Numbers327266
+Ref: Strings And Numbers-Footnote-1330328
+Node: Locale influences conversions330437
+Ref: table-locale-affects333154
+Node: All Operators333742
+Node: Arithmetic Ops334372
+Node: Concatenation336877
+Ref: Concatenation-Footnote-1339696
+Node: Assignment Ops339802
+Ref: table-assign-ops344785
+Node: Increment Ops346088
+Node: Truth Values and Conditions349526
+Node: Truth Values350609
+Node: Typing and Comparison351658
+Node: Variable Typing352451
+Node: Comparison Operators356103
+Ref: table-relational-ops356513
+Node: POSIX String Comparison360062
+Ref: POSIX String Comparison-Footnote-1361146
+Node: Boolean Ops361284
+Ref: Boolean Ops-Footnote-1365623
+Node: Conditional Exp365714
+Node: Function Calls367441
+Node: Precedence371321
+Node: Locales374989
+Node: Expressions Summary376620
+Node: Patterns and Actions379161
+Node: Pattern Overview380277
+Node: Regexp Patterns381954
+Node: Expression Patterns382497
+Node: Ranges386277
+Node: BEGIN/END389383
+Node: Using BEGIN/END390145
+Ref: Using BEGIN/END-Footnote-1392881
+Node: I/O And BEGIN/END392987
+Node: BEGINFILE/ENDFILE395258
+Node: Empty398189
+Node: Using Shell Variables398506
+Node: Action Overview400789
+Node: Statements403116
+Node: If Statement404964
+Node: While Statement406462
+Node: Do Statement408506
+Node: For Statement409662
+Node: Switch Statement412814
+Node: Break Statement415202
+Node: Continue Statement417243
+Node: Next Statement419068
+Node: Nextfile Statement421438
+Node: Exit Statement424095
+Node: Built-in Variables426499
+Node: User-modified427626
+Ref: User-modified-Footnote-1435315
+Node: Auto-set435377
+Ref: Auto-set-Footnote-1448566
+Ref: Auto-set-Footnote-2448771
+Node: ARGC and ARGV448827
+Node: Pattern Action Summary452731
+Node: Arrays454954
+Node: Array Basics456503
+Node: Array Intro457329
+Ref: figure-array-elements459302
+Ref: Array Intro-Footnote-1461826
+Node: Reference to Elements461954
+Node: Assigning Elements464404
+Node: Array Example464895
+Node: Scanning an Array466627
+Node: Controlling Scanning469628
+Ref: Controlling Scanning-Footnote-1474801
+Node: Delete475117
+Ref: Delete-Footnote-1477868
+Node: Numeric Array Subscripts477925
+Node: Uninitialized Subscripts480108
+Node: Multidimensional481735
+Node: Multiscanning484848
+Node: Arrays of Arrays486437
+Node: Arrays Summary491100
+Node: Functions493205
+Node: Built-in494078
+Node: Calling Built-in495156
+Node: Numeric Functions497144
+Ref: Numeric Functions-Footnote-1501980
+Ref: Numeric Functions-Footnote-2502337
+Ref: Numeric Functions-Footnote-3502385
+Node: String Functions502654
+Ref: String Functions-Footnote-1525651
+Ref: String Functions-Footnote-2525780
+Ref: String Functions-Footnote-3526028
+Node: Gory Details526115
+Ref: table-sub-escapes527888
+Ref: table-sub-proposed529408
+Ref: table-posix-sub530772
+Ref: table-gensub-escapes532312
+Ref: Gory Details-Footnote-1533488
+Node: I/O Functions533639
+Ref: I/O Functions-Footnote-1540749
+Node: Time Functions540896
+Ref: Time Functions-Footnote-1551360
+Ref: Time Functions-Footnote-2551428
+Ref: Time Functions-Footnote-3551586
+Ref: Time Functions-Footnote-4551697
+Ref: Time Functions-Footnote-5551809
+Ref: Time Functions-Footnote-6552036
+Node: Bitwise Functions552302
+Ref: table-bitwise-ops552864
+Ref: Bitwise Functions-Footnote-1557109
+Node: Type Functions557278
+Node: I18N Functions558420
+Node: User-defined560065
+Node: Definition Syntax560869
+Ref: Definition Syntax-Footnote-1566273
+Node: Function Example566342
+Ref: Function Example-Footnote-1568982
+Node: Function Caveats569004
+Node: Calling A Function569522
+Node: Variable Scope570477
+Node: Pass By Value/Reference573465
+Node: Return Statement576975
+Node: Dynamic Typing579959
+Node: Indirect Calls580888
+Ref: Indirect Calls-Footnote-1590604
+Node: Functions Summary590732
+Node: Library Functions593382
+Ref: Library Functions-Footnote-1597000
+Ref: Library Functions-Footnote-2597143
+Node: Library Names597314
+Ref: Library Names-Footnote-1600787
+Ref: Library Names-Footnote-2601007
+Node: General Functions601093
+Node: Strtonum Function602121
+Node: Assert Function605023
+Node: Round Function608349
+Node: Cliff Random Function609890
+Node: Ordinal Functions610906
+Ref: Ordinal Functions-Footnote-1613971
+Ref: Ordinal Functions-Footnote-2614223
+Node: Join Function614434
+Ref: Join Function-Footnote-1616205
+Node: Getlocaltime Function616405
+Node: Readfile Function620141
+Node: Data File Management621980
+Node: Filetrans Function622612
+Node: Rewind Function626681
+Node: File Checking628239
+Ref: File Checking-Footnote-1629371
+Node: Empty Files629572
+Node: Ignoring Assigns631551
+Node: Getopt Function633105
+Ref: Getopt Function-Footnote-1644369
+Node: Passwd Functions644572
+Ref: Passwd Functions-Footnote-1653551
+Node: Group Functions653639
+Ref: Group Functions-Footnote-1661570
+Node: Walking Arrays661783
+Node: Library Functions Summary663386
+Node: Library Exercises664774
+Node: Sample Programs666054
+Node: Running Examples666824
+Node: Clones667552
+Node: Cut Program668776
+Node: Egrep Program678634
+Ref: Egrep Program-Footnote-1686221
+Node: Id Program686331
+Node: Split Program689985
+Ref: Split Program-Footnote-1693523
+Node: Tee Program693651
+Node: Uniq Program696438
+Node: Wc Program703861
+Ref: Wc Program-Footnote-1708126
+Node: Miscellaneous Programs708218
+Node: Dupword Program709431
+Node: Alarm Program711462
+Node: Translate Program716266
+Ref: Translate Program-Footnote-1720839
+Ref: Translate Program-Footnote-2721109
+Node: Labels Program721248
+Ref: Labels Program-Footnote-1724609
+Node: Word Sorting724693
+Node: History Sorting728736
+Node: Extract Program730572
+Node: Simple Sed738108
+Node: Igawk Program741170
+Ref: Igawk Program-Footnote-1755474
+Ref: Igawk Program-Footnote-2755675
+Node: Anagram Program755797
+Node: Signature Program758865
+Node: Programs Summary760112
+Node: Programs Exercises761327
+Ref: Programs Exercises-Footnote-1765458
+Node: Advanced Features765549
+Node: Nondecimal Data767497
+Node: Array Sorting769074
+Node: Controlling Array Traversal769771
+Node: Array Sorting Functions778051
+Ref: Array Sorting Functions-Footnote-1781943
+Node: Two-way I/O782137
+Ref: Two-way I/O-Footnote-1787081
+Ref: Two-way I/O-Footnote-2787260
+Node: TCP/IP Networking787342
+Node: Profiling790184
+Node: Advanced Features Summary797735
+Node: Internationalization799596
+Node: I18N and L10N801076
+Node: Explaining gettext801762
+Ref: Explaining gettext-Footnote-1806788
+Ref: Explaining gettext-Footnote-2806972
+Node: Programmer i18n807137
+Ref: Programmer i18n-Footnote-1811931
+Node: Translator i18n811980
+Node: String Extraction812774
+Ref: String Extraction-Footnote-1813907
+Node: Printf Ordering813993
+Ref: Printf Ordering-Footnote-1816775
+Node: I18N Portability816839
+Ref: I18N Portability-Footnote-1819288
+Node: I18N Example819351
+Ref: I18N Example-Footnote-1822057
+Node: Gawk I18N822129
+Node: I18N Summary822767
+Node: Debugger824106
+Node: Debugging825128
+Node: Debugging Concepts825569
+Node: Debugging Terms827425
+Node: Awk Debugging830022
+Node: Sample Debugging Session830914
+Node: Debugger Invocation831434
+Node: Finding The Bug832770
+Node: List of Debugger Commands839249
+Node: Breakpoint Control840581
+Node: Debugger Execution Control844245
+Node: Viewing And Changing Data847605
+Node: Execution Stack850963
+Node: Debugger Info852476
+Node: Miscellaneous Debugger Commands856470
+Node: Readline Support861654
+Node: Limitations862546
+Node: Debugging Summary864819
+Node: Arbitrary Precision Arithmetic865987
+Node: Computer Arithmetic867474
+Ref: Computer Arithmetic-Footnote-1871861
+Node: Math Definitions871918
+Ref: table-ieee-formats875207
+Ref: Math Definitions-Footnote-1875747
+Node: MPFR features875850
+Node: FP Math Caution877467
+Ref: FP Math Caution-Footnote-1878517
+Node: Inexactness of computations878886
+Node: Inexact representation879834
+Node: Comparing FP Values881189
+Node: Errors accumulate882153
+Node: Getting Accuracy883586
+Node: Try To Round886245
+Node: Setting precision887144
+Ref: table-predefined-precision-strings887826
+Node: Setting the rounding mode889619
+Ref: table-gawk-rounding-modes889983
+Ref: Setting the rounding mode-Footnote-1893437
+Node: Arbitrary Precision Integers893616
+Ref: Arbitrary Precision Integers-Footnote-1897389
+Node: POSIX Floating Point Problems897538
+Ref: POSIX Floating Point Problems-Footnote-1901414
+Node: Floating point summary901452
+Node: Dynamic Extensions903656
+Node: Extension Intro905208
+Node: Plugin License906473
+Node: Extension Mechanism Outline907158
+Ref: figure-load-extension907582
+Ref: figure-load-new-function909067
+Ref: figure-call-new-function910069
+Node: Extension API Description912053
+Node: Extension API Functions Introduction913503
+Node: General Data Types918370
+Ref: General Data Types-Footnote-1924063
+Node: Requesting Values924362
+Ref: table-value-types-returned925099
+Node: Memory Allocation Functions926057
+Ref: Memory Allocation Functions-Footnote-1928804
+Node: Constructor Functions928900
+Node: Registration Functions930658
+Node: Extension Functions931343
+Node: Exit Callback Functions933645
+Node: Extension Version String934893
+Node: Input Parsers935543
+Node: Output Wrappers945357
+Node: Two-way processors949873
+Node: Printing Messages952077
+Ref: Printing Messages-Footnote-1953154
+Node: Updating `ERRNO'953306
+Node: Accessing Parameters954045
+Node: Symbol Table Access955275
+Node: Symbol table by name955789
+Node: Symbol table by cookie957765
+Ref: Symbol table by cookie-Footnote-1961898
+Node: Cached values961961
+Ref: Cached values-Footnote-1965465
+Node: Array Manipulation965556
+Ref: Array Manipulation-Footnote-1966654
+Node: Array Data Types966693
+Ref: Array Data Types-Footnote-1969396
+Node: Array Functions969488
+Node: Flattening Arrays973362
+Node: Creating Arrays980214
+Node: Extension API Variables984945
+Node: Extension Versioning985581
+Node: Extension API Informational Variables987482
+Node: Extension API Boilerplate988568
+Node: Finding Extensions992372
+Node: Extension Example992932
+Node: Internal File Description993662
+Node: Internal File Ops997753
+Ref: Internal File Ops-Footnote-11009185
+Node: Using Internal File Ops1009325
+Ref: Using Internal File Ops-Footnote-11011672
+Node: Extension Samples1011940
+Node: Extension Sample File Functions1013464
+Node: Extension Sample Fnmatch1021032
+Node: Extension Sample Fork1022514
+Node: Extension Sample Inplace1023727
+Node: Extension Sample Ord1025402
+Node: Extension Sample Readdir1026238
+Ref: table-readdir-file-types1027094
+Node: Extension Sample Revout1027893
+Node: Extension Sample Rev2way1028484
+Node: Extension Sample Read write array1029225
+Node: Extension Sample Readfile1031104
+Node: Extension Sample API Tests1032204
+Node: Extension Sample Time1032729
+Node: gawkextlib1034044
+Node: Extension summary1036857
+Node: Extension Exercises1040550
+Node: Language History1041272
+Node: V7/SVR3.11042915
+Node: SVR41045235
+Node: POSIX1046677
+Node: BTL1048063
+Node: POSIX/GNU1048797
+Node: Feature History1054573
+Node: Common Extensions1067664
+Node: Ranges and Locales1068976
+Ref: Ranges and Locales-Footnote-11073593
+Ref: Ranges and Locales-Footnote-21073620
+Ref: Ranges and Locales-Footnote-31073854
+Node: Contributors1074075
+Node: History summary1079500
+Node: Installation1080869
+Node: Gawk Distribution1081820
+Node: Getting1082304
+Node: Extracting1083128
+Node: Distribution contents1084770
+Node: Unix Installation1090540
+Node: Quick Installation1091157
+Node: Additional Configuration Options1093599
+Node: Configuration Philosophy1095337
+Node: Non-Unix Installation1097688
+Node: PC Installation1098146
+Node: PC Binary Installation1099457
+Node: PC Compiling1101305
+Ref: PC Compiling-Footnote-11104304
+Node: PC Testing1104409
+Node: PC Using1105585
+Node: Cygwin1109737
+Node: MSYS1110546
+Node: VMS Installation1111044
+Node: VMS Compilation1111840
+Ref: VMS Compilation-Footnote-11113062
+Node: VMS Dynamic Extensions1113120
+Node: VMS Installation Details1114493
+Node: VMS Running1116745
+Node: VMS GNV1119579
+Node: VMS Old Gawk1120302
+Node: Bugs1120772
+Node: Other Versions1124776
+Node: Installation summary1131000
+Node: Notes1132056
+Node: Compatibility Mode1132921
+Node: Additions1133703
+Node: Accessing The Source1134628
+Node: Adding Code1136064
+Node: New Ports1142242
+Node: Derived Files1146723
+Ref: Derived Files-Footnote-11152198
+Ref: Derived Files-Footnote-21152232
+Ref: Derived Files-Footnote-31152828
+Node: Future Extensions1152942
+Node: Implementation Limitations1153548
+Node: Extension Design1154796
+Node: Old Extension Problems1155950
+Ref: Old Extension Problems-Footnote-11157467
+Node: Extension New Mechanism Goals1157524
+Ref: Extension New Mechanism Goals-Footnote-11160884
+Node: Extension Other Design Decisions1161073
+Node: Extension Future Growth1163179
+Node: Old Extension Mechanism1164015
+Node: Notes summary1165777
+Node: Basic Concepts1166963
+Node: Basic High Level1167644
+Ref: figure-general-flow1167916
+Ref: figure-process-flow1168515
+Ref: Basic High Level-Footnote-11171744
+Node: Basic Data Typing1171929
+Node: Glossary1175257
+Node: Copying1200409
+Node: GNU Free Documentation License1237965
+Node: Index1263101

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 43da36ad..652c6981 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -3934,10 +3934,8 @@ No space is allowed between the @option{-o} and @var{file}, if
@var{file} is supplied.
@quotation NOTE
-Due to the way @command{gawk} has evolved, with this option
-your program is still executed. This will change in the
-next major release such that @command{gawk} will only
-pretty-print the program and not run it.
+In the past, this option would also execute your program.
+This is no longer the case.
@end quotation
@item @option{-O}
@@ -4431,14 +4429,6 @@ two regexp matchers that @command{gawk} uses internally. (There aren't
supposed to be differences, but occasionally theory and practice don't
coordinate with each other.)
-@item GAWK_NO_PP_RUN
-If this variable exists, then when invoked with the @option{--pretty-print}
-option, @command{gawk} skips running the program.
-
-@quotation CAUTION
-This variable will not survive into the next major release.
-@end quotation
-
@item GAWK_STACKSIZE
This specifies the amount by which @command{gawk} should grow its
internal evaluation stack, when needed.
@@ -5019,17 +5009,18 @@ between @samp{0} and @samp{7}. For example, the code for the ASCII ESC
@item \x@var{hh}@dots{}
The hexadecimal value @var{hh}, where @var{hh} stands for a sequence
of hexadecimal digits (@samp{0}--@samp{9}, and either @samp{A}--@samp{F}
-or @samp{a}--@samp{f}). Like the same construct
-in ISO C, the escape sequence continues until the first nonhexadecimal
-digit is seen. @value{COMMONEXT}
-However, using more than two hexadecimal digits produces
-undefined results. (The @samp{\x} escape sequence is not allowed in
-POSIX @command{awk}.)
+or @samp{a}--@samp{f}). A maximum of two digts are allowed after
+the @samp{\x}. Any further hexadecimal digits are treated as simple
+letters or numbers. @value{COMMONEXT}
@quotation CAUTION
-The next major relase of @command{gawk} will change, such
-that a maximum of two hexadecimal digits following the
-@samp{\x} will be used.
+In ISO C, the escape sequence continues until the first nonhexadecimal
+digit is seen.
+@c FIXME: Add exact version here.
+For many years, @command{gawk} would continue incorporating
+hexadecimal digits into the value until a non-hexadecimal digit
+or the end of the string was encountered.
+However, using more than two hexadecimal digits produces
@end quotation
@cindex @code{\} (backslash), @code{\/} escape sequence
@@ -14688,10 +14679,18 @@ next file is opened.
An associative array containing the values of the environment. The array
indices are the environment variable names; the elements are the values of
the particular environment variables. For example,
-@code{ENVIRON["HOME"]} might be @code{"/home/arnold"}. Changing this array
-does not affect the environment passed on to any programs that
-@command{awk} may spawn via redirection or the @code{system()} function.
-(In a future version of @command{gawk}, it may do so.)
+@code{ENVIRON["HOME"]} might be @code{/home/arnold}.
+
+For POSIX @command{awk}, changing this array does not affect the
+environment passed on to any programs that @command{awk} may spawn via
+redirection or the @code{system()} function.
+
+However, beginning with version 4.2, if not in POSIX
+compatibility mode, @command{gawk} does update its own environment when
+@code{ENVIRON} is changed, thus changing the environment seen by programs
+that it creates. You should therefore be especially careful if you
+modify @code{ENVIRON["PATH"]"}, which is the search path for finding
+executable programs.
Some operating systems may not have environment variables.
On such systems, the @code{ENVIRON} array is empty (except for
@@ -16792,6 +16791,23 @@ You can use @samp{pi = atan2(0, -1)} to retrieve the value of
@cindex cosine
Return the cosine of @var{x}, with @var{x} in radians.
+@item @code{div(@var{numerator}, @var{denominator}, @var{result})}
+@cindexawkfunc{div}
+@cindex div
+Perform integer division, similar to the standard C function of the
+same name. First, truncate @code{numerator} and @code{denominator}
+towards zero, creating integer values. Clear the @code{result}
+array, and then set @code{result["quotient"]} to the result of
+@samp{numerator / denominator}, truncated towards zero to an integer,
+and set @code{result["remainder"]} to the result of @samp{numerator %
+denominator}, truncated towards zero to an integer. This function is
+primarily intended for use with arbitrary length integers; it avoids
+creating MPFR arbitrary precision floating-point values (@pxref{Arbitrary
+Precision Integers}).
+
+This function is a @code{gawk} extension. It is not available in
+compatibility mode (@pxref{Options}).
+
@item @code{exp(@var{x})}
@cindexawkfunc{exp}
@cindex exponent
@@ -27704,8 +27720,8 @@ When called this way, @command{gawk} ``pretty prints'' the program into
@file{awkprof.out}, without any execution counts.
@quotation NOTE
-The @option{--pretty-print} option still runs your program.
-This will change in the next major release.
+Once upon a time, the @option{--pretty-print} option would also run
+your program. This is is no longer the case.
@end quotation
@c ENDOFRANGE awkp
@c ENDOFRANGE proawk
@@ -30750,6 +30766,45 @@ to just use the following:
gawk -M 'BEGIN @{ n = 13; print n % 2 @}'
@end example
+When dividing two arbitrary precision integers with either
+@samp{/} or @samp{%}, the result is typically an arbitrary
+precision floating point value (unless the denominator evenly
+divides into the numerator). In order to do integer division
+or remainder with arbitrary precision integers, use the built-in
+@code{div()} function (@pxref{Numeric Functions}).
+
+You can simulate the @code{div()} function in standard @command{awk}
+using this user-defined function:
+
+@example
+@c file eg/lib/div.awk
+# div --- do integer division
+
+@c endfile
+@ignore
+@c file eg/lib/div.awk
+#
+# Arnold Robbins, arnold@@skeeve.com, Public Domain
+# July, 2014
+
+@c endfile
+
+@end ignore
+@c file eg/lib/div.awk
+function div(numerator, denominator, result, i)
+@{
+ split("", result)
+
+ numerator = int(numerator)
+ denominator = int(denominator)
+ result["quotient"] = int(numerator / denominator)
+ result["remainder"] = int(numerator % denominator)
+
+ return 0.0
+@}
+@c endfile
+@end example
+
@node POSIX Floating Point Problems
@section Standards Versus Existing Practice
@@ -35573,6 +35628,10 @@ and the documentation for @command{gawk} @value{PVERSION} 4.1:
Ultrix
@end itemize
+@item
+@c FIXME: Verify the version here.
+Support for MirBSD was removed at @command{gawk} @value{PVERSION} 4.2.
+
@end itemize
@c XXX ADD MORE STUFF HERE
@@ -36854,6 +36913,8 @@ The generated Info file for
The @command{troff} source for a manual page describing the @command{igawk}
program presented in
@ref{Igawk Program}.
+(Since @command{gawk} can do its own @code{@@include} processing,
+neither @command{igawk} nor @file{igawk.1} are installed.)
@item doc/Makefile.in
The input file used during the configuration process to generate the
@@ -36898,8 +36959,6 @@ source file for this @value{DOCUMENT}. It also contains a @file{Makefile.in} fil
@file{Makefile.am} is used by GNU Automake to create @file{Makefile.in}.
The library functions from
@ref{Library Functions},
-and the @command{igawk} program from
-@ref{Igawk Program},
are included as ready-to-use files in the @command{gawk} distribution.
They are installed as part of the installation process.
The rest of the programs in this @value{DOCUMENT} are available in appropriate
@@ -37945,9 +38004,10 @@ mail at the Internet address noted previously.
If you find bugs in one of the non-Unix ports of @command{gawk}, please send
an electronic mail message to the person who maintains that port. They
-are named in the following list, as well as in the @file{README} file in the @command{gawk}
-distribution. Information in the @file{README} file should be considered
-authoritative if it conflicts with this @value{DOCUMENT}.
+are named in the following list, as well as in the @file{README} file
+in the @command{gawk} distribution. Information in the @file{README}
+file should be considered authoritative if it conflicts with this
+@value{DOCUMENT}.
The people maintaining the non-Unix ports of @command{gawk} are
as follows:
@@ -37975,7 +38035,8 @@ John Malmberg, @EMAIL{wb8tyw@@qsl.net,wb8tyw at qsl.net}.
@end multitable
If your bug is also reproducible under Unix, please send a copy of your
-report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email list as well.
+report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email
+list as well.
@c ENDOFRANGE dbugg
@c ENDOFRANGE tblgawb
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index dfc710b5..595771d9 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -3845,10 +3845,8 @@ No space is allowed between the @option{-o} and @var{file}, if
@var{file} is supplied.
@quotation NOTE
-Due to the way @command{gawk} has evolved, with this option
-your program is still executed. This will change in the
-next major release such that @command{gawk} will only
-pretty-print the program and not run it.
+In the past, this option would also execute your program.
+This is no longer the case.
@end quotation
@item @option{-O}
@@ -4342,14 +4340,6 @@ two regexp matchers that @command{gawk} uses internally. (There aren't
supposed to be differences, but occasionally theory and practice don't
coordinate with each other.)
-@item GAWK_NO_PP_RUN
-If this variable exists, then when invoked with the @option{--pretty-print}
-option, @command{gawk} skips running the program.
-
-@quotation CAUTION
-This variable will not survive into the next major release.
-@end quotation
-
@item GAWK_STACKSIZE
This specifies the amount by which @command{gawk} should grow its
internal evaluation stack, when needed.
@@ -4930,17 +4920,18 @@ between @samp{0} and @samp{7}. For example, the code for the ASCII ESC
@item \x@var{hh}@dots{}
The hexadecimal value @var{hh}, where @var{hh} stands for a sequence
of hexadecimal digits (@samp{0}--@samp{9}, and either @samp{A}--@samp{F}
-or @samp{a}--@samp{f}). Like the same construct
-in ISO C, the escape sequence continues until the first nonhexadecimal
-digit is seen. @value{COMMONEXT}
-However, using more than two hexadecimal digits produces
-undefined results. (The @samp{\x} escape sequence is not allowed in
-POSIX @command{awk}.)
+or @samp{a}--@samp{f}). A maximum of two digts are allowed after
+the @samp{\x}. Any further hexadecimal digits are treated as simple
+letters or numbers. @value{COMMONEXT}
@quotation CAUTION
-The next major relase of @command{gawk} will change, such
-that a maximum of two hexadecimal digits following the
-@samp{\x} will be used.
+In ISO C, the escape sequence continues until the first nonhexadecimal
+digit is seen.
+@c FIXME: Add exact version here.
+For many years, @command{gawk} would continue incorporating
+hexadecimal digits into the value until a non-hexadecimal digit
+or the end of the string was encountered.
+However, using more than two hexadecimal digits produces
@end quotation
@cindex @code{\} (backslash), @code{\/} escape sequence
@@ -14021,10 +14012,18 @@ next file is opened.
An associative array containing the values of the environment. The array
indices are the environment variable names; the elements are the values of
the particular environment variables. For example,
-@code{ENVIRON["HOME"]} might be @code{"/home/arnold"}. Changing this array
-does not affect the environment passed on to any programs that
-@command{awk} may spawn via redirection or the @code{system()} function.
-(In a future version of @command{gawk}, it may do so.)
+@code{ENVIRON["HOME"]} might be @code{/home/arnold}.
+
+For POSIX @command{awk}, changing this array does not affect the
+environment passed on to any programs that @command{awk} may spawn via
+redirection or the @code{system()} function.
+
+However, beginning with version 4.2, if not in POSIX
+compatibility mode, @command{gawk} does update its own environment when
+@code{ENVIRON} is changed, thus changing the environment seen by programs
+that it creates. You should therefore be especially careful if you
+modify @code{ENVIRON["PATH"]"}, which is the search path for finding
+executable programs.
Some operating systems may not have environment variables.
On such systems, the @code{ENVIRON} array is empty (except for
@@ -16079,6 +16078,23 @@ You can use @samp{pi = atan2(0, -1)} to retrieve the value of
@cindex cosine
Return the cosine of @var{x}, with @var{x} in radians.
+@item @code{div(@var{numerator}, @var{denominator}, @var{result})}
+@cindexawkfunc{div}
+@cindex div
+Perform integer division, similar to the standard C function of the
+same name. First, truncate @code{numerator} and @code{denominator}
+towards zero, creating integer values. Clear the @code{result}
+array, and then set @code{result["quotient"]} to the result of
+@samp{numerator / denominator}, truncated towards zero to an integer,
+and set @code{result["remainder"]} to the result of @samp{numerator %
+denominator}, truncated towards zero to an integer. This function is
+primarily intended for use with arbitrary length integers; it avoids
+creating MPFR arbitrary precision floating-point values (@pxref{Arbitrary
+Precision Integers}).
+
+This function is a @code{gawk} extension. It is not available in
+compatibility mode (@pxref{Options}).
+
@item @code{exp(@var{x})}
@cindexawkfunc{exp}
@cindex exponent
@@ -26801,8 +26817,8 @@ When called this way, @command{gawk} ``pretty prints'' the program into
@file{awkprof.out}, without any execution counts.
@quotation NOTE
-The @option{--pretty-print} option still runs your program.
-This will change in the next major release.
+Once upon a time, the @option{--pretty-print} option would also run
+your program. This is is no longer the case.
@end quotation
@c ENDOFRANGE awkp
@c ENDOFRANGE proawk
@@ -29847,6 +29863,45 @@ to just use the following:
gawk -M 'BEGIN @{ n = 13; print n % 2 @}'
@end example
+When dividing two arbitrary precision integers with either
+@samp{/} or @samp{%}, the result is typically an arbitrary
+precision floating point value (unless the denominator evenly
+divides into the numerator). In order to do integer division
+or remainder with arbitrary precision integers, use the built-in
+@code{div()} function (@pxref{Numeric Functions}).
+
+You can simulate the @code{div()} function in standard @command{awk}
+using this user-defined function:
+
+@example
+@c file eg/lib/div.awk
+# div --- do integer division
+
+@c endfile
+@ignore
+@c file eg/lib/div.awk
+#
+# Arnold Robbins, arnold@@skeeve.com, Public Domain
+# July, 2014
+
+@c endfile
+
+@end ignore
+@c file eg/lib/div.awk
+function div(numerator, denominator, result, i)
+@{
+ split("", result)
+
+ numerator = int(numerator)
+ denominator = int(denominator)
+ result["quotient"] = int(numerator / denominator)
+ result["remainder"] = int(numerator % denominator)
+
+ return 0.0
+@}
+@c endfile
+@end example
+
@node POSIX Floating Point Problems
@section Standards Versus Existing Practice
@@ -34670,6 +34725,10 @@ and the documentation for @command{gawk} @value{PVERSION} 4.1:
Ultrix
@end itemize
+@item
+@c FIXME: Verify the version here.
+Support for MirBSD was removed at @command{gawk} @value{PVERSION} 4.2.
+
@end itemize
@c XXX ADD MORE STUFF HERE
@@ -35951,6 +36010,8 @@ The generated Info file for
The @command{troff} source for a manual page describing the @command{igawk}
program presented in
@ref{Igawk Program}.
+(Since @command{gawk} can do its own @code{@@include} processing,
+neither @command{igawk} nor @file{igawk.1} are installed.)
@item doc/Makefile.in
The input file used during the configuration process to generate the
@@ -35995,8 +36056,6 @@ source file for this @value{DOCUMENT}. It also contains a @file{Makefile.in} fil
@file{Makefile.am} is used by GNU Automake to create @file{Makefile.in}.
The library functions from
@ref{Library Functions},
-and the @command{igawk} program from
-@ref{Igawk Program},
are included as ready-to-use files in the @command{gawk} distribution.
They are installed as part of the installation process.
The rest of the programs in this @value{DOCUMENT} are available in appropriate
@@ -37042,9 +37101,10 @@ mail at the Internet address noted previously.
If you find bugs in one of the non-Unix ports of @command{gawk}, please send
an electronic mail message to the person who maintains that port. They
-are named in the following list, as well as in the @file{README} file in the @command{gawk}
-distribution. Information in the @file{README} file should be considered
-authoritative if it conflicts with this @value{DOCUMENT}.
+are named in the following list, as well as in the @file{README} file
+in the @command{gawk} distribution. Information in the @file{README}
+file should be considered authoritative if it conflicts with this
+@value{DOCUMENT}.
The people maintaining the non-Unix ports of @command{gawk} are
as follows:
@@ -37072,7 +37132,8 @@ John Malmberg, @EMAIL{wb8tyw@@qsl.net,wb8tyw at qsl.net}.
@end multitable
If your bug is also reproducible under Unix, please send a copy of your
-report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email list as well.
+report to the @EMAIL{bug-gawk@@gnu.org,bug-gawk at gnu dot org} email
+list as well.
@c ENDOFRANGE dbugg
@c ENDOFRANGE tblgawb