aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.info
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.info')
-rw-r--r--doc/gawk.info1594
1 files changed, 874 insertions, 720 deletions
diff --git a/doc/gawk.info b/doc/gawk.info
index 4e975b14..1c74fc99 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -615,6 +615,7 @@ entitled "GNU Free Documentation License".
* Unix Installation:: Installing `gawk' under
various versions of Unix.
* Quick Installation:: Compiling `gawk' under Unix.
+* Shell Startup Files:: Shell convenience functions.
* Additional Configuration Options:: Other compile-time options.
* Configuration Philosophy:: How it's all supposed to work.
* Non-Unix Installation:: Installation on Other Operating
@@ -2634,10 +2635,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 still executes. 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'
@@ -2937,6 +2936,9 @@ Since `.' is included at the beginning, `gawk' searches first in the
current directory and then in `/usr/local/share/awk'. In practice,
this means that you will rarely need to change the value of `AWKPATH'.
+ *Note Shell Startup Files::, for information on functions that help
+to manipulate the `AWKPATH' variable.
+
`gawk' places the value of the search path that it used into
`ENVIRON["AWKPATH"]'. This provides access to the actual search path
value from within an `awk' program.
@@ -2976,6 +2978,9 @@ empty value, `gawk' uses a default path; this is typically
`/usr/local/lib/gawk', although it can vary depending upon how `gawk'
was built.
+ *Note Shell Startup Files::, for information on functions that help
+to manipulate the `AWKLIBPATH' variable.
+
`gawk' places the value of the search path that it used into
`ENVIRON["AWKLIBPATH"]'. This provides access to the actual search path
value from within an `awk' program.
@@ -3047,13 +3052,6 @@ change. The variables are:
supposed to be differences, but occasionally theory and practice
don't coordinate with each other.)
-`GAWK_NO_PP_RUN'
- When `gawk' is invoked with the `--pretty-print' option, it will
- not run the program if this environment variable exists.
-
- CAUTION: This variable will not survive into the next major
- release.
-
`GAWK_STACKSIZE'
This specifies the amount by which `gawk' should grow its internal
evaluation stack, when needed.
@@ -3445,15 +3443,18 @@ sequences apply to both string constants and regexp constants:
`\xHH...'
The hexadecimal value HH, where HH stands for a sequence of
- hexadecimal digits (`0'-`9', and either `A'-`F' or `a'-`f'). Like
- the same construct in ISO C, the escape sequence continues until
- the first nonhexadecimal digit is seen. (c.e.) However, using
- more than two hexadecimal digits produces undefined results. (The
- `\x' escape sequence is not allowed in POSIX `awk'.)
-
- CAUTION: The next major release of `gawk' will change, such
- that a maximum of two hexadecimal digits following the `\x'
- will be used.
+ 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.) (The `\x' escape sequence is not allowed in POSIX awk.)
+
+ 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 produced undefined results. As of version *FIXME:*
+ 4.3.0, only two digits are processed.
`\/'
A literal slash (necessary for regexp constants only). This
@@ -10326,10 +10327,24 @@ 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.
+
+ This can also affect the running `gawk' program, since some of the
+ built-in functions may pay attention to certain environment
+ variables. The most notable instance of this is `mktime()' (*note
+ Time Functions::), which pays attention the value of the `TZ'
+ environment variable on many systems.
Some operating systems may not have environment variables. On
such systems, the `ENVIRON' array is empty (except for
@@ -11894,6 +11909,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
@@ -19887,8 +19917,7 @@ output. They are as follows:
you typed when you wrote it. This is because `gawk' creates the
profiled version by "pretty printing" its internal representation of
the program. The advantage to this is that `gawk' can produce a
-standard representation. The disadvantage is that all source-code
-comments are lost. Also, things such as:
+standard representation. Also, things such as:
/foo/
@@ -19947,8 +19976,24 @@ 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.
+
+ There is a significant difference between the output created when
+profiling, and that created when pretty-printing. Pretty-printed output
+preserves the original comments that were in the program, although their
+placement may not correspond exactly to their original locations in the
+source code.
+
+ However, as a deliberate design decision, profiling output _omits_
+the original program's comments. This allows you to focus on the
+execution count data and helps you avoid the temptation to use the
+profiler for pretty-printing.
+
+ Additionally, pretty-printed output does not have the leading
+indentation that the profiling output does. This makes it easy to
+pretty-print your code once development is completed, and then use the
+result as the final version of your program.

