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.info1345
-rw-r--r--doc/gawk.texi124
-rw-r--r--doc/gawktexi.in124
9 files changed, 1044 insertions, 732 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 457ac8ed..95327540 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -31,6 +31,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.
@@ -64,6 +68,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.
@@ -78,6 +86,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
@@ -88,6 +108,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.
@@ -384,7 +409,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>
@@ -458,6 +483,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 4a70c2ed..a719cba1 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
@@ -2623,6 +2629,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 f008ecfa..1d8022f0 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -2575,10 +2575,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'
@@ -2964,11 +2962,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. 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.
@@ -3358,15 +3351,17 @@ 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
@@ -10216,10 +10211,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
@@ -11745,6 +11748,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
@@ -19681,8 +19699,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
@@ -22158,6 +22176,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
@@ -26184,6 +26225,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
@@ -27087,7 +27130,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
@@ -27129,11 +27174,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
@@ -31065,20 +31109,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)
@@ -31086,9 +31130,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)
@@ -31096,32 +31140,32 @@ Index
* -c option: Options. (line 81)
* -D option: Options. (line 108)
* -d option: Options. (line 93)
-* -e option: Options. (line 335)
+* -e option: Options. (line 333)
* -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)
@@ -31183,10 +31227,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.
@@ -31226,7 +31270,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)
@@ -31395,7 +31439,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)
@@ -31453,10 +31497,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.
@@ -31496,7 +31540,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)
@@ -31601,7 +31645,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)
@@ -31799,7 +31843,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 353)
+* csh utility, POSIXLY_CORRECT environment variable: Options. (line 351)
* 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)
@@ -31830,13 +31874,13 @@ Index
* dark corner, CONVFMT variable: Strings And Numbers. (line 40)
* dark corner, escape sequences: Other Arguments. (line 35)
* 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 301)
+* dark corner, FNR/NR variables: Auto-set. (line 309)
* dark corner, format-control characters: Control Letters. (line 18)
* dark corner, FS as null string: Single Character Fields.
(line 20)
@@ -31983,7 +32027,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)
@@ -32022,12 +32066,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)
@@ -32050,7 +32094,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 128)
+* differences in awk and gawk, PROCINFO array: Auto-set. (line 136)
* differences in awk and gawk, read timeouts: Read Timeout. (line 6)
* differences in awk and gawk, record separators: awk split records.
(line 124)
@@ -32060,7 +32104,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 257)
+* differences in awk and gawk, RT variable: Auto-set. (line 265)
* differences in awk and gawk, single-character fields: Single Character Fields.
(line 6)
* differences in awk and gawk, split() function: String Functions.
@@ -32068,7 +32112,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 261)
+* differences in awk and gawk, SYMTAB variable: Auto-set. (line 269)
* differences in awk and gawk, TEXTDOMAIN variable: User-modified.
(line 152)
* differences in awk and gawk, trunc-mod operation: Arithmetic Ops.
@@ -32084,6 +32128,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)
@@ -32107,8 +32152,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 133)
-* effective user ID of gawk user: Auto-set. (line 137)
+* effective group ID of gawk user: Auto-set. (line 141)
+* effective user ID of gawk user: Auto-set. (line 145)
* egrep utility <1>: Egrep Program. (line 6)
* egrep utility: Bracket Expressions. (line 26)
* egrep.awk program: Egrep Program. (line 54)
@@ -32163,13 +32208,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 139)
* 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)
@@ -32202,10 +32247,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)
@@ -32223,7 +32268,7 @@ Index
(line 6)
* extension API version: Extension Versioning.
(line 6)
-* extension API, version number: Auto-set. (line 224)
+* extension API, version number: Auto-set. (line 232)
* extension example: Extension Example. (line 6)
* extension registration: Registration Functions.
(line 6)
@@ -32305,7 +32350,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 46)
-* 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)
@@ -32373,9 +32418,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 301)
+* FNR variable, changing: Auto-set. (line 309)
* for statement: For Statement. (line 6)
* for statement, looping over arrays: Scanning an Array. (line 20)
* fork() extension function: Extension Sample Fork.
@@ -32412,7 +32457,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.
@@ -32425,7 +32470,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)
@@ -32476,7 +32521,7 @@ Index
* G-d: Acknowledgments. (line 92)
* Garfinkle, Scott: Contributors. (line 34)
* gawk program, dynamic profiling: Profiling. (line 179)
-* gawk version: Auto-set. (line 199)
+* gawk version: Auto-set. (line 207)
* gawk, ARGIND variable in: Other Arguments. (line 12)
* gawk, awk and <1>: This Manual. (line 14)
* gawk, awk and: Preface. (line 21)
@@ -32497,13 +32542,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 139)
* 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)
@@ -32514,7 +32559,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.
@@ -32545,7 +32590,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 128)
+* gawk, PROCINFO array in: Auto-set. (line 136)
* gawk, regexp constants and: Using Constant Regexps.
(line 28)
* gawk, regular expressions, case sensitivity: Case-sensitivity.
@@ -32553,18 +32598,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 257)
+* gawk, RT variable in <1>: Auto-set. (line 265)
* gawk, RT variable in <2>: Multiple Line. (line 129)
* gawk, RT variable in: awk split records. (line 124)
* 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 261)
+* gawk, SYMTAB array in: Auto-set. (line 269)
* 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)
@@ -32646,7 +32691,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 172)
+* group ID of gawk user: Auto-set. (line 180)
* groups, information about: Group Functions. (line 6)
* gsub <1>: String Functions. (line 139)
* gsub: Using Constant Regexps.
@@ -32747,7 +32792,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)
@@ -32876,7 +32921,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 338)
+ (line 336)
* lint checking, undefined functions: Pass By Value/Reference.
(line 88)
* LINT variable: User-modified. (line 88)
@@ -32892,14 +32937,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)
@@ -32939,8 +32984,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 213)
+* mawk utility: Escape Sequences. (line 132)
+* maximum precision supported by MPFR library: Auto-set. (line 221)
* McIlroy, Doug: Glossary. (line 149)
* McPhee, Patrick: Contributors. (line 100)
* message object files: Explaining gettext. (line 42)
@@ -32952,8 +32997,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 216)
+* metacharacters, escape sequences for: Escape Sequences. (line 138)
+* minimum precision supported by MPFR library: Auto-set. (line 224)
* mktime: Time Functions. (line 25)
* modifiers, in format specifiers: Format Modifiers. (line 6)
* monetary information, localization: Explaining gettext. (line 104)
@@ -32975,7 +33020,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)
@@ -33004,7 +33049,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.
@@ -33013,9 +33058,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 123)
+* NR variable <1>: Auto-set. (line 131)
* NR variable: Records. (line 6)
-* NR variable, changing: Auto-set. (line 301)
+* NR variable, changing: Auto-set. (line 309)
* null strings <1>: Basic Data Typing. (line 26)
* null strings <2>: Truth Values. (line 6)
* null strings <3>: Regexp Field Splitting.
@@ -33129,7 +33174,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 181)
+* parent process ID of gawk process: Auto-set. (line 189)
* parentheses (), in a profile: Profiling. (line 146)
* parentheses (), regexp operator: Regexp Operators. (line 81)
* password file: Passwd Functions. (line 16)
@@ -33171,14 +33216,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.
@@ -33196,7 +33241,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 358)
+* portability, POSIXLY_CORRECT environment variable: Options. (line 356)
* portability, substr() function: String Functions. (line 510)
* portable object files <1>: Translator i18n. (line 6)
* portable object files: Explaining gettext. (line 37)
@@ -33217,7 +33262,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.
@@ -33245,11 +33290,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 338)
+* POSIXLY_CORRECT environment variable: Options. (line 336)
* PREC variable: User-modified. (line 124)
* precedence <1>: Precedence. (line 6)
* precedence: Increment Ops. (line 60)
@@ -33292,24 +33337,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 175)
-* process ID of gawk process: Auto-set. (line 178)
+* process group idIDof gawk process: Auto-set. (line 183)
+* process ID of gawk process: Auto-set. (line 186)
* 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 128)
+* PROCINFO array: Auto-set. (line 136)
* 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 234)
+* PROCINFO array, uses: Auto-set. (line 242)
* 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 146)
+* program identifiers: Auto-set. (line 154)
* program, definition of: Getting Started. (line 21)
* programming conventions, --non-decimal-data option: Nondecimal Data.
(line 36)
@@ -33353,12 +33398,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)
@@ -33428,7 +33473,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)
@@ -33468,7 +33513,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 244)
+* RLENGTH variable: Auto-set. (line 252)
* RLENGTH variable, match() function and: String Functions. (line 224)
* Robbins, Arnold <1>: Future Extensions. (line 6)
* Robbins, Arnold <2>: Bugs. (line 32)
@@ -33486,7 +33531,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)
@@ -33494,9 +33539,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 250)
+* RSTART variable: Auto-set. (line 258)
* RSTART variable, match() function and: String Functions. (line 224)
-* RT variable <1>: Auto-set. (line 257)
+* RT variable <1>: Auto-set. (line 265)
* RT variable <2>: Multiple Line. (line 129)
* RT variable: awk split records. (line 124)
* Rubin, Paul <1>: Contributors. (line 15)
@@ -33509,14 +33554,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 284)
+* Schorr, Andrew <2>: Auto-set. (line 292)
* Schorr, Andrew: Acknowledgments. (line 60)
* Schreiber, Bert: Acknowledgments. (line 38)
* Schreiber, Rita: Acknowledgments. (line 38)
@@ -33536,7 +33581,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)
@@ -33597,14 +33642,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 299)
+* sidebar, Changing NR and FNR: Auto-set. (line 307)
* 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.
@@ -33637,8 +33682,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 33)
* single quote ('), in shell commands: Quoting. (line 48)
@@ -33688,10 +33733,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)
@@ -33763,9 +33808,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 229)
+* supplementary groups of gawk process: Auto-set. (line 237)
* switch statement: Switch Statement. (line 6)
-* SYMTAB array: Auto-set. (line 261)
+* SYMTAB array: Auto-set. (line 269)
* syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops.
(line 148)
* system: I/O Functions. (line 75)
@@ -33832,7 +33877,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)
@@ -33888,7 +33933,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 131)
* Unix awk, password files, field separators and: Command Line Field Separator.
@@ -33943,10 +33988,10 @@ Index
* variables, uninitialized, as array subscripts: Uninitialized Subscripts.
(line 6)
* variables, user-defined: Variables. (line 6)
-* version of gawk: Auto-set. (line 199)
-* version of gawk extension API: Auto-set. (line 224)
-* version of GNU MP library: Auto-set. (line 210)
-* version of GNU MPFR library: Auto-set. (line 206)
+* version of gawk: Auto-set. (line 207)
+* version of gawk extension API: Auto-set. (line 232)
+* version of GNU MP library: Auto-set. (line 218)
+* version of GNU MPFR library: Auto-set. (line 214)
* vertical bar (|): Regexp Operators. (line 70)
* vertical bar (|), | operator (I/O) <1>: Precedence. (line 65)
* vertical bar (|), | operator (I/O): Getline/Pipe. (line 9)
@@ -33980,7 +34025,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)
@@ -34072,514 +34117,514 @@ Node: Intro Summary110071
Node: Invoking Gawk110954
Node: Command Line112469
Node: Options113260
-Ref: Options-Footnote-1129036
-Node: Other Arguments129061
-Node: Naming Standard Input131889
-Node: Environment Variables132982
-Node: AWKPATH Variable133540
-Ref: AWKPATH Variable-Footnote-1136406
-Ref: AWKPATH Variable-Footnote-2136451
-Node: AWKLIBPATH Variable136711
-Node: Other Environment Variables137470
-Node: Exit Status141127
-Node: Include Files141802
-Node: Loading Shared Libraries145380
-Node: Obsolete146764
-Node: Undocumented147461
-Node: Invoking Summary147728
-Node: Regexp149328
-Node: Regexp Usage150787
-Node: Escape Sequences152820
-Node: Regexp Operators158808
-Ref: Regexp Operators-Footnote-1166239
-Ref: Regexp Operators-Footnote-2166386
-Node: Bracket Expressions166484
-Ref: table-char-classes168502
-Node: Leftmost Longest171442
-Node: Computed Regexps172646
-Node: GNU Regexp Operators176024
-Node: Case-sensitivity179730
-Ref: Case-sensitivity-Footnote-1182620
-Ref: Case-sensitivity-Footnote-2182855
-Node: Regexp Summary182963
-Node: Reading Files184432
-Node: Records186524
-Node: awk split records187246
-Node: gawk split records192104
-Ref: gawk split records-Footnote-1196625
-Node: Fields196662
-Ref: Fields-Footnote-1199626
-Node: Nonconstant Fields199712
-Ref: Nonconstant Fields-Footnote-1201942
-Node: Changing Fields202144
-Node: Field Separators208098
-Node: Default Field Splitting210800
-Node: Regexp Field Splitting211917
-Node: Single Character Fields215244
-Node: Command Line Field Separator216303
-Node: Full Line Fields219729
-Ref: Full Line Fields-Footnote-1220237
-Node: Field Splitting Summary220283
-Ref: Field Splitting Summary-Footnote-1223415
-Node: Constant Size223516
-Node: Splitting By Content228122
-Ref: Splitting By Content-Footnote-1232195
-Node: Multiple Line232235
-Ref: Multiple Line-Footnote-1238091
-Node: Getline238270
-Node: Plain Getline240481
-Node: Getline/Variable243187
-Node: Getline/File244334
-Node: Getline/Variable/File245718
-Ref: Getline/Variable/File-Footnote-1247317
-Node: Getline/Pipe247404
-Node: Getline/Variable/Pipe250090
-Node: Getline/Coprocess251197
-Node: Getline/Variable/Coprocess252449
-Node: Getline Notes253186
-Node: Getline Summary255990
-Ref: table-getline-variants256398
-Node: Read Timeout257310
-Ref: Read Timeout-Footnote-1261137
-Node: Command-line directories261195
-Node: Input Summary262099
-Node: Input Exercises265236
-Node: Printing265964
-Node: Print267686
-Node: Print Examples269179
-Node: Output Separators271958
-Node: OFMT273974
-Node: Printf275332
-Node: Basic Printf276238
-Node: Control Letters277777
-Node: Format Modifiers281768
-Node: Printf Examples287795
-Node: Redirection290259
-Node: Special Files297231
-Node: Special FD297764
-Ref: Special FD-Footnote-1301361
-Node: Special Network301435
-Node: Special Caveats302285
-Node: Close Files And Pipes303081
-Ref: Close Files And Pipes-Footnote-1310242
-Ref: Close Files And Pipes-Footnote-2310390
-Node: Output Summary310540
-Node: Output Exercises311537
-Node: Expressions312217
-Node: Values313402
-Node: Constants314078
-Node: Scalar Constants314758
-Ref: Scalar Constants-Footnote-1315617
-Node: Nondecimal-numbers315867
-Node: Regexp Constants318867
-Node: Using Constant Regexps319392
-Node: Variables322464
-Node: Using Variables323119
-Node: Assignment Options324843
-Node: Conversion326718
-Node: Strings And Numbers327242
-Ref: Strings And Numbers-Footnote-1330304
-Node: Locale influences conversions330413
-Ref: table-locale-affects333130
-Node: All Operators333718
-Node: Arithmetic Ops334348
-Node: Concatenation336853
-Ref: Concatenation-Footnote-1339672
-Node: Assignment Ops339778
-Ref: table-assign-ops344761
-Node: Increment Ops346064
-Node: Truth Values and Conditions349502
-Node: Truth Values350585
-Node: Typing and Comparison351634
-Node: Variable Typing352427
-Node: Comparison Operators356079
-Ref: table-relational-ops356489
-Node: POSIX String Comparison360039
-Ref: POSIX String Comparison-Footnote-1361123
-Node: Boolean Ops361261
-Ref: Boolean Ops-Footnote-1365600
-Node: Conditional Exp365691
-Node: Function Calls367418
-Node: Precedence371298
-Node: Locales374967
-Node: Expressions Summary376598
-Node: Patterns and Actions379139
-Node: Pattern Overview380255
-Node: Regexp Patterns381932
-Node: Expression Patterns382475
-Node: Ranges386255
-Node: BEGIN/END389361
-Node: Using BEGIN/END390123
-Ref: Using BEGIN/END-Footnote-1392859
-Node: I/O And BEGIN/END392965
-Node: BEGINFILE/ENDFILE395236
-Node: Empty398167
-Node: Using Shell Variables398484
-Node: Action Overview400767
-Node: Statements403094
-Node: If Statement404942
-Node: While Statement406440
-Node: Do Statement408484
-Node: For Statement409640
-Node: Switch Statement412792
-Node: Break Statement415180
-Node: Continue Statement417221
-Node: Next Statement419046
-Node: Nextfile Statement421436
-Node: Exit Statement424093
-Node: Built-in Variables426497
-Node: User-modified427624
-Ref: User-modified-Footnote-1435313
-Node: Auto-set435375
-Ref: Auto-set-Footnote-1447957
-Ref: Auto-set-Footnote-2448162
-Node: ARGC and ARGV448218
-Node: Pattern Action Summary452122
-Node: Arrays454345
-Node: Array Basics455894
-Node: Array Intro456720
-Ref: figure-array-elements458693
-Ref: Array Intro-Footnote-1461217
-Node: Reference to Elements461345
-Node: Assigning Elements463795
-Node: Array Example464286
-Node: Scanning an Array466018
-Node: Controlling Scanning469019
-Ref: Controlling Scanning-Footnote-1474192
-Node: Delete474508
-Ref: Delete-Footnote-1477259
-Node: Numeric Array Subscripts477316
-Node: Uninitialized Subscripts479499
-Node: Multidimensional481126
-Node: Multiscanning484239
-Node: Arrays of Arrays485828
-Node: Arrays Summary490491
-Node: Functions492596
-Node: Built-in493469
-Node: Calling Built-in494547
-Node: Numeric Functions496535
-Ref: Numeric Functions-Footnote-1500569
-Ref: Numeric Functions-Footnote-2500926
-Ref: Numeric Functions-Footnote-3500974
-Node: String Functions501243
-Ref: String Functions-Footnote-1524240
-Ref: String Functions-Footnote-2524369
-Ref: String Functions-Footnote-3524617
-Node: Gory Details524704
-Ref: table-sub-escapes526477
-Ref: table-sub-proposed527997
-Ref: table-posix-sub529361
-Ref: table-gensub-escapes530901
-Ref: Gory Details-Footnote-1532077
-Node: I/O Functions532228
-Ref: I/O Functions-Footnote-1539338
-Node: Time Functions539485
-Ref: Time Functions-Footnote-1549949
-Ref: Time Functions-Footnote-2550017
-Ref: Time Functions-Footnote-3550175
-Ref: Time Functions-Footnote-4550286
-Ref: Time Functions-Footnote-5550398
-Ref: Time Functions-Footnote-6550625
-Node: Bitwise Functions550891
-Ref: table-bitwise-ops551453
-Ref: Bitwise Functions-Footnote-1555698
-Node: Type Functions555882
-Node: I18N Functions557024
-Node: User-defined558669
-Node: Definition Syntax559473
-Ref: Definition Syntax-Footnote-1564786
-Node: Function Example564855
-Ref: Function Example-Footnote-1567495
-Node: Function Caveats567517
-Node: Calling A Function568035
-Node: Variable Scope568990
-Node: Pass By Value/Reference571978
-Node: Return Statement575488
-Node: Dynamic Typing578472
-Node: Indirect Calls579401
-Ref: Indirect Calls-Footnote-1589117
-Node: Functions Summary589245
-Node: Library Functions591895
-Ref: Library Functions-Footnote-1595513
-Ref: Library Functions-Footnote-2595656
-Node: Library Names595827
-Ref: Library Names-Footnote-1599300
-Ref: Library Names-Footnote-2599520
-Node: General Functions599606
-Node: Strtonum Function600634
-Node: Assert Function603508
-Node: Round Function606834
-Node: Cliff Random Function608375
-Node: Ordinal Functions609391
-Ref: Ordinal Functions-Footnote-1612456
-Ref: Ordinal Functions-Footnote-2612708
-Node: Join Function612919
-Ref: Join Function-Footnote-1614690
-Node: Getlocaltime Function614890
-Node: Readfile Function618626
-Node: Data File Management620465
-Node: Filetrans Function621097
-Node: Rewind Function625166
-Node: File Checking626724
-Ref: File Checking-Footnote-1627856
-Node: Empty Files628057
-Node: Ignoring Assigns630036
-Node: Getopt Function631590
-Ref: Getopt Function-Footnote-1642854
-Node: Passwd Functions643057
-Ref: Passwd Functions-Footnote-1652036
-Node: Group Functions652124
-Ref: Group Functions-Footnote-1660055
-Node: Walking Arrays660268
-Node: Library Functions Summary661871
-Node: Library Exercises663259
-Node: Sample Programs664539
-Node: Running Examples665309
-Node: Clones666037
-Node: Cut Program667261
-Node: Egrep Program677119
-Ref: Egrep Program-Footnote-1684706
-Node: Id Program684816
-Node: Split Program688470
-Ref: Split Program-Footnote-1692008
-Node: Tee Program692136
-Node: Uniq Program694923
-Node: Wc Program702346
-Ref: Wc Program-Footnote-1706611
-Node: Miscellaneous Programs706703
-Node: Dupword Program707916
-Node: Alarm Program709947
-Node: Translate Program714751
-Ref: Translate Program-Footnote-1719142
-Ref: Translate Program-Footnote-2719412
-Node: Labels Program719551
-Ref: Labels Program-Footnote-1722912
-Node: Word Sorting722996
-Node: History Sorting727039
-Node: Extract Program728875
-Node: Simple Sed736411
-Node: Igawk Program739473
-Ref: Igawk Program-Footnote-1753777
-Ref: Igawk Program-Footnote-2753978
-Node: Anagram Program754116
-Node: Signature Program757184
-Node: Programs Summary758431
-Node: Programs Exercises759646
-Ref: Programs Exercises-Footnote-1764033
-Node: Advanced Features764124
-Node: Nondecimal Data766072
-Node: Array Sorting767649
-Node: Controlling Array Traversal768346
-Node: Array Sorting Functions776626
-Ref: Array Sorting Functions-Footnote-1780533
-Node: Two-way I/O780727
-Ref: Two-way I/O-Footnote-1785671
-Ref: Two-way I/O-Footnote-2785850
-Node: TCP/IP Networking785932
-Node: Profiling788777
-Node: Advanced Features Summary796319
-Node: Internationalization798183
-Node: I18N and L10N799663
-Node: Explaining gettext800349
-Ref: Explaining gettext-Footnote-1805375
-Ref: Explaining gettext-Footnote-2805559
-Node: Programmer i18n805724
-Ref: Programmer i18n-Footnote-1810518
-Node: Translator i18n810567
-Node: String Extraction811361
-Ref: String Extraction-Footnote-1812494
-Node: Printf Ordering812580
-Ref: Printf Ordering-Footnote-1815362
-Node: I18N Portability815426
-Ref: I18N Portability-Footnote-1817875
-Node: I18N Example817938
-Ref: I18N Example-Footnote-1820644
-Node: Gawk I18N820716
-Node: I18N Summary821354
-Node: Debugger822693
-Node: Debugging823715
-Node: Debugging Concepts824156
-Node: Debugging Terms826012
-Node: Awk Debugging828609
-Node: Sample Debugging Session829501
-Node: Debugger Invocation830021
-Node: Finding The Bug831357
-Node: List of Debugger Commands837836
-Node: Breakpoint Control839168
-Node: Debugger Execution Control842832
-Node: Viewing And Changing Data846192
-Node: Execution Stack849550
-Node: Debugger Info851063
-Node: Miscellaneous Debugger Commands855057
-Node: Readline Support860241
-Node: Limitations861133
-Node: Debugging Summary863406
-Node: Arbitrary Precision Arithmetic864574
-Node: Computer Arithmetic866061
-Ref: Computer Arithmetic-Footnote-1870448
-Node: Math Definitions870505
-Ref: table-ieee-formats873794
-Ref: Math Definitions-Footnote-1874334
-Node: MPFR features874437
-Node: FP Math Caution876054
-Ref: FP Math Caution-Footnote-1877104
-Node: Inexactness of computations877473
-Node: Inexact representation878421
-Node: Comparing FP Values879776
-Node: Errors accumulate880740
-Node: Getting Accuracy882173
-Node: Try To Round884832
-Node: Setting precision885731
-Ref: table-predefined-precision-strings886413
-Node: Setting the rounding mode888206
-Ref: table-gawk-rounding-modes888570
-Ref: Setting the rounding mode-Footnote-1892024
-Node: Arbitrary Precision Integers892203
-Ref: Arbitrary Precision Integers-Footnote-1895184
-Node: POSIX Floating Point Problems895333
-Ref: POSIX Floating Point Problems-Footnote-1899209
-Node: Floating point summary899247
-Node: Dynamic Extensions901451
-Node: Extension Intro903003
-Node: Plugin License904268
-Node: Extension Mechanism Outline904953
-Ref: figure-load-extension905377
-Ref: figure-load-new-function906862
-Ref: figure-call-new-function907864
-Node: Extension API Description909848
-Node: Extension API Functions Introduction911298
-Node: General Data Types916165
-Ref: General Data Types-Footnote-1921858
-Node: Requesting Values922157
-Ref: table-value-types-returned922894
-Node: Memory Allocation Functions923852
-Ref: Memory Allocation Functions-Footnote-1926599
-Node: Constructor Functions926695
-Node: Registration Functions928453
-Node: Extension Functions929138
-Node: Exit Callback Functions931440
-Node: Extension Version String932688
-Node: Input Parsers933338
-Node: Output Wrappers943152
-Node: Two-way processors947668
-Node: Printing Messages949872
-Ref: Printing Messages-Footnote-1950949
-Node: Updating `ERRNO'951101
-Node: Accessing Parameters951840
-Node: Symbol Table Access953070
-Node: Symbol table by name953584
-Node: Symbol table by cookie955560
-Ref: Symbol table by cookie-Footnote-1959693
-Node: Cached values959756
-Ref: Cached values-Footnote-1963260
-Node: Array Manipulation963351
-Ref: Array Manipulation-Footnote-1964449
-Node: Array Data Types964488
-Ref: Array Data Types-Footnote-1967191
-Node: Array Functions967283
-Node: Flattening Arrays971157
-Node: Creating Arrays978009
-Node: Extension API Variables982740
-Node: Extension Versioning983376
-Node: Extension API Informational Variables985277
-Node: Extension API Boilerplate986363
-Node: Finding Extensions990167
-Node: Extension Example990727
-Node: Internal File Description991457
-Node: Internal File Ops995548
-Ref: Internal File Ops-Footnote-11006980
-Node: Using Internal File Ops1007120
-Ref: Using Internal File Ops-Footnote-11009467
-Node: Extension Samples1009735
-Node: Extension Sample File Functions1011259
-Node: Extension Sample Fnmatch1018827
-Node: Extension Sample Fork1020309
-Node: Extension Sample Inplace1021522
-Node: Extension Sample Ord1023197
-Node: Extension Sample Readdir1024033
-Ref: table-readdir-file-types1024889
-Node: Extension Sample Revout1025688
-Node: Extension Sample Rev2way1026279
-Node: Extension Sample Read write array1027020
-Node: Extension Sample Readfile1028899
-Node: Extension Sample API Tests1029999
-Node: Extension Sample Time1030524
-Node: gawkextlib1031839
-Node: Extension summary1034652
-Node: Extension Exercises1038345
-Node: Language History1039067
-Node: V7/SVR3.11040710
-Node: SVR41043030
-Node: POSIX1044472
-Node: BTL1045858
-Node: POSIX/GNU1046592
-Node: Feature History1052308
-Node: Common Extensions1065399
-Node: Ranges and Locales1066711
-Ref: Ranges and Locales-Footnote-11071328
-Ref: Ranges and Locales-Footnote-21071355
-Ref: Ranges and Locales-Footnote-31071589
-Node: Contributors1071810
-Node: History summary1077235
-Node: Installation1078604
-Node: Gawk Distribution1079555
-Node: Getting1080039
-Node: Extracting1080863
-Node: Distribution contents1082505
-Node: Unix Installation1088222
-Node: Quick Installation1088839
-Node: Additional Configuration Options1091281
-Node: Configuration Philosophy1093019
-Node: Non-Unix Installation1095370
-Node: PC Installation1095828
-Node: PC Binary Installation1097139
-Node: PC Compiling1098987
-Ref: PC Compiling-Footnote-11101986
-Node: PC Testing1102091
-Node: PC Using1103267
-Node: Cygwin1107419
-Node: MSYS1108228
-Node: VMS Installation1108742
-Node: VMS Compilation1109538
-Ref: VMS Compilation-Footnote-11110760
-Node: VMS Dynamic Extensions1110818
-Node: VMS Installation Details1112191
-Node: VMS Running1114443
-Node: VMS GNV1117277
-Node: VMS Old Gawk1118000
-Node: Bugs1118470
-Node: Other Versions1122474
-Node: Installation summary1128701
-Node: Notes1129757
-Node: Compatibility Mode1130622
-Node: Additions1131404
-Node: Accessing The Source1132329
-Node: Adding Code1133765
-Node: New Ports1139943
-Node: Derived Files1144424
-Ref: Derived Files-Footnote-11149505
-Ref: Derived Files-Footnote-21149539
-Ref: Derived Files-Footnote-31150135
-Node: Future Extensions1150249
-Node: Implementation Limitations1150855
-Node: Extension Design1152103
-Node: Old Extension Problems1153257
-Ref: Old Extension Problems-Footnote-11154774
-Node: Extension New Mechanism Goals1154831
-Ref: Extension New Mechanism Goals-Footnote-11158191
-Node: Extension Other Design Decisions1158380
-Node: Extension Future Growth1160486
-Node: Old Extension Mechanism1161322
-Node: Notes summary1163084
-Node: Basic Concepts1164270
-Node: Basic High Level1164951
-Ref: figure-general-flow1165223
-Ref: figure-process-flow1165822
-Ref: Basic High Level-Footnote-11169051
-Node: Basic Data Typing1169236
-Node: Glossary1172564
-Node: Copying1197716
-Node: GNU Free Documentation License1235272
-Node: Index1260408
+Ref: Options-Footnote-1128907
+Node: Other Arguments128932
+Node: Naming Standard Input131760
+Node: Environment Variables132853
+Node: AWKPATH Variable133411
+Ref: AWKPATH Variable-Footnote-1136277
+Ref: AWKPATH Variable-Footnote-2136322
+Node: AWKLIBPATH Variable136582
+Node: Other Environment Variables137341
+Node: Exit Status140793
+Node: Include Files141468
+Node: Loading Shared Libraries145046
+Node: Obsolete146430
+Node: Undocumented147127
+Node: Invoking Summary147394
+Node: Regexp148994
+Node: Regexp Usage150453
+Node: Escape Sequences152486
+Node: Regexp Operators158557
+Ref: Regexp Operators-Footnote-1165988
+Ref: Regexp Operators-Footnote-2166135
+Node: Bracket Expressions166233
+Ref: table-char-classes168251
+Node: Leftmost Longest171191
+Node: Computed Regexps172395
+Node: GNU Regexp Operators175773
+Node: Case-sensitivity179479
+Ref: Case-sensitivity-Footnote-1182369
+Ref: Case-sensitivity-Footnote-2182604
+Node: Regexp Summary182712
+Node: Reading Files184181
+Node: Records186273
+Node: awk split records186995
+Node: gawk split records191853
+Ref: gawk split records-Footnote-1196374
+Node: Fields196411
+Ref: Fields-Footnote-1199375
+Node: Nonconstant Fields199461
+Ref: Nonconstant Fields-Footnote-1201691
+Node: Changing Fields201893
+Node: Field Separators207847
+Node: Default Field Splitting210549
+Node: Regexp Field Splitting211666
+Node: Single Character Fields214993
+Node: Command Line Field Separator216052
+Node: Full Line Fields219478
+Ref: Full Line Fields-Footnote-1219986
+Node: Field Splitting Summary220032
+Ref: Field Splitting Summary-Footnote-1223164
+Node: Constant Size223265
+Node: Splitting By Content227871
+Ref: Splitting By Content-Footnote-1231944
+Node: Multiple Line231984
+Ref: Multiple Line-Footnote-1237840
+Node: Getline238019
+Node: Plain Getline240230
+Node: Getline/Variable242936
+Node: Getline/File244083
+Node: Getline/Variable/File245467
+Ref: Getline/Variable/File-Footnote-1247066
+Node: Getline/Pipe247153
+Node: Getline/Variable/Pipe249839
+Node: Getline/Coprocess250946
+Node: Getline/Variable/Coprocess252198
+Node: Getline Notes252935
+Node: Getline Summary255739
+Ref: table-getline-variants256147
+Node: Read Timeout257059
+Ref: Read Timeout-Footnote-1260886
+Node: Command-line directories260944
+Node: Input Summary261848
+Node: Input Exercises264985
+Node: Printing265713
+Node: Print267435
+Node: Print Examples268928
+Node: Output Separators271707
+Node: OFMT273723
+Node: Printf275081
+Node: Basic Printf275987
+Node: Control Letters277526
+Node: Format Modifiers281517
+Node: Printf Examples287544
+Node: Redirection290008
+Node: Special Files296980
+Node: Special FD297513
+Ref: Special FD-Footnote-1301110
+Node: Special Network301184
+Node: Special Caveats302034
+Node: Close Files And Pipes302830
+Ref: Close Files And Pipes-Footnote-1309991
+Ref: Close Files And Pipes-Footnote-2310139
+Node: Output Summary310289
+Node: Output Exercises311286
+Node: Expressions311966
+Node: Values313151
+Node: Constants313827
+Node: Scalar Constants314507
+Ref: Scalar Constants-Footnote-1315366
+Node: Nondecimal-numbers315616
+Node: Regexp Constants318616
+Node: Using Constant Regexps319141
+Node: Variables322213
+Node: Using Variables322868
+Node: Assignment Options324592
+Node: Conversion326467
+Node: Strings And Numbers326991
+Ref: Strings And Numbers-Footnote-1330053
+Node: Locale influences conversions330162
+Ref: table-locale-affects332879
+Node: All Operators333467
+Node: Arithmetic Ops334097
+Node: Concatenation336602
+Ref: Concatenation-Footnote-1339421
+Node: Assignment Ops339527
+Ref: table-assign-ops344510
+Node: Increment Ops345813
+Node: Truth Values and Conditions349251
+Node: Truth Values350334
+Node: Typing and Comparison351383
+Node: Variable Typing352176
+Node: Comparison Operators355828
+Ref: table-relational-ops356238
+Node: POSIX String Comparison359788
+Ref: POSIX String Comparison-Footnote-1360872
+Node: Boolean Ops361010
+Ref: Boolean Ops-Footnote-1365349
+Node: Conditional Exp365440
+Node: Function Calls367167
+Node: Precedence371047
+Node: Locales374716
+Node: Expressions Summary376347
+Node: Patterns and Actions378888
+Node: Pattern Overview380004
+Node: Regexp Patterns381681
+Node: Expression Patterns382224
+Node: Ranges386004
+Node: BEGIN/END389110
+Node: Using BEGIN/END389872
+Ref: Using BEGIN/END-Footnote-1392608
+Node: I/O And BEGIN/END392714
+Node: BEGINFILE/ENDFILE394985
+Node: Empty397916
+Node: Using Shell Variables398233
+Node: Action Overview400516
+Node: Statements402843
+Node: If Statement404691
+Node: While Statement406189
+Node: Do Statement408233
+Node: For Statement409389
+Node: Switch Statement412541
+Node: Break Statement414929
+Node: Continue Statement416970
+Node: Next Statement418795
+Node: Nextfile Statement421185
+Node: Exit Statement423842
+Node: Built-in Variables426246
+Node: User-modified427373
+Ref: User-modified-Footnote-1435062
+Node: Auto-set435124
+Ref: Auto-set-Footnote-1448043
+Ref: Auto-set-Footnote-2448248
+Node: ARGC and ARGV448304
+Node: Pattern Action Summary452208
+Node: Arrays454431
+Node: Array Basics455980
+Node: Array Intro456806
+Ref: figure-array-elements458779
+Ref: Array Intro-Footnote-1461303
+Node: Reference to Elements461431
+Node: Assigning Elements463881
+Node: Array Example464372
+Node: Scanning an Array466104
+Node: Controlling Scanning469105
+Ref: Controlling Scanning-Footnote-1474278
+Node: Delete474594
+Ref: Delete-Footnote-1477345
+Node: Numeric Array Subscripts477402
+Node: Uninitialized Subscripts479585
+Node: Multidimensional481212
+Node: Multiscanning484325
+Node: Arrays of Arrays485914
+Node: Arrays Summary490577
+Node: Functions492682
+Node: Built-in493555
+Node: Calling Built-in494633
+Node: Numeric Functions496621
+Ref: Numeric Functions-Footnote-1501457
+Ref: Numeric Functions-Footnote-2501814
+Ref: Numeric Functions-Footnote-3501862
+Node: String Functions502131
+Ref: String Functions-Footnote-1525128
+Ref: String Functions-Footnote-2525257
+Ref: String Functions-Footnote-3525505
+Node: Gory Details525592
+Ref: table-sub-escapes527365
+Ref: table-sub-proposed528885
+Ref: table-posix-sub530249
+Ref: table-gensub-escapes531789
+Ref: Gory Details-Footnote-1532965
+Node: I/O Functions533116
+Ref: I/O Functions-Footnote-1540226
+Node: Time Functions540373
+Ref: Time Functions-Footnote-1550837
+Ref: Time Functions-Footnote-2550905
+Ref: Time Functions-Footnote-3551063
+Ref: Time Functions-Footnote-4551174
+Ref: Time Functions-Footnote-5551286
+Ref: Time Functions-Footnote-6551513
+Node: Bitwise Functions551779
+Ref: table-bitwise-ops552341
+Ref: Bitwise Functions-Footnote-1556586
+Node: Type Functions556770
+Node: I18N Functions557912
+Node: User-defined559557
+Node: Definition Syntax560361
+Ref: Definition Syntax-Footnote-1565674
+Node: Function Example565743
+Ref: Function Example-Footnote-1568383
+Node: Function Caveats568405
+Node: Calling A Function568923
+Node: Variable Scope569878
+Node: Pass By Value/Reference572866
+Node: Return Statement576376
+Node: Dynamic Typing579360
+Node: Indirect Calls580289
+Ref: Indirect Calls-Footnote-1590005
+Node: Functions Summary590133
+Node: Library Functions592783
+Ref: Library Functions-Footnote-1596401
+Ref: Library Functions-Footnote-2596544
+Node: Library Names596715
+Ref: Library Names-Footnote-1600188
+Ref: Library Names-Footnote-2600408
+Node: General Functions600494
+Node: Strtonum Function601522
+Node: Assert Function604396
+Node: Round Function607722
+Node: Cliff Random Function609263
+Node: Ordinal Functions610279
+Ref: Ordinal Functions-Footnote-1613344
+Ref: Ordinal Functions-Footnote-2613596
+Node: Join Function613807
+Ref: Join Function-Footnote-1615578
+Node: Getlocaltime Function615778
+Node: Readfile Function619514
+Node: Data File Management621353
+Node: Filetrans Function621985
+Node: Rewind Function626054
+Node: File Checking627612
+Ref: File Checking-Footnote-1628744
+Node: Empty Files628945
+Node: Ignoring Assigns630924
+Node: Getopt Function632478
+Ref: Getopt Function-Footnote-1643742
+Node: Passwd Functions643945
+Ref: Passwd Functions-Footnote-1652924
+Node: Group Functions653012
+Ref: Group Functions-Footnote-1660943
+Node: Walking Arrays661156
+Node: Library Functions Summary662759
+Node: Library Exercises664147
+Node: Sample Programs665427
+Node: Running Examples666197
+Node: Clones666925
+Node: Cut Program668149
+Node: Egrep Program678007
+Ref: Egrep Program-Footnote-1685594
+Node: Id Program685704
+Node: Split Program689358
+Ref: Split Program-Footnote-1692896
+Node: Tee Program693024
+Node: Uniq Program695811
+Node: Wc Program703234
+Ref: Wc Program-Footnote-1707499
+Node: Miscellaneous Programs707591
+Node: Dupword Program708804
+Node: Alarm Program710835
+Node: Translate Program715639
+Ref: Translate Program-Footnote-1720030
+Ref: Translate Program-Footnote-2720300
+Node: Labels Program720439
+Ref: Labels Program-Footnote-1723800
+Node: Word Sorting723884
+Node: History Sorting727927
+Node: Extract Program729763
+Node: Simple Sed737299
+Node: Igawk Program740361
+Ref: Igawk Program-Footnote-1754665
+Ref: Igawk Program-Footnote-2754866
+Node: Anagram Program755004
+Node: Signature Program758072
+Node: Programs Summary759319
+Node: Programs Exercises760534
+Ref: Programs Exercises-Footnote-1764921
+Node: Advanced Features765012
+Node: Nondecimal Data766960
+Node: Array Sorting768537
+Node: Controlling Array Traversal769234
+Node: Array Sorting Functions777514
+Ref: Array Sorting Functions-Footnote-1781421
+Node: Two-way I/O781615
+Ref: Two-way I/O-Footnote-1786559
+Ref: Two-way I/O-Footnote-2786738
+Node: TCP/IP Networking786820
+Node: Profiling789665
+Node: Advanced Features Summary797216
+Node: Internationalization799080
+Node: I18N and L10N800560
+Node: Explaining gettext801246
+Ref: Explaining gettext-Footnote-1806272
+Ref: Explaining gettext-Footnote-2806456
+Node: Programmer i18n806621
+Ref: Programmer i18n-Footnote-1811415
+Node: Translator i18n811464
+Node: String Extraction812258
+Ref: String Extraction-Footnote-1813391
+Node: Printf Ordering813477
+Ref: Printf Ordering-Footnote-1816259
+Node: I18N Portability816323
+Ref: I18N Portability-Footnote-1818772
+Node: I18N Example818835
+Ref: I18N Example-Footnote-1821541
+Node: Gawk I18N821613
+Node: I18N Summary822251
+Node: Debugger823590
+Node: Debugging824612
+Node: Debugging Concepts825053
+Node: Debugging Terms826909
+Node: Awk Debugging829506
+Node: Sample Debugging Session830398
+Node: Debugger Invocation830918
+Node: Finding The Bug832254
+Node: List of Debugger Commands838733
+Node: Breakpoint Control840065
+Node: Debugger Execution Control843729
+Node: Viewing And Changing Data847089
+Node: Execution Stack850447
+Node: Debugger Info851960
+Node: Miscellaneous Debugger Commands855954
+Node: Readline Support861138
+Node: Limitations862030
+Node: Debugging Summary864303
+Node: Arbitrary Precision Arithmetic865471
+Node: Computer Arithmetic866958
+Ref: Computer Arithmetic-Footnote-1871345
+Node: Math Definitions871402
+Ref: table-ieee-formats874691
+Ref: Math Definitions-Footnote-1875231
+Node: MPFR features875334
+Node: FP Math Caution876951
+Ref: FP Math Caution-Footnote-1878001
+Node: Inexactness of computations878370
+Node: Inexact representation879318
+Node: Comparing FP Values880673
+Node: Errors accumulate881637
+Node: Getting Accuracy883070
+Node: Try To Round885729
+Node: Setting precision886628
+Ref: table-predefined-precision-strings887310
+Node: Setting the rounding mode889103
+Ref: table-gawk-rounding-modes889467
+Ref: Setting the rounding mode-Footnote-1892921
+Node: Arbitrary Precision Integers893100
+Ref: Arbitrary Precision Integers-Footnote-1896873
+Node: POSIX Floating Point Problems897022
+Ref: POSIX Floating Point Problems-Footnote-1900898
+Node: Floating point summary900936
+Node: Dynamic Extensions903140
+Node: Extension Intro904692
+Node: Plugin License905957
+Node: Extension Mechanism Outline906642
+Ref: figure-load-extension907066
+Ref: figure-load-new-function908551
+Ref: figure-call-new-function909553
+Node: Extension API Description911537
+Node: Extension API Functions Introduction912987
+Node: General Data Types917854
+Ref: General Data Types-Footnote-1923547
+Node: Requesting Values923846
+Ref: table-value-types-returned924583
+Node: Memory Allocation Functions925541
+Ref: Memory Allocation Functions-Footnote-1928288
+Node: Constructor Functions928384
+Node: Registration Functions930142
+Node: Extension Functions930827
+Node: Exit Callback Functions933129
+Node: Extension Version String934377
+Node: Input Parsers935027
+Node: Output Wrappers944841
+Node: Two-way processors949357
+Node: Printing Messages951561
+Ref: Printing Messages-Footnote-1952638
+Node: Updating `ERRNO'952790
+Node: Accessing Parameters953529
+Node: Symbol Table Access954759
+Node: Symbol table by name955273
+Node: Symbol table by cookie957249
+Ref: Symbol table by cookie-Footnote-1961382
+Node: Cached values961445
+Ref: Cached values-Footnote-1964949
+Node: Array Manipulation965040
+Ref: Array Manipulation-Footnote-1966138
+Node: Array Data Types966177
+Ref: Array Data Types-Footnote-1968880
+Node: Array Functions968972
+Node: Flattening Arrays972846
+Node: Creating Arrays979698
+Node: Extension API Variables984429
+Node: Extension Versioning985065
+Node: Extension API Informational Variables986966
+Node: Extension API Boilerplate988052
+Node: Finding Extensions991856
+Node: Extension Example992416
+Node: Internal File Description993146
+Node: Internal File Ops997237
+Ref: Internal File Ops-Footnote-11008669
+Node: Using Internal File Ops1008809
+Ref: Using Internal File Ops-Footnote-11011156
+Node: Extension Samples1011424
+Node: Extension Sample File Functions1012948
+Node: Extension Sample Fnmatch1020516
+Node: Extension Sample Fork1021998
+Node: Extension Sample Inplace1023211
+Node: Extension Sample Ord1024886
+Node: Extension Sample Readdir1025722
+Ref: table-readdir-file-types1026578
+Node: Extension Sample Revout1027377
+Node: Extension Sample Rev2way1027968
+Node: Extension Sample Read write array1028709
+Node: Extension Sample Readfile1030588
+Node: Extension Sample API Tests1031688
+Node: Extension Sample Time1032213
+Node: gawkextlib1033528
+Node: Extension summary1036341
+Node: Extension Exercises1040034
+Node: Language History1040756
+Node: V7/SVR3.11042399
+Node: SVR41044719
+Node: POSIX1046161
+Node: BTL1047547
+Node: POSIX/GNU1048281
+Node: Feature History1054057
+Node: Common Extensions1067148
+Node: Ranges and Locales1068460
+Ref: Ranges and Locales-Footnote-11073077
+Ref: Ranges and Locales-Footnote-21073104
+Ref: Ranges and Locales-Footnote-31073338
+Node: Contributors1073559
+Node: History summary1078984
+Node: Installation1080353
+Node: Gawk Distribution1081304
+Node: Getting1081788
+Node: Extracting1082612
+Node: Distribution contents1084254
+Node: Unix Installation1090024
+Node: Quick Installation1090641
+Node: Additional Configuration Options1093083
+Node: Configuration Philosophy1094821
+Node: Non-Unix Installation1097172
+Node: PC Installation1097630
+Node: PC Binary Installation1098941
+Node: PC Compiling1100789
+Ref: PC Compiling-Footnote-11103788
+Node: PC Testing1103893
+Node: PC Using1105069
+Node: Cygwin1109221
+Node: MSYS1110030
+Node: VMS Installation1110544
+Node: VMS Compilation1111340
+Ref: VMS Compilation-Footnote-11112562
+Node: VMS Dynamic Extensions1112620
+Node: VMS Installation Details1113993
+Node: VMS Running1116245
+Node: VMS GNV1119079
+Node: VMS Old Gawk1119802
+Node: Bugs1120272
+Node: Other Versions1124276
+Node: Installation summary1130503
+Node: Notes1131559
+Node: Compatibility Mode1132424
+Node: Additions1133206
+Node: Accessing The Source1134131
+Node: Adding Code1135567
+Node: New Ports1141745
+Node: Derived Files1146226
+Ref: Derived Files-Footnote-11151307
+Ref: Derived Files-Footnote-21151341
+Ref: Derived Files-Footnote-31151937
+Node: Future Extensions1152051
+Node: Implementation Limitations1152657
+Node: Extension Design1153905
+Node: Old Extension Problems1155059
+Ref: Old Extension Problems-Footnote-11156576
+Node: Extension New Mechanism Goals1156633
+Ref: Extension New Mechanism Goals-Footnote-11159993
+Node: Extension Other Design Decisions1160182
+Node: Extension Future Growth1162288
+Node: Old Extension Mechanism1163124
+Node: Notes summary1164886
+Node: Basic Concepts1166072
+Node: Basic High Level1166753
+Ref: figure-general-flow1167025
+Ref: figure-process-flow1167624
+Ref: Basic High Level-Footnote-11170853
+Node: Basic Data Typing1171038
+Node: Glossary1174366
+Node: Copying1199518
+Node: GNU Free Documentation License1237074
+Node: Index1262210

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 6e917e44..7fc342c3 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -3912,10 +3912,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}
@@ -4406,11 +4404,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. This variable will
-not survive into the next major release.
-
@item GAWK_STACKSIZE
This specifies the amount by which @command{gawk} should grow its
internal evaluation stack, when needed.
@@ -4990,17 +4983,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
@@ -14653,10 +14647,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
@@ -16751,6 +16753,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
@@ -27658,8 +27677,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
@@ -30704,6 +30723,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
@@ -35527,6 +35585,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
@@ -36808,6 +36870,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
@@ -36852,8 +36916,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
@@ -37899,9 +37961,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:
@@ -37929,7 +37992,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 a6ece064..9bef7907 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -3823,10 +3823,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}
@@ -4317,11 +4315,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. This variable will
-not survive into the next major release.
-
@item GAWK_STACKSIZE
This specifies the amount by which @command{gawk} should grow its
internal evaluation stack, when needed.
@@ -4901,17 +4894,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
@@ -13987,10 +13981,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
@@ -16039,6 +16041,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
@@ -26756,8 +26775,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
@@ -29802,6 +29821,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
@@ -34625,6 +34683,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
@@ -35906,6 +35968,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
@@ -35950,8 +36014,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
@@ -36997,9 +37059,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:
@@ -37027,7 +37090,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