File: gawk.info, Node: Advanced Features Summary, Prev: Profiling, Up: Advanced Features
@@ -22435,6 +22480,62 @@ 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)
+ {
+ split("", result)
+
+ numerator = int(numerator)
+ denominator = int(denominator)
+ result["quotient"] = int(numerator / denominator)
+ result["remainder"] = int(numerator % denominator)
+
+ return 0.0
+ }
+
+ The following example program, contributed by Katie Wasserman, uses
+`div()' to compute the digits of pi to as many places as you choose to
+set:
+
+ # pi.awk --- compute the digits of pi
+
+ BEGIN {
+ digits = 100000
+ two = 2 * 10 ^ digits
+ pi = two
+ for (m = digits * 4; m > 0; --m) {
+ d = m * 2 + 1
+ x = pi * m
+ div(x, d, result)
+ pi = result["quotient"]
+ pi = pi + two
+ }
+ print pi
+ }
+
+ When asked about the algorithm used, Katie replied:
+
+ It's not that well known but it's not that obscure either. It's
+ Euler's modification to Newton's method for calculating pi. Take
+ a look at lines (23) - (25) here:
+ `http://mathworld.wolfram.com/PiFormulas.html'.
+
+ The algorithm I wrote simply expands the multiply by 2 and works
+ from the innermost expression outwards. I used this to program HP
+ calculators because it's quite easy to modify for tiny memory
+ devices with smallish word sizes. See
+ `http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=899'.
+
---------- Footnotes ----------
(1) Weisstein, Eric W. `Sylvester's Sequence'. From MathWorld--A
@@ -26463,6 +26564,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
@@ -27365,7 +27468,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
@@ -27407,17 +27512,23 @@ 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
sample extensions included with `gawk'. *Note Dynamic
Extensions::, for more information.
+`extras/*'
+ Additional non-essential files. Currently, this directory
+ contains some shell startup files to be installed in
+ `/etc/profile.d' to aid in manipulating the `AWKPATH' and
+ `AWKLIBPATH' environment variables. *Note Shell Startup Files::,
+ for more information.
+
`posix/*'
Files needed for building `gawk' on POSIX-compliant systems.
@@ -27448,11 +27559,12 @@ configure `gawk' for your system yourself.
* Menu:
* Quick Installation:: Compiling `gawk' under Unix.
+* Shell Startup Files:: Shell convenience functions.
* Additional Configuration Options:: Other compile-time options.
* Configuration Philosophy:: How it's all supposed to work.

-File: gawk.info, Node: Quick Installation, Next: Additional Configuration Options, Up: Unix Installation
+File: gawk.info, Node: Quick Installation, Next: Shell Startup Files, Up: Unix Installation
B.2.1 Compiling `gawk' for Unix-Like Systems
--------------------------------------------
@@ -27508,9 +27620,43 @@ will be asked for your password, and you will have to have been set up
previously as a user who is allowed to run the `sudo' command.

-File: gawk.info, Node: Additional Configuration Options, Next: Configuration Philosophy, Prev: Quick Installation, Up: Unix Installation
+File: gawk.info, Node: Shell Startup Files, Next: Additional Configuration Options, Prev: Quick Installation, Up: Unix Installation
+
+B.2.2 Shell Startup Files
+-------------------------
+
+The distribution contains shell startup files `gawk.sh' and `gawk.csh'
+containing functions to aid in manipulating the `AWKPATH' and
+`AWKLIBPATH' environment variables. On a Fedora system, these files
+should be installed in `/etc/profile.d'; on other platforms, the
+appropriate location may be different.
+
+`gawkpath_default'
+ Reset the `AWKPATH' environment variable to its default value.
+
+`gawkpath_prepend'
+ Add the argument to the front of the `AWKPATH' environment
+ variable.
+
+`gawkpath_append'
+ Add the argument to the end of the `AWKPATH' environment variable.
+
+`gawklibpath_default'
+ Reset the `AWKLIBPATH' environment variable to its default value.
+
+`gawklibpath_prepend'
+ Add the argument to the front of the `AWKLIBPATH' environment
+ variable.
+
+`gawklibpath_append'
+ Add the argument to the end of the `AWKLIBPATH' environment
+ variable.
+
+
+
+File: gawk.info, Node: Additional Configuration Options, Next: Configuration Philosophy, Prev: Shell Startup Files, Up: Unix Installation
-B.2.2 Additional Configuration Options
+B.2.3 Additional Configuration Options
--------------------------------------
There are several additional options you may use on the `configure'
@@ -27552,7 +27698,7 @@ supplied by `configure'.

File: gawk.info, Node: Configuration Philosophy, Prev: Additional Configuration Options, Up: Unix Installation
-B.2.3 The Configuration Process
+B.2.4 The Configuration Process
-------------------------------
This minor node is of interest only if you know something about using
@@ -31504,20 +31650,20 @@ Index
* --include option: Options. (line 159)
* --lint option <1>: Options. (line 185)
* --lint option: Command Line. (line 20)
-* --lint-old option: Options. (line 297)
+* --lint-old option: Options. (line 295)
* --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 35)
-* --optimize option: Options. (line 238)
-* --posix option: Options. (line 256)
-* --posix option, --traditional option and: Options. (line 275)
+* --optimize option: Options. (line 236)
+* --posix option: Options. (line 254)
+* --posix option, --traditional option and: Options. (line 273)
* --pretty-print option: Options. (line 225)
* --profile option <1>: Profiling. (line 12)
-* --profile option: Options. (line 244)
-* --re-interval option: Options. (line 281)
-* --sandbox option: Options. (line 288)
+* --profile option: Options. (line 242)
+* --re-interval option: Options. (line 279)
+* --sandbox option: Options. (line 286)
* --sandbox option, disabling system() function: I/O Functions.
(line 129)
* --sandbox option, input redirection with getline: Getline. (line 19)
@@ -31525,9 +31671,9 @@ Index
(line 6)
* --source option: Options. (line 117)
* --traditional option: Options. (line 81)
-* --traditional option, --posix option and: Options. (line 275)
+* --traditional option, --posix option and: Options. (line 273)
* --use-lc-numeric option: Options. (line 220)
-* --version option: Options. (line 302)
+* --version option: Options. (line 300)
* --with-whiny-user-strftime configuration option: Additional Configuration Options.
(line 35)
* -b option: Options. (line 68)
@@ -31535,32 +31681,32 @@ Index
* -c option: Options. (line 81)
* -D option: Options. (line 108)
* -d option: Options. (line 93)
-* -e option: Options. (line 338)
+* -e option: Options. (line 336)
* -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 310)
+* -F option, -Ft sets FS to TAB: Options. (line 308)
* -F option, command-line: Command Line Field Separator.
(line 6)
-* -f option, multiple uses: Options. (line 315)
+* -f option, multiple uses: Options. (line 313)
* -g option: Options. (line 147)
* -h option: Options. (line 154)
* -i option: Options. (line 159)
-* -L option: Options. (line 297)
+* -L option: Options. (line 295)
* -l option: Options. (line 173)
* -M option: Options. (line 205)
* -N option: Options. (line 220)
* -n option: Options. (line 211)
-* -O option: Options. (line 238)
+* -O option: Options. (line 236)
* -o option: Options. (line 225)
-* -P option: Options. (line 256)
-* -p option: Options. (line 244)
-* -r option: Options. (line 281)
-* -S option: Options. (line 288)
+* -P option: Options. (line 254)
+* -p option: Options. (line 242)
+* -r option: Options. (line 279)
+* -S option: Options. (line 286)
* -v option: Assignment Options. (line 12)
-* -V option: Options. (line 302)
+* -V option: Options. (line 300)
* -v option: Options. (line 32)
* -W option: Options. (line 46)
* . (period), regexp operator: Regexp Operators. (line 44)
@@ -31622,10 +31768,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 85)
* \ (backslash), \' operator (gawk): GNU Regexp Operators.
(line 56)
-* \ (backslash), \/ escape sequence: Escape Sequences. (line 73)
+* \ (backslash), \/ escape sequence: Escape Sequences. (line 76)
* \ (backslash), \< operator (gawk): GNU Regexp Operators.
(line 30)
* \ (backslash), \> operator (gawk): GNU Regexp Operators.
@@ -31665,7 +31811,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 105)
+ (line 108)
* \ (backslash), in regexp constants: Computed Regexps. (line 30)
* \ (backslash), in shell commands: Quoting. (line 48)
* \ (backslash), regexp operator: Regexp Operators. (line 18)
@@ -31833,7 +31979,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 244)
+* awk profiling, enabling: Options. (line 242)
* awk programs <1>: Two Rules. (line 6)
* awk programs <2>: Executable Scripts. (line 6)
* awk programs: Getting Started. (line 12)
@@ -31891,10 +32037,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 85)
* backslash (\), \' operator (gawk): GNU Regexp Operators.
(line 56)
-* backslash (\), \/ escape sequence: Escape Sequences. (line 73)
+* backslash (\), \/ escape sequence: Escape Sequences. (line 76)
* backslash (\), \< operator (gawk): GNU Regexp Operators.
(line 30)
* backslash (\), \> operator (gawk): GNU Regexp Operators.
@@ -31934,7 +32080,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 105)
+ (line 108)
* backslash (\), in regexp constants: Computed Regexps. (line 30)
* backslash (\), in shell commands: Quoting. (line 48)
* backslash (\), regexp operator: Regexp Operators. (line 18)
@@ -32040,7 +32186,7 @@ Index
(line 67)
* Brian Kernighan's awk <12>: GNU Regexp Operators.
(line 82)
-* Brian Kernighan's awk <13>: Escape Sequences. (line 109)
+* Brian Kernighan's awk <13>: Escape Sequences. (line 112)
* 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)
@@ -32234,7 +32380,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 356)
+* csh utility, POSIXLY_CORRECT environment variable: Options. (line 354)
* 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)
@@ -32265,12 +32411,12 @@ Index
* dark corner, CONVFMT variable: Strings And Numbers. (line 40)
* dark corner, escape sequences: Other Arguments. (line 38)
* dark corner, escape sequences, for metacharacters: Escape Sequences.
- (line 140)
+ (line 143)
* dark corner, exit statement: Exit Statement. (line 30)
* dark corner, field separators: Full Line Fields. (line 22)
-* dark corner, FILENAME variable <1>: Auto-set. (line 90)
+* dark corner, FILENAME variable <1>: Auto-set. (line 104)
* dark corner, FILENAME variable: Getline Notes. (line 19)
-* dark corner, FNR/NR variables: Auto-set. (line 314)
+* dark corner, FNR/NR variables: Auto-set. (line 328)
* dark corner, format-control characters: Control Letters. (line 18)
* dark corner, FS as null string: Single Character Fields.
(line 20)
@@ -32420,7 +32566,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 272)
+* decimal point character, locale specific: Options. (line 270)
* decrement operators: Increment Ops. (line 35)
* default keyword: Switch Statement. (line 6)
* Deifik, Scott <1>: Bugs. (line 70)
@@ -32459,12 +32605,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 88)
* differences in awk and gawk, error messages: Special FD. (line 19)
* 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 116)
+* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 130)
* differences in awk and gawk, function arguments (gawk): Calling Built-in.
(line 16)
* differences in awk and gawk, getline command: Getline. (line 19)
@@ -32487,7 +32633,7 @@ Index
(line 263)
* differences in awk and gawk, print/printf statements: Format Modifiers.
(line 13)
-* differences in awk and gawk, PROCINFO array: Auto-set. (line 130)
+* differences in awk and gawk, PROCINFO array: Auto-set. (line 144)
* differences in awk and gawk, read timeouts: Read Timeout. (line 6)
* differences in awk and gawk, record separators: awk split records.
(line 125)
@@ -32497,7 +32643,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 265)
+* differences in awk and gawk, RT variable: Auto-set. (line 279)
* differences in awk and gawk, single-character fields: Single Character Fields.
(line 6)
* differences in awk and gawk, split() function: String Functions.
@@ -32505,7 +32651,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 269)
+* differences in awk and gawk, SYMTAB variable: Auto-set. (line 283)
* differences in awk and gawk, TEXTDOMAIN variable: User-modified.
(line 152)
* differences in awk and gawk, trunc-mod operation: Arithmetic Ops.
@@ -32521,6 +32667,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)
@@ -32541,12 +32688,12 @@ Index
* dump debugger command: Miscellaneous Debugger Commands.
(line 9)
* dupword.awk program: Dupword Program. (line 31)
-* dynamic profiling: Profiling. (line 179)
+* dynamic profiling: Profiling. (line 178)
* 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 135)
-* effective user ID of gawk user: Auto-set. (line 139)
+* effective group ID of gawk user: Auto-set. (line 149)
+* effective user ID of gawk user: Auto-set. (line 153)
* egrep utility <1>: Egrep Program. (line 6)
* egrep utility: Bracket Expressions. (line 26)
* egrep.awk program: Egrep Program. (line 54)
@@ -32601,13 +32748,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 88)
* ERRNO variable, with BEGINFILE pattern: BEGINFILE/ENDFILE. (line 26)
* ERRNO variable, with close() function: Close Files And Pipes.
(line 141)
* ERRNO variable, with getline command: Getline. (line 19)
* error handling: Special FD. (line 19)
-* error handling, ERRNO variable and: Auto-set. (line 74)
+* error handling, ERRNO variable and: Auto-set. (line 88)
* error output: Special FD. (line 6)
* escape processing, gsub()/gensub()/sub() functions: Gory Details.
(line 6)
@@ -32640,10 +32787,10 @@ Index
* exit status, of VMS: VMS Running. (line 28)
* exit the debugger: Miscellaneous Debugger Commands.
(line 99)
-* exp: Numeric Functions. (line 18)
+* exp: Numeric Functions. (line 33)
* expand utility: Very Simple. (line 73)
* Expat XML parser library: gawkextlib. (line 33)
-* 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)
@@ -32661,7 +32808,7 @@ Index
(line 6)
* extension API version: Extension Versioning.
(line 6)
-* extension API, version number: Auto-set. (line 232)
+* extension API, version number: Auto-set. (line 246)
* extension example: Extension Example. (line 6)
* extension registration: Registration Functions.
(line 6)
@@ -32742,7 +32889,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 48)
-* FILENAME variable <1>: Auto-set. (line 90)
+* FILENAME variable <1>: Auto-set. (line 104)
* FILENAME variable: Reading Files. (line 6)
* FILENAME variable, getline, setting with: Getline Notes. (line 19)
* filenames, assignments as: Ignoring Assigns. (line 6)
@@ -32810,9 +32957,9 @@ Index
* flush buffered output: I/O Functions. (line 28)
* fnmatch() extension function: Extension Sample Fnmatch.
(line 12)
-* FNR variable <1>: Auto-set. (line 100)
+* FNR variable <1>: Auto-set. (line 114)
* FNR variable: Records. (line 6)
-* FNR variable, changing: Auto-set. (line 314)
+* FNR variable, changing: Auto-set. (line 328)
* for statement: For Statement. (line 6)
* for statement, looping over arrays: Scanning an Array. (line 20)
* fork() extension function: Extension Sample Fork.
@@ -32849,7 +32996,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 268)
+* FS variable, as TAB character: Options. (line 266)
* FS variable, changing value of: Field Separators. (line 35)
* FS variable, running awk programs and: Cut Program. (line 63)
* FS variable, setting from command line: Command Line Field Separator.
@@ -32862,7 +33009,7 @@ Index
* FSF (Free Software Foundation): Manual History. (line 6)
* fts() extension function: Extension Sample File Functions.
(line 61)
-* FUNCTAB array: Auto-set. (line 116)
+* FUNCTAB array: Auto-set. (line 130)
* function calls: Function Calls. (line 6)
* function calls, indirect: Indirect Calls. (line 6)
* function calls, indirect, @-notation for: Indirect Calls. (line 47)
@@ -32911,8 +33058,8 @@ Index
(line 44)
* G-d: Acknowledgments. (line 94)
* Garfinkle, Scott: Contributors. (line 34)
-* gawk program, dynamic profiling: Profiling. (line 179)
-* gawk version: Auto-set. (line 207)
+* gawk program, dynamic profiling: Profiling. (line 178)
+* gawk version: Auto-set. (line 221)
* gawk, ARGIND variable in: Other Arguments. (line 15)
* gawk, awk and <1>: This Manual. (line 14)
* gawk, awk and: Preface. (line 21)
@@ -32930,13 +33077,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 88)
* gawk, ERRNO variable in <3>: BEGINFILE/ENDFILE. (line 26)
* gawk, ERRNO variable in <4>: Close Files And Pipes.
(line 141)
* gawk, ERRNO variable in: Getline. (line 19)
-* gawk, escape sequences: Escape Sequences. (line 117)
-* gawk, extensions, disabling: Options. (line 256)
+* gawk, escape sequences: Escape Sequences. (line 120)
+* gawk, extensions, disabling: Options. (line 254)
* gawk, features, adding: Adding Code. (line 6)
* gawk, features, advanced: Advanced Features. (line 6)
* gawk, field separators and: User-modified. (line 71)
@@ -32947,7 +33094,7 @@ Index
* gawk, FPAT variable in <1>: User-modified. (line 43)
* gawk, FPAT variable in: Splitting By Content.
(line 25)
-* gawk, FUNCTAB array in: Auto-set. (line 116)
+* gawk, FUNCTAB array in: Auto-set. (line 130)
* 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.
@@ -32979,7 +33126,7 @@ Index
* gawk, predefined variables and: Built-in Variables. (line 14)
* 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 130)
+* gawk, PROCINFO array in: Auto-set. (line 144)
* gawk, regexp constants and: Using Constant Regexps.
(line 28)
* gawk, regular expressions, case sensitivity: Case-sensitivity.
@@ -32987,23 +33134,29 @@ 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 265)
+* gawk, RT variable in <1>: Auto-set. (line 279)
* gawk, RT variable in <2>: Multiple Line. (line 129)
* gawk, RT variable in: awk split records. (line 125)
* gawk, See Also awk: Preface. (line 34)
* gawk, source code, obtaining: Getting. (line 6)
* gawk, splitting fields and: Constant Size. (line 87)
* gawk, string-translation functions: I18N Functions. (line 6)
-* gawk, SYMTAB array in: Auto-set. (line 269)
+* gawk, SYMTAB array in: Auto-set. (line 283)
* 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 302)
+* gawk, versions of, information about, printing: Options. (line 300)
* gawk, VMS version of: VMS Installation. (line 6)
* gawk, word-boundary operator: GNU Regexp Operators.
(line 63)
* gawkextlib: gawkextlib. (line 6)
* gawkextlib project: gawkextlib. (line 6)
+* gawklibpath_append shell function: Shell Startup Files. (line 29)
+* gawklibpath_default shell function: Shell Startup Files. (line 22)
+* gawklibpath_prepend shell function: Shell Startup Files. (line 25)
+* gawkpath_append shell function: Shell Startup Files. (line 19)
+* gawkpath_default shell function: Shell Startup Files. (line 12)
+* gawkpath_prepend shell function: Shell Startup Files. (line 15)
* General Public License (GPL): Glossary. (line 399)
* General Public License, See GPL: Manual History. (line 11)
* generate time values: Time Functions. (line 25)
@@ -33080,7 +33233,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 180)
+* group ID of gawk user: Auto-set. (line 194)
* groups, information about: Group Functions. (line 6)
* gsub <1>: String Functions. (line 140)
* gsub: Using Constant Regexps.
@@ -33102,7 +33255,7 @@ Index
* history expansion, in debugger: Readline Support. (line 6)
* histsort.awk program: History Sorting. (line 25)
* Hughes, Phil: Acknowledgments. (line 43)
-* HUP signal, for dynamic profiling: Profiling. (line 211)
+* HUP signal, for dynamic profiling: Profiling. (line 210)
* hyphen (-), - operator: Precedence. (line 52)
* hyphen (-), -- operator <1>: Precedence. (line 46)
* hyphen (-), -- operator: Increment Ops. (line 48)
@@ -33181,8 +33334,8 @@ 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 signal (MS-Windows): Profiling. (line 214)
+* int: Numeric Functions. (line 38)
+* INT signal (MS-Windows): Profiling. (line 213)
* integer array indices: Numeric Array Subscripts.
(line 31)
* integers, arbitrary precision: Arbitrary Precision Integers.
@@ -33238,7 +33391,7 @@ Index
* Kernighan, Brian <9>: Acknowledgments. (line 78)
* Kernighan, Brian <10>: Conventions. (line 38)
* Kernighan, Brian: History. (line 17)
-* kill command, dynamic profiling: Profiling. (line 188)
+* kill command, dynamic profiling: Profiling. (line 187)
* Knights, jedi: Undocumented. (line 6)
* Kwok, Conrad: Contributors. (line 34)
* l debugger command (alias for list): Miscellaneous Debugger Commands.
@@ -33310,7 +33463,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 341)
+ (line 339)
* lint checking, undefined functions: Pass By Value/Reference.
(line 85)
* LINT variable: User-modified. (line 88)
@@ -33326,14 +33479,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 272)
+* locale decimal point character: Options. (line 270)
* 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 28)
+* log: Numeric Functions. (line 43)
* log files, timestamps in: Time Functions. (line 6)
-* logarithm: Numeric Functions. (line 28)
+* logarithm: Numeric Functions. (line 43)
* logical false/true: Truth Values. (line 6)
* logical operators, See Boolean expressions: Boolean Ops. (line 6)
* login information: Passwd Functions. (line 16)
@@ -33374,8 +33527,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 117)
-* maximum precision supported by MPFR library: Auto-set. (line 221)
+* mawk utility: Escape Sequences. (line 120)
+* maximum precision supported by MPFR library: Auto-set. (line 235)
* McIlroy, Doug: Glossary. (line 258)
* McPhee, Patrick: Contributors. (line 100)
* message object files: Explaining gettext. (line 42)
@@ -33387,8 +33540,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 224)
+* metacharacters, escape sequences for: Escape Sequences. (line 139)
+* minimum precision supported by MPFR library: Auto-set. (line 238)
* mktime: Time Functions. (line 25)
* modifiers, in format specifiers: Format Modifiers. (line 6)
* monetary information, localization: Explaining gettext. (line 104)
@@ -33408,7 +33561,7 @@ Index
* networks, programming: TCP/IP Networking. (line 6)
* networks, support for: Special Network. (line 6)
* newlines <1>: Boolean Ops. (line 69)
-* newlines <2>: Options. (line 262)
+* newlines <2>: Options. (line 260)
* newlines: Statements/Lines. (line 6)
* newlines, as field separators: Default Field Splitting.
(line 6)
@@ -33437,7 +33590,7 @@ Index
(line 47)
* nexti debugger command: Debugger Execution Control.
(line 49)
-* NF variable <1>: Auto-set. (line 105)
+* NF variable <1>: Auto-set. (line 119)
* NF variable: Fields. (line 33)
* NF variable, decrementing: Changing Fields. (line 107)
* ni debugger command (alias for nexti): Debugger Execution Control.
@@ -33446,9 +33599,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 125)
+* NR variable <1>: Auto-set. (line 139)
* NR variable: Records. (line 6)
-* NR variable, changing: Auto-set. (line 314)
+* NR variable, changing: Auto-set. (line 328)
* null strings <1>: Basic Data Typing. (line 26)
* null strings <2>: Truth Values. (line 6)
* null strings <3>: Regexp Field Splitting.
@@ -33562,7 +33715,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 189)
+* parent process ID of gawk process: Auto-set. (line 203)
* parentheses (), in a profile: Profiling. (line 146)
* parentheses (), regexp operator: Regexp Operators. (line 81)
* password file: Passwd Functions. (line 16)
@@ -33604,14 +33757,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 103)
* 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 105)
+ (line 108)
* portability, close() function and: Close Files And Pipes.
(line 81)
* portability, data files as single record: gawk split records.
@@ -33629,7 +33782,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 361)
+* portability, POSIXLY_CORRECT environment variable: Options. (line 359)
* portability, substr() function: String Functions. (line 513)
* portable object files <1>: Translator i18n. (line 6)
* portable object files: Explaining gettext. (line 37)
@@ -33650,7 +33803,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 105)
+ (line 108)
* 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.
@@ -33677,11 +33830,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 256)
+* POSIX mode: Options. (line 254)
* 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 341)
+* POSIXLY_CORRECT environment variable: Options. (line 339)
* PREC variable: User-modified. (line 124)
* precedence <1>: Precedence. (line 6)
* precedence: Increment Ops. (line 60)
@@ -33728,24 +33881,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 183)
-* process ID of gawk process: Auto-set. (line 186)
+* process group idIDof gawk process: Auto-set. (line 197)
+* process ID of gawk process: Auto-set. (line 200)
* 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 130)
+* PROCINFO array: Auto-set. (line 144)
* 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 154)
-* PROCINFO array, uses: Auto-set. (line 242)
+* PROCINFO array, uses: Auto-set. (line 256)
* 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 148)
+* profiling awk programs, dynamically: Profiling. (line 178)
+* program identifiers: Auto-set. (line 162)
* program, definition of: Getting Started. (line 21)
* programming conventions, --non-decimal-data option: Nondecimal Data.
(line 35)
@@ -33780,7 +33933,7 @@ Index
* QuikTrim Awk: Other Versions. (line 139)
* quit debugger command: Miscellaneous Debugger Commands.
(line 99)
-* QUIT signal (MS-Windows): Profiling. (line 214)
+* QUIT signal (MS-Windows): Profiling. (line 213)
* quoting in gawk command lines: Long. (line 26)
* quoting in gawk command lines, tricks for: Quoting. (line 91)
* quoting, for small awk programs: Comments. (line 27)
@@ -33789,12 +33942,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 33)
+* rand: Numeric Functions. (line 48)
* random numbers, Cliff: Cliff Random Function.
(line 6)
* random numbers, rand()/srand() functions: Numeric Functions.
- (line 33)
-* random numbers, seed of: Numeric Functions. (line 63)
+ (line 48)
+* random numbers, seed of: Numeric Functions. (line 78)
* range expressions (regexps): Bracket Expressions. (line 6)
* range patterns: Ranges. (line 6)
* range patterns, line continuation and: Ranges. (line 65)
@@ -33863,7 +34016,7 @@ Index
(line 60)
* regular expressions, gawk, command-line options: GNU Regexp Operators.
(line 70)
-* regular expressions, interval expressions and: Options. (line 281)
+* regular expressions, interval expressions and: Options. (line 279)
* regular expressions, leftmost longest match: Leftmost Longest.
(line 6)
* regular expressions, operators <1>: Regexp Operators. (line 6)
@@ -33903,7 +34056,7 @@ Index
* right shift: Bitwise Functions. (line 53)
* right shift, bitwise: Bitwise Functions. (line 32)
* Ritchie, Dennis: Basic Data Typing. (line 54)
-* RLENGTH variable: Auto-set. (line 252)
+* RLENGTH variable: Auto-set. (line 266)
* RLENGTH variable, match() function and: String Functions. (line 228)
* Robbins, Arnold <1>: Future Extensions. (line 6)
* Robbins, Arnold <2>: Bugs. (line 70)
@@ -33921,7 +34074,7 @@ Index
* Robbins, Miriam <2>: Getline/Pipe. (line 39)
* Robbins, Miriam: Acknowledgments. (line 94)
* 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)
@@ -33929,9 +34082,9 @@ Index
* RS variable: awk split records. (line 12)
* RS variable, multiline records and: Multiple Line. (line 17)
* rshift: Bitwise Functions. (line 53)
-* RSTART variable: Auto-set. (line 258)
+* RSTART variable: Auto-set. (line 272)
* RSTART variable, match() function and: String Functions. (line 228)
-* RT variable <1>: Auto-set. (line 265)
+* RT variable <1>: Auto-set. (line 279)
* RT variable <2>: Multiple Line. (line 129)
* RT variable: awk split records. (line 125)
* Rubin, Paul <1>: Contributors. (line 15)
@@ -33944,14 +34097,14 @@ Index
(line 68)
* sample debugging session: Sample Debugging Session.
(line 6)
-* sandbox mode: Options. (line 288)
+* sandbox mode: Options. (line 286)
* 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 297)
+* Schorr, Andrew <2>: Auto-set. (line 311)
* Schorr, Andrew: Acknowledgments. (line 60)
* Schreiber, Bert: Acknowledgments. (line 38)
* Schreiber, Rita: Acknowledgments. (line 38)
@@ -33970,7 +34123,7 @@ Index
* sed utility <1>: Glossary. (line 16)
* sed utility <2>: Simple Sed. (line 6)
* sed utility: Full Line Fields. (line 22)
-* seeding random number generator: Numeric Functions. (line 63)
+* seeding random number generator: Numeric Functions. (line 78)
* semicolon (;), AWKPATH variable and: PC Using. (line 10)
* semicolon (;), separating statements in actions <1>: Statements.
(line 10)
@@ -34031,14 +34184,14 @@ Index
* sidebar, A Constant's Base Does Not Affect Its Value: Nondecimal-numbers.
(line 64)
* sidebar, Backslash Before Regular Characters: Escape Sequences.
- (line 103)
+ (line 106)
* sidebar, Changing FS Does Not Affect the Fields: Full Line Fields.
(line 14)
-* sidebar, Changing NR and FNR: Auto-set. (line 312)
+* sidebar, Changing NR and FNR: Auto-set. (line 326)
* sidebar, Controlling Output Buffering with system(): I/O Functions.
(line 139)
* sidebar, Escape Sequences for Metacharacters: Escape Sequences.
- (line 134)
+ (line 137)
* sidebar, FS and IGNORECASE: Field Splitting Summary.
(line 38)
* sidebar, Interactive Versus Noninteractive Buffering: I/O Functions.
@@ -34060,19 +34213,19 @@ Index
(line 58)
* sidebar, Using close()'s Return Value: Close Files And Pipes.
(line 131)
-* SIGHUP signal, for dynamic profiling: Profiling. (line 211)
-* SIGINT signal (MS-Windows): Profiling. (line 214)
-* signals, HUP/SIGHUP, for profiling: Profiling. (line 211)
-* signals, INT/SIGINT (MS-Windows): Profiling. (line 214)
-* signals, QUIT/SIGQUIT (MS-Windows): Profiling. (line 214)
-* signals, USR1/SIGUSR1, for profiling: Profiling. (line 188)
+* SIGHUP signal, for dynamic profiling: Profiling. (line 210)
+* SIGINT signal (MS-Windows): Profiling. (line 213)
+* signals, HUP/SIGHUP, for profiling: Profiling. (line 210)
+* signals, INT/SIGINT (MS-Windows): Profiling. (line 213)
+* signals, QUIT/SIGQUIT (MS-Windows): Profiling. (line 213)
+* signals, USR1/SIGUSR1, for profiling: Profiling. (line 187)
* signature program: Signature Program. (line 6)
-* SIGQUIT signal (MS-Windows): Profiling. (line 214)
-* SIGUSR1 signal, for dynamic profiling: Profiling. (line 188)
+* SIGQUIT signal (MS-Windows): Profiling. (line 213)
+* SIGUSR1 signal, for dynamic profiling: Profiling. (line 187)
* silent debugger command: Debugger Execution Control.
(line 10)
-* sin: Numeric Functions. (line 74)
-* sine: Numeric Functions. (line 74)
+* sin: Numeric Functions. (line 89)
+* sine: Numeric Functions. (line 89)
* single quote ('): One-shot. (line 15)
* single quote (') in gawk command lines: Long. (line 35)
* single quote ('), in shell commands: Quoting. (line 48)
@@ -34122,10 +34275,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 77)
+* sqrt: Numeric Functions. (line 92)
* square brackets ([]), regexp operator: Regexp Operators. (line 56)
-* square root: Numeric Functions. (line 77)
-* srand: Numeric Functions. (line 81)
+* square root: Numeric Functions. (line 92)
+* srand: Numeric Functions. (line 96)
* stack frame: Debugging Terms. (line 10)
* Stallman, Richard <1>: Glossary. (line 375)
* Stallman, Richard <2>: Contributors. (line 23)
@@ -34196,9 +34349,9 @@ Index
* substr: String Functions. (line 482)
* substring: String Functions. (line 482)
* Sumner, Andrew: Other Versions. (line 68)
-* supplementary groups of gawk process: Auto-set. (line 237)
+* supplementary groups of gawk process: Auto-set. (line 251)
* switch statement: Switch Statement. (line 6)
-* SYMTAB array: Auto-set. (line 269)
+* SYMTAB array: Auto-set. (line 283)
* syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops.
(line 148)
* system: I/O Functions. (line 107)
@@ -34265,7 +34418,7 @@ Index
(line 37)
* troubleshooting, awk uses FS not IFS: Field Separators. (line 30)
* troubleshooting, backslash before nonspecial character: Escape Sequences.
- (line 105)
+ (line 108)
* troubleshooting, division: Arithmetic Ops. (line 44)
* troubleshooting, fatal errors, field widths, specifying: Constant Size.
(line 22)
@@ -34321,7 +34474,7 @@ Index
* uniq.awk program: Uniq Program. (line 65)
* Unix: Glossary. (line 753)
* Unix awk, backslashes in escape sequences: Escape Sequences.
- (line 117)
+ (line 120)
* Unix awk, close() function and: Close Files And Pipes.
(line 133)
* Unix awk, password files, field separators and: Command Line Field Separator.
@@ -34341,7 +34494,7 @@ Index
* user-modifiable variables: User-modified. (line 6)
* users, information about, printing: Id Program. (line 6)
* users, information about, retrieving: Passwd Functions. (line 16)
-* USR1 signal, for dynamic profiling: Profiling. (line 188)
+* USR1 signal, for dynamic profiling: Profiling. (line 187)
* values, numeric: Basic Data Typing. (line 13)
* values, string: Basic Data Typing. (line 13)
* variable assignments and input files: Other Arguments. (line 26)
@@ -34375,10 +34528,10 @@ Index
* variables, uninitialized, as array subscripts: Uninitialized Subscripts.
(line 6)
* variables, user-defined: Variables. (line 6)
-* 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)
+* version of gawk: Auto-set. (line 221)
+* version of gawk extension API: Auto-set. (line 246)
+* version of GNU MP library: Auto-set. (line 232)
+* version of GNU MPFR library: Auto-set. (line 228)
* vertical bar (|): Regexp Operators. (line 70)
* vertical bar (|), | operator (I/O) <1>: Precedence. (line 65)
* vertical bar (|), | operator (I/O): Getline/Pipe. (line 9)
@@ -34415,7 +34568,7 @@ Index
* whitespace, as field separators: Default Field Splitting.
(line 6)
* whitespace, functions, calling: Calling Built-in. (line 10)
-* whitespace, newlines as: Options. (line 262)
+* whitespace, newlines as: Options. (line 260)
* Williams, Kent: Contributors. (line 34)
* Woehlke, Matthew: Contributors. (line 79)
* Woods, John: Contributors. (line 27)
@@ -34468,559 +34621,560 @@ Index

Tag Table:
Node: Top1204
-Node: Foreword342156
-Node: Foreword446600
-Node: Preface48131
-Ref: Preface-Footnote-151002
-Ref: Preface-Footnote-251109
-Ref: Preface-Footnote-351342
-Node: History51484
-Node: Names53835
-Ref: Names-Footnote-154928
-Node: This Manual55074
-Ref: This Manual-Footnote-161574
-Node: Conventions61674
-Node: Manual History64011
-Ref: Manual History-Footnote-167004
-Ref: Manual History-Footnote-267045
-Node: How To Contribute67119
-Node: Acknowledgments68248
-Node: Getting Started73065
-Node: Running gawk75504
-Node: One-shot76694
-Node: Read Terminal77958
-Node: Long79989
-Node: Executable Scripts81502
-Ref: Executable Scripts-Footnote-184291
-Node: Comments84394
-Node: Quoting86876
-Node: DOS Quoting92394
-Node: Sample Data Files93069
-Node: Very Simple95664
-Node: Two Rules100563
-Node: More Complex102449
-Node: Statements/Lines105311
-Ref: Statements/Lines-Footnote-1109766
-Node: Other Features110031
-Node: When110967
-Ref: When-Footnote-1112721
-Node: Intro Summary112786
-Node: Invoking Gawk113670
-Node: Command Line115184
-Node: Options115982
-Ref: Options-Footnote-1131904
-Ref: Options-Footnote-2132133
-Node: Other Arguments132158
-Node: Naming Standard Input135106
-Node: Environment Variables136199
-Node: AWKPATH Variable136757
-Ref: AWKPATH Variable-Footnote-1140054
-Ref: AWKPATH Variable-Footnote-2140099
-Node: AWKLIBPATH Variable140359
-Node: Other Environment Variables141502
-Node: Exit Status145260
-Node: Include Files145936
-Node: Loading Shared Libraries149525
-Node: Obsolete150952
-Node: Undocumented151644
-Node: Invoking Summary151911
-Node: Regexp153574
-Node: Regexp Usage155028
-Node: Escape Sequences157065
-Node: Regexp Operators163075
-Ref: Regexp Operators-Footnote-1170485
-Ref: Regexp Operators-Footnote-2170632
-Node: Bracket Expressions170730
-Ref: table-char-classes172745
-Node: Leftmost Longest175687
-Node: Computed Regexps176989
-Node: GNU Regexp Operators180418
-Node: Case-sensitivity184090
-Ref: Case-sensitivity-Footnote-1186975
-Ref: Case-sensitivity-Footnote-2187210
-Node: Regexp Summary187318
-Node: Reading Files188785
-Node: Records190878
-Node: awk split records191611
-Node: gawk split records196540
-Ref: gawk split records-Footnote-1201079
-Node: Fields201116
-Ref: Fields-Footnote-1203894
-Node: Nonconstant Fields203980
-Ref: Nonconstant Fields-Footnote-1206218
-Node: Changing Fields206421
-Node: Field Separators212352
-Node: Default Field Splitting215056
-Node: Regexp Field Splitting216173
-Node: Single Character Fields219523
-Node: Command Line Field Separator220582
-Node: Full Line Fields223799
-Ref: Full Line Fields-Footnote-1225320
-Ref: Full Line Fields-Footnote-2225366
-Node: Field Splitting Summary225467
-Node: Constant Size227541
-Node: Splitting By Content232124
-Ref: Splitting By Content-Footnote-1236089
-Node: Multiple Line236252
-Ref: Multiple Line-Footnote-1242133
-Node: Getline242312
-Node: Plain Getline244519
-Node: Getline/Variable247159
-Node: Getline/File248308
-Node: Getline/Variable/File249693
-Ref: Getline/Variable/File-Footnote-1251296
-Node: Getline/Pipe251383
-Node: Getline/Variable/Pipe254061
-Node: Getline/Coprocess255192
-Node: Getline/Variable/Coprocess256456
-Node: Getline Notes257195
-Node: Getline Summary259989
-Ref: table-getline-variants260401
-Node: Read Timeout261230
-Ref: Read Timeout-Footnote-1265067
-Node: Command-line directories265125
-Node: Input Summary266030
-Node: Input Exercises269415
-Node: Printing270143
-Node: Print271920
-Node: Print Examples273377
-Node: Output Separators276156
-Node: OFMT278174
-Node: Printf279529
-Node: Basic Printf280314
-Node: Control Letters281886
-Node: Format Modifiers285871
-Node: Printf Examples291881
-Node: Redirection294367
-Node: Special FD301205
-Ref: Special FD-Footnote-1304371
-Node: Special Files304445
-Node: Other Inherited Files305062
-Node: Special Network306062
-Node: Special Caveats306924
-Node: Close Files And Pipes307873
-Ref: Close Files And Pipes-Footnote-1315064
-Ref: Close Files And Pipes-Footnote-2315212
-Node: Output Summary315362
-Node: Output Exercises316360
-Node: Expressions317040
-Node: Values318229
-Node: Constants318906
-Node: Scalar Constants319597
-Ref: Scalar Constants-Footnote-1320459
-Node: Nondecimal-numbers320709
-Node: Regexp Constants323719
-Node: Using Constant Regexps324245
-Node: Variables327408
-Node: Using Variables328065
-Node: Assignment Options329976
-Node: Conversion331851
-Node: Strings And Numbers332375
-Ref: Strings And Numbers-Footnote-1335440
-Node: Locale influences conversions335549
-Ref: table-locale-affects338295
-Node: All Operators338887
-Node: Arithmetic Ops339516
-Node: Concatenation342021
-Ref: Concatenation-Footnote-1344840
-Node: Assignment Ops344947
-Ref: table-assign-ops349926
-Node: Increment Ops351236
-Node: Truth Values and Conditions354667
-Node: Truth Values355750
-Node: Typing and Comparison356799
-Node: Variable Typing357615
-Node: Comparison Operators361282
-Ref: table-relational-ops361692
-Node: POSIX String Comparison365187
-Ref: POSIX String Comparison-Footnote-1366259
-Node: Boolean Ops366398
-Ref: Boolean Ops-Footnote-1370876
-Node: Conditional Exp370967
-Node: Function Calls372705
-Node: Precedence376585
-Node: Locales380245
-Node: Expressions Summary381877
-Node: Patterns and Actions384448
-Node: Pattern Overview385568
-Node: Regexp Patterns387247
-Node: Expression Patterns387790
-Node: Ranges391499
-Node: BEGIN/END394606
-Node: Using BEGIN/END395367
-Ref: Using BEGIN/END-Footnote-1398103
-Node: I/O And BEGIN/END398209
-Node: BEGINFILE/ENDFILE400524
-Node: Empty403421
-Node: Using Shell Variables403738
-Node: Action Overview406011
-Node: Statements408337
-Node: If Statement410185
-Node: While Statement411680
-Node: Do Statement413708
-Node: For Statement414856
-Node: Switch Statement418014
-Node: Break Statement420396
-Node: Continue Statement422437
-Node: Next Statement424264
-Node: Nextfile Statement426645
-Node: Exit Statement429273
-Node: Built-in Variables431684
-Node: User-modified432817
-Ref: User-modified-Footnote-1440520
-Node: Auto-set440582
-Ref: Auto-set-Footnote-1453634
-Ref: Auto-set-Footnote-2453839
-Node: ARGC and ARGV453895
-Node: Pattern Action Summary458113
-Node: Arrays460546
-Node: Array Basics461875
-Node: Array Intro462719
-Ref: figure-array-elements464653
-Ref: Array Intro-Footnote-1467273
-Node: Reference to Elements467401
-Node: Assigning Elements469863
-Node: Array Example470354
-Node: Scanning an Array472113
-Node: Controlling Scanning475133
-Ref: Controlling Scanning-Footnote-1480527
-Node: Numeric Array Subscripts480843
-Node: Uninitialized Subscripts483028
-Node: Delete484645
-Ref: Delete-Footnote-1487394
-Node: Multidimensional487451
-Node: Multiscanning490548
-Node: Arrays of Arrays492137
-Node: Arrays Summary496891
-Node: Functions498982
-Node: Built-in500021
-Node: Calling Built-in501099
-Node: Numeric Functions503094
-Ref: Numeric Functions-Footnote-1507110
-Ref: Numeric Functions-Footnote-2507467
-Ref: Numeric Functions-Footnote-3507515
-Node: String Functions507787
-Ref: String Functions-Footnote-1531288
-Ref: String Functions-Footnote-2531417
-Ref: String Functions-Footnote-3531665
-Node: Gory Details531752
-Ref: table-sub-escapes533533
-Ref: table-sub-proposed535048
-Ref: table-posix-sub536410
-Ref: table-gensub-escapes537947
-Ref: Gory Details-Footnote-1538780
-Node: I/O Functions538931
-Ref: I/O Functions-Footnote-1546167
-Node: Time Functions546314
-Ref: Time Functions-Footnote-1556823
-Ref: Time Functions-Footnote-2556891
-Ref: Time Functions-Footnote-3557049
-Ref: Time Functions-Footnote-4557160
-Ref: Time Functions-Footnote-5557272
-Ref: Time Functions-Footnote-6557499
-Node: Bitwise Functions557765
-Ref: table-bitwise-ops558327
-Ref: Bitwise Functions-Footnote-1562639
-Node: Type Functions562811
-Node: I18N Functions563962
-Node: User-defined565607
-Node: Definition Syntax566412
-Ref: Definition Syntax-Footnote-1571911
-Node: Function Example571982
-Ref: Function Example-Footnote-1574901
-Node: Function Caveats574923
-Node: Calling A Function575441
-Node: Variable Scope576399
-Node: Pass By Value/Reference579387
-Node: Return Statement582882
-Node: Dynamic Typing585863
-Node: Indirect Calls586792
-Ref: Indirect Calls-Footnote-1598110
-Node: Functions Summary598238
-Node: Library Functions600940
-Ref: Library Functions-Footnote-1604549
-Ref: Library Functions-Footnote-2604692
-Node: Library Names604863
-Ref: Library Names-Footnote-1608317
-Ref: Library Names-Footnote-2608540
-Node: General Functions608626
-Node: Strtonum Function609729
-Node: Assert Function612751
-Node: Round Function616075
-Node: Cliff Random Function617616
-Node: Ordinal Functions618632
-Ref: Ordinal Functions-Footnote-1621695
-Ref: Ordinal Functions-Footnote-2621947
-Node: Join Function622158
-Ref: Join Function-Footnote-1623927
-Node: Getlocaltime Function624127
-Node: Readfile Function627871
-Node: Shell Quoting629841
-Node: Data File Management631242
-Node: Filetrans Function631874
-Node: Rewind Function635930
-Node: File Checking637317
-Ref: File Checking-Footnote-1638649
-Node: Empty Files638850
-Node: Ignoring Assigns640829
-Node: Getopt Function642380
-Ref: Getopt Function-Footnote-1653842
-Node: Passwd Functions654042
-Ref: Passwd Functions-Footnote-1662879
-Node: Group Functions662967
-Ref: Group Functions-Footnote-1670861
-Node: Walking Arrays671074
-Node: Library Functions Summary672677
-Node: Library Exercises674078
-Node: Sample Programs675358
-Node: Running Examples676128
-Node: Clones676856
-Node: Cut Program678080
-Node: Egrep Program687799
-Ref: Egrep Program-Footnote-1695297
-Node: Id Program695407
-Node: Split Program699052
-Ref: Split Program-Footnote-1702500
-Node: Tee Program702628
-Node: Uniq Program705417
-Node: Wc Program712836
-Ref: Wc Program-Footnote-1717086
-Node: Miscellaneous Programs717180
-Node: Dupword Program718393
-Node: Alarm Program720424
-Node: Translate Program725228
-Ref: Translate Program-Footnote-1729793
-Node: Labels Program730063
-Ref: Labels Program-Footnote-1733414
-Node: Word Sorting733498
-Node: History Sorting737569
-Node: Extract Program739405
-Node: Simple Sed746930
-Node: Igawk Program749998
-Ref: Igawk Program-Footnote-1764322
-Ref: Igawk Program-Footnote-2764523
-Ref: Igawk Program-Footnote-3764645
-Node: Anagram Program764760
-Node: Signature Program767817
-Node: Programs Summary769064
-Node: Programs Exercises770257
-Ref: Programs Exercises-Footnote-1774388
-Node: Advanced Features774479
-Node: Nondecimal Data776427
-Node: Array Sorting778017
-Node: Controlling Array Traversal778714
-Ref: Controlling Array Traversal-Footnote-1787047
-Node: Array Sorting Functions787165
-Ref: Array Sorting Functions-Footnote-1791054
-Node: Two-way I/O791250
-Ref: Two-way I/O-Footnote-1796195
-Ref: Two-way I/O-Footnote-2796381
-Node: TCP/IP Networking796463
-Node: Profiling799336
-Node: Advanced Features Summary806883
-Node: Internationalization808816
-Node: I18N and L10N810296
-Node: Explaining gettext810982
-Ref: Explaining gettext-Footnote-1816007
-Ref: Explaining gettext-Footnote-2816191
-Node: Programmer i18n816356
-Ref: Programmer i18n-Footnote-1821222
-Node: Translator i18n821271
-Node: String Extraction822065
-Ref: String Extraction-Footnote-1823196
-Node: Printf Ordering823282
-Ref: Printf Ordering-Footnote-1826068
-Node: I18N Portability826132
-Ref: I18N Portability-Footnote-1828587
-Node: I18N Example828650
-Ref: I18N Example-Footnote-1831453
-Node: Gawk I18N831525
-Node: I18N Summary832163
-Node: Debugger833502
-Node: Debugging834524
-Node: Debugging Concepts834965
-Node: Debugging Terms836818
-Node: Awk Debugging839390
-Node: Sample Debugging Session840284
-Node: Debugger Invocation840804
-Node: Finding The Bug842188
-Node: List of Debugger Commands848663
-Node: Breakpoint Control849996
-Node: Debugger Execution Control853692
-Node: Viewing And Changing Data857056
-Node: Execution Stack860434
-Node: Debugger Info862071
-Node: Miscellaneous Debugger Commands866088
-Node: Readline Support871117
-Node: Limitations872009
-Node: Debugging Summary874123
-Node: Arbitrary Precision Arithmetic875291
-Node: Computer Arithmetic876707
-Ref: table-numeric-ranges880305
-Ref: Computer Arithmetic-Footnote-1881164
-Node: Math Definitions881221
-Ref: table-ieee-formats884509
-Ref: Math Definitions-Footnote-1885113
-Node: MPFR features885218
-Node: FP Math Caution886889
-Ref: FP Math Caution-Footnote-1887939
-Node: Inexactness of computations888308
-Node: Inexact representation889267
-Node: Comparing FP Values890624
-Node: Errors accumulate891706
-Node: Getting Accuracy893139
-Node: Try To Round895801
-Node: Setting precision896700
-Ref: table-predefined-precision-strings897384
-Node: Setting the rounding mode899173
-Ref: table-gawk-rounding-modes899537
-Ref: Setting the rounding mode-Footnote-1902992
-Node: Arbitrary Precision Integers903171
-Ref: Arbitrary Precision Integers-Footnote-1906157
-Node: POSIX Floating Point Problems906306
-Ref: POSIX Floating Point Problems-Footnote-1910179
-Node: Floating point summary910217
-Node: Dynamic Extensions912411
-Node: Extension Intro913963
-Node: Plugin License915229
-Node: Extension Mechanism Outline916026
-Ref: figure-load-extension916454
-Ref: figure-register-new-function917934
-Ref: figure-call-new-function918938
-Node: Extension API Description920924
-Node: Extension API Functions Introduction922374
-Node: General Data Types927198
-Ref: General Data Types-Footnote-1932937
-Node: Memory Allocation Functions933236
-Ref: Memory Allocation Functions-Footnote-1936075
-Node: Constructor Functions936171
-Node: Registration Functions937905
-Node: Extension Functions938590
-Node: Exit Callback Functions940887
-Node: Extension Version String942135
-Node: Input Parsers942800
-Node: Output Wrappers952679
-Node: Two-way processors957194
-Node: Printing Messages959398
-Ref: Printing Messages-Footnote-1960474
-Node: Updating `ERRNO'960626
-Node: Requesting Values961366
-Ref: table-value-types-returned962094
-Node: Accessing Parameters963051
-Node: Symbol Table Access964282
-Node: Symbol table by name964796
-Node: Symbol table by cookie966777
-Ref: Symbol table by cookie-Footnote-1970921
-Node: Cached values970984
-Ref: Cached values-Footnote-1974483
-Node: Array Manipulation974574
-Ref: Array Manipulation-Footnote-1975672
-Node: Array Data Types975709
-Ref: Array Data Types-Footnote-1978364
-Node: Array Functions978456
-Node: Flattening Arrays982310
-Node: Creating Arrays989202
-Node: Extension API Variables993973
-Node: Extension Versioning994609
-Node: Extension API Informational Variables996510
-Node: Extension API Boilerplate997575
-Node: Finding Extensions1001384
-Node: Extension Example1001944
-Node: Internal File Description1002716
-Node: Internal File Ops1006783
-Ref: Internal File Ops-Footnote-11018453
-Node: Using Internal File Ops1018593
-Ref: Using Internal File Ops-Footnote-11020976
-Node: Extension Samples1021249
-Node: Extension Sample File Functions1022775
-Node: Extension Sample Fnmatch1030413
-Node: Extension Sample Fork1031904
-Node: Extension Sample Inplace1033119
-Node: Extension Sample Ord1034794
-Node: Extension Sample Readdir1035630
-Ref: table-readdir-file-types1036506
-Node: Extension Sample Revout1037317
-Node: Extension Sample Rev2way1037907
-Node: Extension Sample Read write array1038647
-Node: Extension Sample Readfile1040587
-Node: Extension Sample Time1041682
-Node: Extension Sample API Tests1043031
-Node: gawkextlib1043522
-Node: Extension summary1046180
-Node: Extension Exercises1049869
-Node: Language History1050591
-Node: V7/SVR3.11052247
-Node: SVR41054428
-Node: POSIX1055873
-Node: BTL1057262
-Node: POSIX/GNU1057996
-Node: Feature History1063560
-Node: Common Extensions1076658
-Node: Ranges and Locales1077982
-Ref: Ranges and Locales-Footnote-11082600
-Ref: Ranges and Locales-Footnote-21082627
-Ref: Ranges and Locales-Footnote-31082861
-Node: Contributors1083082
-Node: History summary1088623
-Node: Installation1089993
-Node: Gawk Distribution1090939
-Node: Getting1091423
-Node: Extracting1092246
-Node: Distribution contents1093881
-Node: Unix Installation1099598
-Node: Quick Installation1100215
-Node: Additional Configuration Options1102639
-Node: Configuration Philosophy1104377
-Node: Non-Unix Installation1106746
-Node: PC Installation1107204
-Node: PC Binary Installation1108523
-Node: PC Compiling1110371
-Ref: PC Compiling-Footnote-11113392
-Node: PC Testing1113501
-Node: PC Using1114677
-Node: Cygwin1118792
-Node: MSYS1119615
-Node: VMS Installation1120115
-Node: VMS Compilation1120907
-Ref: VMS Compilation-Footnote-11122129
-Node: VMS Dynamic Extensions1122187
-Node: VMS Installation Details1123871
-Node: VMS Running1126123
-Node: VMS GNV1128959
-Node: VMS Old Gawk1129693
-Node: Bugs1130163
-Node: Other Versions1134046
-Node: Installation summary1140470
-Node: Notes1141526
-Node: Compatibility Mode1142391
-Node: Additions1143173
-Node: Accessing The Source1144098
-Node: Adding Code1145533
-Node: New Ports1151690
-Node: Derived Files1156172
-Ref: Derived Files-Footnote-11161647
-Ref: Derived Files-Footnote-21161681
-Ref: Derived Files-Footnote-31162277
-Node: Future Extensions1162391
-Node: Implementation Limitations1162997
-Node: Extension Design1164245
-Node: Old Extension Problems1165399
-Ref: Old Extension Problems-Footnote-11166916
-Node: Extension New Mechanism Goals1166973
-Ref: Extension New Mechanism Goals-Footnote-11170333
-Node: Extension Other Design Decisions1170522
-Node: Extension Future Growth1172630
-Node: Old Extension Mechanism1173466
-Node: Notes summary1175228
-Node: Basic Concepts1176414
-Node: Basic High Level1177095
-Ref: figure-general-flow1177367
-Ref: figure-process-flow1177966
-Ref: Basic High Level-Footnote-11181195
-Node: Basic Data Typing1181380
-Node: Glossary1184708
-Node: Copying1216637
-Node: GNU Free Documentation License1254193
-Node: Index1279329
+Node: Foreword342225
+Node: Foreword446669
+Node: Preface48200
+Ref: Preface-Footnote-151071
+Ref: Preface-Footnote-251178
+Ref: Preface-Footnote-351411
+Node: History51553
+Node: Names53904
+Ref: Names-Footnote-154997
+Node: This Manual55143
+Ref: This Manual-Footnote-161643
+Node: Conventions61743
+Node: Manual History64080
+Ref: Manual History-Footnote-167073
+Ref: Manual History-Footnote-267114
+Node: How To Contribute67188
+Node: Acknowledgments68317
+Node: Getting Started73134
+Node: Running gawk75573
+Node: One-shot76763
+Node: Read Terminal78027
+Node: Long80058
+Node: Executable Scripts81571
+Ref: Executable Scripts-Footnote-184360
+Node: Comments84463
+Node: Quoting86945
+Node: DOS Quoting92463
+Node: Sample Data Files93138
+Node: Very Simple95733
+Node: Two Rules100632
+Node: More Complex102518
+Node: Statements/Lines105380
+Ref: Statements/Lines-Footnote-1109835
+Node: Other Features110100
+Node: When111036
+Ref: When-Footnote-1112790
+Node: Intro Summary112855
+Node: Invoking Gawk113739
+Node: Command Line115253
+Node: Options116051
+Ref: Options-Footnote-1131846
+Ref: Options-Footnote-2132075
+Node: Other Arguments132100
+Node: Naming Standard Input135048
+Node: Environment Variables136141
+Node: AWKPATH Variable136699
+Ref: AWKPATH Variable-Footnote-1140106
+Ref: AWKPATH Variable-Footnote-2140151
+Node: AWKLIBPATH Variable140411
+Node: Other Environment Variables141667
+Node: Exit Status145185
+Node: Include Files145861
+Node: Loading Shared Libraries149450
+Node: Obsolete150877
+Node: Undocumented151569
+Node: Invoking Summary151836
+Node: Regexp153499
+Node: Regexp Usage154953
+Node: Escape Sequences156990
+Node: Regexp Operators163230
+Ref: Regexp Operators-Footnote-1170640
+Ref: Regexp Operators-Footnote-2170787
+Node: Bracket Expressions170885
+Ref: table-char-classes172900
+Node: Leftmost Longest175842
+Node: Computed Regexps177144
+Node: GNU Regexp Operators180573
+Node: Case-sensitivity184245
+Ref: Case-sensitivity-Footnote-1187130
+Ref: Case-sensitivity-Footnote-2187365
+Node: Regexp Summary187473
+Node: Reading Files188940
+Node: Records191033
+Node: awk split records191766
+Node: gawk split records196695
+Ref: gawk split records-Footnote-1201234
+Node: Fields201271
+Ref: Fields-Footnote-1204049
+Node: Nonconstant Fields204135
+Ref: Nonconstant Fields-Footnote-1206373
+Node: Changing Fields206576
+Node: Field Separators212507
+Node: Default Field Splitting215211
+Node: Regexp Field Splitting216328
+Node: Single Character Fields219678
+Node: Command Line Field Separator220737
+Node: Full Line Fields223954
+Ref: Full Line Fields-Footnote-1225475
+Ref: Full Line Fields-Footnote-2225521
+Node: Field Splitting Summary225622
+Node: Constant Size227696
+Node: Splitting By Content232279
+Ref: Splitting By Content-Footnote-1236244
+Node: Multiple Line236407
+Ref: Multiple Line-Footnote-1242288
+Node: Getline242467
+Node: Plain Getline244674
+Node: Getline/Variable247314
+Node: Getline/File248463
+Node: Getline/Variable/File249848
+Ref: Getline/Variable/File-Footnote-1251451
+Node: Getline/Pipe251538
+Node: Getline/Variable/Pipe254216
+Node: Getline/Coprocess255347
+Node: Getline/Variable/Coprocess256611
+Node: Getline Notes257350
+Node: Getline Summary260144
+Ref: table-getline-variants260556
+Node: Read Timeout261385
+Ref: Read Timeout-Footnote-1265222
+Node: Command-line directories265280
+Node: Input Summary266185
+Node: Input Exercises269570
+Node: Printing270298
+Node: Print272075
+Node: Print Examples273532
+Node: Output Separators276311
+Node: OFMT278329
+Node: Printf279684
+Node: Basic Printf280469
+Node: Control Letters282041
+Node: Format Modifiers286026
+Node: Printf Examples292036
+Node: Redirection294522
+Node: Special FD301360
+Ref: Special FD-Footnote-1304526
+Node: Special Files304600
+Node: Other Inherited Files305217
+Node: Special Network306217
+Node: Special Caveats307079
+Node: Close Files And Pipes308028
+Ref: Close Files And Pipes-Footnote-1315219
+Ref: Close Files And Pipes-Footnote-2315367
+Node: Output Summary315517
+Node: Output Exercises316515
+Node: Expressions317195
+Node: Values318384
+Node: Constants319061
+Node: Scalar Constants319752
+Ref: Scalar Constants-Footnote-1320614
+Node: Nondecimal-numbers320864
+Node: Regexp Constants323874
+Node: Using Constant Regexps324400
+Node: Variables327563
+Node: Using Variables328220
+Node: Assignment Options330131
+Node: Conversion332006
+Node: Strings And Numbers332530
+Ref: Strings And Numbers-Footnote-1335595
+Node: Locale influences conversions335704
+Ref: table-locale-affects338450
+Node: All Operators339042
+Node: Arithmetic Ops339671
+Node: Concatenation342176
+Ref: Concatenation-Footnote-1344995
+Node: Assignment Ops345102
+Ref: table-assign-ops350081
+Node: Increment Ops351391
+Node: Truth Values and Conditions354822
+Node: Truth Values355905
+Node: Typing and Comparison356954
+Node: Variable Typing357770
+Node: Comparison Operators361437
+Ref: table-relational-ops361847
+Node: POSIX String Comparison365342
+Ref: POSIX String Comparison-Footnote-1366414
+Node: Boolean Ops366553
+Ref: Boolean Ops-Footnote-1371031
+Node: Conditional Exp371122
+Node: Function Calls372860
+Node: Precedence376740
+Node: Locales380400
+Node: Expressions Summary382032
+Node: Patterns and Actions384603
+Node: Pattern Overview385723
+Node: Regexp Patterns387402
+Node: Expression Patterns387945
+Node: Ranges391654
+Node: BEGIN/END394761
+Node: Using BEGIN/END395522
+Ref: Using BEGIN/END-Footnote-1398258
+Node: I/O And BEGIN/END398364
+Node: BEGINFILE/ENDFILE400679
+Node: Empty403576
+Node: Using Shell Variables403893
+Node: Action Overview406166
+Node: Statements408492
+Node: If Statement410340
+Node: While Statement411835
+Node: Do Statement413863
+Node: For Statement415011
+Node: Switch Statement418169
+Node: Break Statement420551
+Node: Continue Statement422592
+Node: Next Statement424419
+Node: Nextfile Statement426800
+Node: Exit Statement429428
+Node: Built-in Variables431839
+Node: User-modified432972
+Ref: User-modified-Footnote-1440675
+Node: Auto-set440737
+Ref: Auto-set-Footnote-1454446
+Ref: Auto-set-Footnote-2454651
+Node: ARGC and ARGV454707
+Node: Pattern Action Summary458925
+Node: Arrays461358
+Node: Array Basics462687
+Node: Array Intro463531
+Ref: figure-array-elements465465
+Ref: Array Intro-Footnote-1468085
+Node: Reference to Elements468213
+Node: Assigning Elements470675
+Node: Array Example471166
+Node: Scanning an Array472925
+Node: Controlling Scanning475945
+Ref: Controlling Scanning-Footnote-1481339
+Node: Numeric Array Subscripts481655
+Node: Uninitialized Subscripts483840
+Node: Delete485457
+Ref: Delete-Footnote-1488206
+Node: Multidimensional488263
+Node: Multiscanning491360
+Node: Arrays of Arrays492949
+Node: Arrays Summary497703
+Node: Functions499794
+Node: Built-in500833
+Node: Calling Built-in501911
+Node: Numeric Functions503906
+Ref: Numeric Functions-Footnote-1508724
+Ref: Numeric Functions-Footnote-2509081
+Ref: Numeric Functions-Footnote-3509129
+Node: String Functions509401
+Ref: String Functions-Footnote-1532902
+Ref: String Functions-Footnote-2533031
+Ref: String Functions-Footnote-3533279
+Node: Gory Details533366
+Ref: table-sub-escapes535147
+Ref: table-sub-proposed536662
+Ref: table-posix-sub538024
+Ref: table-gensub-escapes539561
+Ref: Gory Details-Footnote-1540394
+Node: I/O Functions540545
+Ref: I/O Functions-Footnote-1547781
+Node: Time Functions547928
+Ref: Time Functions-Footnote-1558437
+Ref: Time Functions-Footnote-2558505
+Ref: Time Functions-Footnote-3558663
+Ref: Time Functions-Footnote-4558774
+Ref: Time Functions-Footnote-5558886
+Ref: Time Functions-Footnote-6559113
+Node: Bitwise Functions559379
+Ref: table-bitwise-ops559941
+Ref: Bitwise Functions-Footnote-1564253
+Node: Type Functions564425
+Node: I18N Functions565576
+Node: User-defined567221
+Node: Definition Syntax568026
+Ref: Definition Syntax-Footnote-1573525
+Node: Function Example573596
+Ref: Function Example-Footnote-1576515
+Node: Function Caveats576537
+Node: Calling A Function577055
+Node: Variable Scope578013
+Node: Pass By Value/Reference581001
+Node: Return Statement584496
+Node: Dynamic Typing587477
+Node: Indirect Calls588406
+Ref: Indirect Calls-Footnote-1599724
+Node: Functions Summary599852
+Node: Library Functions602554
+Ref: Library Functions-Footnote-1606163
+Ref: Library Functions-Footnote-2606306
+Node: Library Names606477
+Ref: Library Names-Footnote-1609931
+Ref: Library Names-Footnote-2610154
+Node: General Functions610240
+Node: Strtonum Function611343
+Node: Assert Function614365
+Node: Round Function617689
+Node: Cliff Random Function619230
+Node: Ordinal Functions620246
+Ref: Ordinal Functions-Footnote-1623309
+Ref: Ordinal Functions-Footnote-2623561
+Node: Join Function623772
+Ref: Join Function-Footnote-1625541
+Node: Getlocaltime Function625741
+Node: Readfile Function629485
+Node: Shell Quoting631455
+Node: Data File Management632856
+Node: Filetrans Function633488
+Node: Rewind Function637544
+Node: File Checking638931
+Ref: File Checking-Footnote-1640263
+Node: Empty Files640464
+Node: Ignoring Assigns642443
+Node: Getopt Function643994
+Ref: Getopt Function-Footnote-1655456
+Node: Passwd Functions655656
+Ref: Passwd Functions-Footnote-1664493
+Node: Group Functions664581
+Ref: Group Functions-Footnote-1672475
+Node: Walking Arrays672688
+Node: Library Functions Summary674291
+Node: Library Exercises675692
+Node: Sample Programs676972
+Node: Running Examples677742
+Node: Clones678470
+Node: Cut Program679694
+Node: Egrep Program689413
+Ref: Egrep Program-Footnote-1696911
+Node: Id Program697021
+Node: Split Program700666
+Ref: Split Program-Footnote-1704114
+Node: Tee Program704242
+Node: Uniq Program707031
+Node: Wc Program714450
+Ref: Wc Program-Footnote-1718700
+Node: Miscellaneous Programs718794
+Node: Dupword Program720007
+Node: Alarm Program722038
+Node: Translate Program726842
+Ref: Translate Program-Footnote-1731407
+Node: Labels Program731677
+Ref: Labels Program-Footnote-1735028
+Node: Word Sorting735112
+Node: History Sorting739183
+Node: Extract Program741019
+Node: Simple Sed748544
+Node: Igawk Program751612
+Ref: Igawk Program-Footnote-1765936
+Ref: Igawk Program-Footnote-2766137
+Ref: Igawk Program-Footnote-3766259
+Node: Anagram Program766374
+Node: Signature Program769431
+Node: Programs Summary770678
+Node: Programs Exercises771871
+Ref: Programs Exercises-Footnote-1776002
+Node: Advanced Features776093
+Node: Nondecimal Data778041
+Node: Array Sorting779631
+Node: Controlling Array Traversal780328
+Ref: Controlling Array Traversal-Footnote-1788661
+Node: Array Sorting Functions788779
+Ref: Array Sorting Functions-Footnote-1792668
+Node: Two-way I/O792864
+Ref: Two-way I/O-Footnote-1797809
+Ref: Two-way I/O-Footnote-2797995
+Node: TCP/IP Networking798077
+Node: Profiling800950
+Node: Advanced Features Summary809227
+Node: Internationalization811160
+Node: I18N and L10N812640
+Node: Explaining gettext813326
+Ref: Explaining gettext-Footnote-1818351
+Ref: Explaining gettext-Footnote-2818535
+Node: Programmer i18n818700
+Ref: Programmer i18n-Footnote-1823566
+Node: Translator i18n823615
+Node: String Extraction824409
+Ref: String Extraction-Footnote-1825540
+Node: Printf Ordering825626
+Ref: Printf Ordering-Footnote-1828412
+Node: I18N Portability828476
+Ref: I18N Portability-Footnote-1830931
+Node: I18N Example830994
+Ref: I18N Example-Footnote-1833797
+Node: Gawk I18N833869
+Node: I18N Summary834507
+Node: Debugger835846
+Node: Debugging836868
+Node: Debugging Concepts837309
+Node: Debugging Terms839162
+Node: Awk Debugging841734
+Node: Sample Debugging Session842628
+Node: Debugger Invocation843148
+Node: Finding The Bug844532
+Node: List of Debugger Commands851007
+Node: Breakpoint Control852340
+Node: Debugger Execution Control856036
+Node: Viewing And Changing Data859400
+Node: Execution Stack862778
+Node: Debugger Info864415
+Node: Miscellaneous Debugger Commands868432
+Node: Readline Support873461
+Node: Limitations874353
+Node: Debugging Summary876467
+Node: Arbitrary Precision Arithmetic877635
+Node: Computer Arithmetic879051
+Ref: table-numeric-ranges882649
+Ref: Computer Arithmetic-Footnote-1883508
+Node: Math Definitions883565
+Ref: table-ieee-formats886853
+Ref: Math Definitions-Footnote-1887457
+Node: MPFR features887562
+Node: FP Math Caution889233
+Ref: FP Math Caution-Footnote-1890283
+Node: Inexactness of computations890652
+Node: Inexact representation891611
+Node: Comparing FP Values892968
+Node: Errors accumulate894050
+Node: Getting Accuracy895483
+Node: Try To Round898145
+Node: Setting precision899044
+Ref: table-predefined-precision-strings899728
+Node: Setting the rounding mode901517
+Ref: table-gawk-rounding-modes901881
+Ref: Setting the rounding mode-Footnote-1905336
+Node: Arbitrary Precision Integers905515
+Ref: Arbitrary Precision Integers-Footnote-1910415
+Node: POSIX Floating Point Problems910564
+Ref: POSIX Floating Point Problems-Footnote-1914437
+Node: Floating point summary914475
+Node: Dynamic Extensions916669
+Node: Extension Intro918221
+Node: Plugin License919487
+Node: Extension Mechanism Outline920284
+Ref: figure-load-extension920712
+Ref: figure-register-new-function922192
+Ref: figure-call-new-function923196
+Node: Extension API Description925182
+Node: Extension API Functions Introduction926632
+Node: General Data Types931456
+Ref: General Data Types-Footnote-1937195
+Node: Memory Allocation Functions937494
+Ref: Memory Allocation Functions-Footnote-1940333
+Node: Constructor Functions940429
+Node: Registration Functions942163
+Node: Extension Functions942848
+Node: Exit Callback Functions945145
+Node: Extension Version String946393
+Node: Input Parsers947058
+Node: Output Wrappers956937
+Node: Two-way processors961452
+Node: Printing Messages963656
+Ref: Printing Messages-Footnote-1964732
+Node: Updating `ERRNO'964884
+Node: Requesting Values965624
+Ref: table-value-types-returned966352
+Node: Accessing Parameters967309
+Node: Symbol Table Access968540
+Node: Symbol table by name969054
+Node: Symbol table by cookie971035
+Ref: Symbol table by cookie-Footnote-1975179
+Node: Cached values975242
+Ref: Cached values-Footnote-1978741
+Node: Array Manipulation978832
+Ref: Array Manipulation-Footnote-1979930
+Node: Array Data Types979967
+Ref: Array Data Types-Footnote-1982622
+Node: Array Functions982714
+Node: Flattening Arrays986568
+Node: Creating Arrays993460
+Node: Extension API Variables998231
+Node: Extension Versioning998867
+Node: Extension API Informational Variables1000768
+Node: Extension API Boilerplate1001833
+Node: Finding Extensions1005642
+Node: Extension Example1006202
+Node: Internal File Description1006974
+Node: Internal File Ops1011041
+Ref: Internal File Ops-Footnote-11022711
+Node: Using Internal File Ops1022851
+Ref: Using Internal File Ops-Footnote-11025234
+Node: Extension Samples1025507
+Node: Extension Sample File Functions1027033
+Node: Extension Sample Fnmatch1034671
+Node: Extension Sample Fork1036162
+Node: Extension Sample Inplace1037377
+Node: Extension Sample Ord1039052
+Node: Extension Sample Readdir1039888
+Ref: table-readdir-file-types1040764
+Node: Extension Sample Revout1041575
+Node: Extension Sample Rev2way1042165
+Node: Extension Sample Read write array1042905
+Node: Extension Sample Readfile1044845
+Node: Extension Sample Time1045940
+Node: Extension Sample API Tests1047289
+Node: gawkextlib1047780
+Node: Extension summary1050438
+Node: Extension Exercises1054127
+Node: Language History1054849
+Node: V7/SVR3.11056505
+Node: SVR41058686
+Node: POSIX1060131
+Node: BTL1061520
+Node: POSIX/GNU1062254
+Node: Feature History1067878
+Node: Common Extensions1080976
+Node: Ranges and Locales1082300
+Ref: Ranges and Locales-Footnote-11086918
+Ref: Ranges and Locales-Footnote-21086945
+Ref: Ranges and Locales-Footnote-31087179
+Node: Contributors1087400
+Node: History summary1092941
+Node: Installation1094311
+Node: Gawk Distribution1095257
+Node: Getting1095741
+Node: Extracting1096564
+Node: Distribution contents1098199
+Node: Unix Installation1104264
+Node: Quick Installation1104947
+Node: Shell Startup Files1107358
+Node: Additional Configuration Options1108437
+Node: Configuration Philosophy1110176
+Node: Non-Unix Installation1112545
+Node: PC Installation1113003
+Node: PC Binary Installation1114322
+Node: PC Compiling1116170
+Ref: PC Compiling-Footnote-11119191
+Node: PC Testing1119300
+Node: PC Using1120476
+Node: Cygwin1124591
+Node: MSYS1125414
+Node: VMS Installation1125914
+Node: VMS Compilation1126706
+Ref: VMS Compilation-Footnote-11127928
+Node: VMS Dynamic Extensions1127986
+Node: VMS Installation Details1129670
+Node: VMS Running1131922
+Node: VMS GNV1134758
+Node: VMS Old Gawk1135492
+Node: Bugs1135962
+Node: Other Versions1139845
+Node: Installation summary1146269
+Node: Notes1147325
+Node: Compatibility Mode1148190
+Node: Additions1148972
+Node: Accessing The Source1149897
+Node: Adding Code1151332
+Node: New Ports1157489
+Node: Derived Files1161971
+Ref: Derived Files-Footnote-11167446
+Ref: Derived Files-Footnote-21167480
+Ref: Derived Files-Footnote-31168076
+Node: Future Extensions1168190
+Node: Implementation Limitations1168796
+Node: Extension Design1170044
+Node: Old Extension Problems1171198
+Ref: Old Extension Problems-Footnote-11172715
+Node: Extension New Mechanism Goals1172772
+Ref: Extension New Mechanism Goals-Footnote-11176132
+Node: Extension Other Design Decisions1176321
+Node: Extension Future Growth1178429
+Node: Old Extension Mechanism1179265
+Node: Notes summary1181027
+Node: Basic Concepts1182213
+Node: Basic High Level1182894
+Ref: figure-general-flow1183166
+Ref: figure-process-flow1183765
+Ref: Basic High Level-Footnote-11186994
+Node: Basic Data Typing1187179
+Node: Glossary1190507
+Node: Copying1222436
+Node: GNU Free Documentation License1259992
+Node: Index1285128

End Tag Table