diff options
Diffstat (limited to 'doc/gawk.info')
-rw-r--r-- | doc/gawk.info | 1281 |
1 files changed, 661 insertions, 620 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index 8ca20ccc..88f0a6fb 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -2563,10 +2563,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' @@ -2950,11 +2948,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. @@ -10165,10 +10158,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 @@ -11681,6 +11682,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 @@ -19637,8 +19653,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 @@ -22083,6 +22099,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 @@ -27007,7 +27046,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 @@ -27049,11 +27090,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 @@ -30986,20 +31026,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) @@ -31007,9 +31047,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) @@ -31022,26 +31062,26 @@ Index * -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) @@ -31314,7 +31354,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) @@ -31721,7 +31761,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 355) +* csh utility, POSIXLY_CORRECT environment variable: Options. (line 353) * csh utility, |& operator, comparison with: Two-way I/O. (line 44) * ctime() user-defined function: Function Example. (line 73) * currency symbols, localization: Explaining gettext. (line 104) @@ -31756,9 +31796,9 @@ Index * 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) @@ -31904,7 +31944,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) @@ -31943,12 +31983,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) @@ -31971,7 +32011,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) @@ -31981,7 +32021,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. @@ -31989,7 +32029,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. @@ -32005,6 +32045,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) @@ -32029,8 +32070,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 24) * egrep.awk program: Egrep Program. (line 54) @@ -32086,13 +32127,13 @@ Index (line 11) * EREs (Extended Regular Expressions): Bracket Expressions. (line 24) * 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) @@ -32125,10 +32166,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 69) * 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) @@ -32146,7 +32187,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) @@ -32225,7 +32266,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) @@ -32293,9 +32334,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. @@ -32332,7 +32373,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. @@ -32345,7 +32386,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 definition example: Function Example. (line 6) @@ -32395,7 +32436,7 @@ Index * G-d: Acknowledgments. (line 82) * 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 23) @@ -32416,13 +32457,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 124) -* gawk, extensions, disabling: Options. (line 254) +* 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) @@ -32433,7 +32474,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. @@ -32464,7 +32505,7 @@ Index * gawk, OS/2 version of: PC Using. (line 16) * gawk, PROCINFO array in <1>: Two-way I/O. (line 117) * 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. @@ -32472,18 +32513,18 @@ Index * gawk, regular expressions, operators: GNU Regexp Operators. (line 6) * gawk, regular expressions, precedence: Regexp Operators. (line 162) -* 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 36) * 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 36) -* 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) @@ -32565,7 +32606,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. @@ -32664,7 +32705,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) @@ -32794,7 +32835,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 340) + (line 338) * lint checking, undefined functions: Pass By Value/Reference. (line 88) * LINT variable: User-modified. (line 88) @@ -32808,14 +32849,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) @@ -32856,7 +32897,7 @@ Index * mawk utility <3>: Concatenation. (line 36) * mawk utility <4>: Getline/Pipe. (line 62) * mawk utility: Escape Sequences. (line 124) -* maximum precision supported by MPFR library: Auto-set. (line 213) +* 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) @@ -32869,7 +32910,7 @@ Index * messages from extensions: Printing Messages. (line 6) * metacharacters in regular expressions: Regexp Operators. (line 6) * metacharacters, escape sequences for: Escape Sequences. (line 130) -* minimum precision supported by MPFR library: Auto-set. (line 216) +* 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) @@ -32892,7 +32933,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) @@ -32921,7 +32962,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. @@ -32930,9 +32971,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. @@ -33047,7 +33088,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 80) * password file: Passwd Functions. (line 16) @@ -33114,7 +33155,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 360) +* portability, POSIXLY_CORRECT environment variable: Options. (line 358) * portability, substr() function: String Functions. (line 510) * portable object files <1>: Translator i18n. (line 6) * portable object files: Explaining gettext. (line 37) @@ -33163,11 +33204,11 @@ Index * POSIX awk, regular expressions and: Regexp Operators. (line 162) * 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 23) * POSIX, gawk extensions not included in: POSIX/GNU. (line 6) * POSIX, programs, implementing in awk: Clones. (line 6) -* POSIXLY_CORRECT environment variable: Options. (line 340) +* POSIXLY_CORRECT environment variable: Options. (line 338) * PREC variable: User-modified. (line 124) * precedence <1>: Precedence. (line 6) * precedence: Increment Ops. (line 60) @@ -33210,24 +33251,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 23) * 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 117) * 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) * programmers, attractiveness of: Two-way I/O. (line 6) * programming conventions, --non-decimal-data option: Nondecimal Data. @@ -33272,12 +33313,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 34) +* rand: Numeric Functions. (line 49) * random numbers, Cliff: Cliff Random Function. (line 6) * random numbers, rand()/srand() functions: Numeric Functions. - (line 34) -* random numbers, seed of: Numeric Functions. (line 64) + (line 49) +* random numbers, seed of: Numeric Functions. (line 79) * range expressions (regexps): Bracket Expressions. (line 6) * range patterns: Ranges. (line 6) * range patterns, line continuation and: Ranges. (line 65) @@ -33347,7 +33388,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) @@ -33387,7 +33428,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) @@ -33405,7 +33446,7 @@ Index * Robbins, Miriam <2>: Getline/Pipe. (line 39) * Robbins, Miriam: Acknowledgments. (line 82) * 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) @@ -33413,9 +33454,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) @@ -33428,14 +33469,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) @@ -33455,7 +33496,7 @@ Index * sed utility <2>: Simple Sed. (line 6) * sed utility: Field Splitting Summary. (line 46) -* seeding random number generator: Numeric Functions. (line 64) +* seeding random number generator: Numeric Functions. (line 79) * semicolon (;), AWKPATH variable and: PC Using. (line 10) * semicolon (;), separating statements in actions <1>: Statements. (line 10) @@ -33520,7 +33561,7 @@ Index (line 110) * 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. @@ -33557,8 +33598,8 @@ Index * SIGUSR1 signal, for dynamic profiling: Profiling. (line 188) * silent debugger command: Debugger Execution Control. (line 10) -* sin: Numeric Functions. (line 75) -* sine: Numeric Functions. (line 75) +* sin: Numeric Functions. (line 90) +* sine: Numeric Functions. (line 90) * single quote ('): One-shot. (line 15) * single quote (') in gawk command lines: Long. (line 33) * single quote ('), in shell commands: Quoting. (line 48) @@ -33608,10 +33649,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 78) +* sqrt: Numeric Functions. (line 93) * square brackets ([]), regexp operator: Regexp Operators. (line 56) -* square root: Numeric Functions. (line 78) -* srand: Numeric Functions. (line 82) +* square root: Numeric Functions. (line 93) +* srand: Numeric Functions. (line 97) * stack frame: Debugging Terms. (line 10) * Stallman, Richard <1>: Glossary. (line 296) * Stallman, Richard <2>: Contributors. (line 23) @@ -33683,9 +33724,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) @@ -33863,10 +33904,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) @@ -33900,7 +33941,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) @@ -33994,511 +34035,511 @@ Node: Intro Summary109875 Node: Invoking Gawk110641 Node: Command Line112156 Node: Options112947 -Ref: Options-Footnote-1128776 -Node: Other Arguments128801 -Node: Naming Standard Input131463 -Node: Environment Variables132557 -Node: AWKPATH Variable133115 -Ref: AWKPATH Variable-Footnote-1135987 -Ref: AWKPATH Variable-Footnote-2136032 -Node: AWKLIBPATH Variable136292 -Node: Other Environment Variables137051 -Node: Exit Status140706 -Node: Include Files141381 -Node: Loading Shared Libraries144959 -Node: Obsolete146343 -Node: Undocumented147040 -Node: Invoking Summary147307 -Node: Regexp148887 -Node: Regexp Usage150337 -Node: Escape Sequences152370 -Node: Regexp Operators158037 -Ref: Regexp Operators-Footnote-1165517 -Ref: Regexp Operators-Footnote-2165664 -Node: Bracket Expressions165762 -Ref: table-char-classes167652 -Node: GNU Regexp Operators170592 -Node: Case-sensitivity174315 -Ref: Case-sensitivity-Footnote-1177207 -Ref: Case-sensitivity-Footnote-2177442 -Node: Leftmost Longest177550 -Node: Computed Regexps178751 -Node: Regexp Summary182123 -Node: Reading Files183594 -Node: Records185686 -Node: awk split records186429 -Node: gawk split records191287 -Ref: gawk split records-Footnote-1195808 -Node: Fields195845 -Ref: Fields-Footnote-1198809 -Node: Nonconstant Fields198895 -Ref: Nonconstant Fields-Footnote-1201125 -Node: Changing Fields201327 -Node: Field Separators207281 -Node: Default Field Splitting209983 -Node: Regexp Field Splitting211100 -Node: Single Character Fields214441 -Node: Command Line Field Separator215500 -Node: Full Line Fields218842 -Ref: Full Line Fields-Footnote-1219350 -Node: Field Splitting Summary219396 -Ref: Field Splitting Summary-Footnote-1222495 -Node: Constant Size222596 -Node: Splitting By Content227203 -Ref: Splitting By Content-Footnote-1230953 -Node: Multiple Line230993 -Ref: Multiple Line-Footnote-1236849 -Node: Getline237028 -Node: Plain Getline239244 -Node: Getline/Variable241339 -Node: Getline/File242486 -Node: Getline/Variable/File243870 -Ref: Getline/Variable/File-Footnote-1245469 -Node: Getline/Pipe245556 -Node: Getline/Variable/Pipe248255 -Node: Getline/Coprocess249362 -Node: Getline/Variable/Coprocess250614 -Node: Getline Notes251351 -Node: Getline Summary254155 -Ref: table-getline-variants254563 -Node: Read Timeout255475 -Ref: Read Timeout-Footnote-1259302 -Node: Command line directories259360 -Node: Input Summary260264 -Node: Input Exercises263401 -Node: Printing264134 -Node: Print265856 -Node: Print Examples267197 -Node: Output Separators269976 -Node: OFMT271992 -Node: Printf273350 -Node: Basic Printf274256 -Node: Control Letters275795 -Node: Format Modifiers279786 -Node: Printf Examples285813 -Node: Redirection288277 -Node: Special Files295249 -Node: Special FD295780 -Ref: Special FD-Footnote-1299404 -Node: Special Network299478 -Node: Special Caveats300328 -Node: Close Files And Pipes301124 -Ref: Close Files And Pipes-Footnote-1308285 -Ref: Close Files And Pipes-Footnote-2308433 -Node: Output Summary308583 -Node: Output exercises309580 -Node: Expressions310260 -Node: Values311445 -Node: Constants312121 -Node: Scalar Constants312801 -Ref: Scalar Constants-Footnote-1313660 -Node: Nondecimal-numbers313910 -Node: Regexp Constants316910 -Node: Using Constant Regexps317385 -Node: Variables320455 -Node: Using Variables321110 -Node: Assignment Options322834 -Node: Conversion324709 -Node: Strings And Numbers325233 -Ref: Strings And Numbers-Footnote-1328295 -Node: Locale influences conversions328404 -Ref: table-locale-affects331121 -Node: All Operators331709 -Node: Arithmetic Ops332339 -Node: Concatenation334844 -Ref: Concatenation-Footnote-1337640 -Node: Assignment Ops337760 -Ref: table-assign-ops342743 -Node: Increment Ops344060 -Node: Truth Values and Conditions347498 -Node: Truth Values348581 -Node: Typing and Comparison349630 -Node: Variable Typing350423 -Ref: Variable Typing-Footnote-1354323 -Node: Comparison Operators354445 -Ref: table-relational-ops354855 -Node: POSIX String Comparison358405 -Ref: POSIX String Comparison-Footnote-1359489 -Node: Boolean Ops359627 -Ref: Boolean Ops-Footnote-1363697 -Node: Conditional Exp363788 -Node: Function Calls365515 -Node: Precedence369395 -Node: Locales373064 -Node: Expressions Summary374695 -Node: Patterns and Actions377236 -Node: Pattern Overview378352 -Node: Regexp Patterns380029 -Node: Expression Patterns380572 -Node: Ranges384353 -Node: BEGIN/END387459 -Node: Using BEGIN/END388221 -Ref: Using BEGIN/END-Footnote-1390957 -Node: I/O And BEGIN/END391063 -Node: BEGINFILE/ENDFILE393348 -Node: Empty396279 -Node: Using Shell Variables396596 -Node: Action Overview398879 -Node: Statements401206 -Node: If Statement403054 -Node: While Statement404552 -Node: Do Statement406596 -Node: For Statement407752 -Node: Switch Statement410904 -Node: Break Statement413007 -Node: Continue Statement415062 -Node: Next Statement416855 -Node: Nextfile Statement419245 -Node: Exit Statement421900 -Node: Built-in Variables424304 -Node: User-modified425431 -Ref: User-modified-Footnote-1433120 -Node: Auto-set433182 -Ref: Auto-set-Footnote-1445764 -Ref: Auto-set-Footnote-2445969 -Node: ARGC and ARGV446025 -Node: Pattern Action Summary449879 -Node: Arrays452102 -Node: Array Basics453651 -Node: Array Intro454477 -Ref: figure-array-elements456450 -Node: Reference to Elements458857 -Node: Assigning Elements461130 -Node: Array Example461621 -Node: Scanning an Array463353 -Node: Controlling Scanning466368 -Ref: Controlling Scanning-Footnote-1471541 -Node: Delete471857 -Ref: Delete-Footnote-1474622 -Node: Numeric Array Subscripts474679 -Node: Uninitialized Subscripts476862 -Node: Multidimensional478487 -Node: Multiscanning481580 -Node: Arrays of Arrays483169 -Node: Arrays Summary487832 -Node: Functions489937 -Node: Built-in490810 -Node: Calling Built-in491888 -Node: Numeric Functions493876 -Ref: Numeric Functions-Footnote-1497710 -Ref: Numeric Functions-Footnote-2498067 -Ref: Numeric Functions-Footnote-3498115 -Node: String Functions498384 -Ref: String Functions-Footnote-1521395 -Ref: String Functions-Footnote-2521524 -Ref: String Functions-Footnote-3521772 -Node: Gory Details521859 -Ref: table-sub-escapes523528 -Ref: table-sub-posix-92524882 -Ref: table-sub-proposed526233 -Ref: table-posix-sub527587 -Ref: table-gensub-escapes529132 -Ref: Gory Details-Footnote-1530308 -Ref: Gory Details-Footnote-2530359 -Node: I/O Functions530510 -Ref: I/O Functions-Footnote-1537633 -Node: Time Functions537780 -Ref: Time Functions-Footnote-1548244 -Ref: Time Functions-Footnote-2548312 -Ref: Time Functions-Footnote-3548470 -Ref: Time Functions-Footnote-4548581 -Ref: Time Functions-Footnote-5548693 -Ref: Time Functions-Footnote-6548920 -Node: Bitwise Functions549186 -Ref: table-bitwise-ops549748 -Ref: Bitwise Functions-Footnote-1553993 -Node: Type Functions554177 -Node: I18N Functions555319 -Node: User-defined556964 -Node: Definition Syntax557768 -Ref: Definition Syntax-Footnote-1562947 -Node: Function Example563016 -Ref: Function Example-Footnote-1565660 -Node: Function Caveats565682 -Node: Calling A Function566200 -Node: Variable Scope567155 -Node: Pass By Value/Reference570143 -Node: Return Statement573651 -Node: Dynamic Typing576635 -Node: Indirect Calls577564 -Node: Functions Summary587277 -Node: Library Functions589816 -Ref: Library Functions-Footnote-1593434 -Ref: Library Functions-Footnote-2593577 -Node: Library Names593748 -Ref: Library Names-Footnote-1597221 -Ref: Library Names-Footnote-2597441 -Node: General Functions597527 -Node: Strtonum Function598555 -Node: Assert Function601335 -Node: Round Function604661 -Node: Cliff Random Function606202 -Node: Ordinal Functions607218 -Ref: Ordinal Functions-Footnote-1610295 -Ref: Ordinal Functions-Footnote-2610547 -Node: Join Function610758 -Ref: Join Function-Footnote-1612529 -Node: Getlocaltime Function612729 -Node: Readfile Function616465 -Node: Data File Management618304 -Node: Filetrans Function618936 -Node: Rewind Function623005 -Node: File Checking624392 -Ref: File Checking-Footnote-1625524 -Node: Empty Files625725 -Node: Ignoring Assigns627704 -Node: Getopt Function629258 -Ref: Getopt Function-Footnote-1640561 -Node: Passwd Functions640764 -Ref: Passwd Functions-Footnote-1649743 -Node: Group Functions649831 -Ref: Group Functions-Footnote-1657772 -Node: Walking Arrays657985 -Node: Library Functions Summary659588 -Node: Library exercises660976 -Node: Sample Programs662256 -Node: Running Examples663026 -Node: Clones663754 -Node: Cut Program664978 -Node: Egrep Program674846 -Ref: Egrep Program-Footnote-1682817 -Node: Id Program682927 -Node: Split Program686591 -Ref: Split Program-Footnote-1690129 -Node: Tee Program690257 -Node: Uniq Program693064 -Node: Wc Program700494 -Ref: Wc Program-Footnote-1704759 -Node: Miscellaneous Programs704851 -Node: Dupword Program706064 -Node: Alarm Program708095 -Node: Translate Program712909 -Ref: Translate Program-Footnote-1717300 -Ref: Translate Program-Footnote-2717570 -Node: Labels Program717704 -Ref: Labels Program-Footnote-1721075 -Node: Word Sorting721159 -Node: History Sorting725202 -Node: Extract Program727038 -Node: Simple Sed734574 -Node: Igawk Program737636 -Ref: Igawk Program-Footnote-1751947 -Ref: Igawk Program-Footnote-2752148 -Node: Anagram Program752286 -Node: Signature Program755354 -Node: Programs Summary756601 -Node: Programs Exercises757816 -Node: Advanced Features761467 -Node: Nondecimal Data763415 -Node: Array Sorting764992 -Node: Controlling Array Traversal765689 -Node: Array Sorting Functions773969 -Ref: Array Sorting Functions-Footnote-1777876 -Node: Two-way I/O778070 -Ref: Two-way I/O-Footnote-1783586 -Node: TCP/IP Networking783668 -Node: Profiling786512 -Node: Advanced Features Summary794054 -Node: Internationalization795918 -Node: I18N and L10N797398 -Node: Explaining gettext798084 -Ref: Explaining gettext-Footnote-1803224 -Ref: Explaining gettext-Footnote-2803408 -Node: Programmer i18n803573 -Node: Translator i18n807798 -Node: String Extraction808592 -Ref: String Extraction-Footnote-1809553 -Node: Printf Ordering809639 -Ref: Printf Ordering-Footnote-1812421 -Node: I18N Portability812485 -Ref: I18N Portability-Footnote-1814934 -Node: I18N Example814997 -Ref: I18N Example-Footnote-1817719 -Node: Gawk I18N817791 -Node: I18N Summary818429 -Node: Debugger819768 -Node: Debugging820790 -Node: Debugging Concepts821231 -Node: Debugging Terms823087 -Node: Awk Debugging825684 -Node: Sample Debugging Session826576 -Node: Debugger Invocation827096 -Node: Finding The Bug828429 -Node: List of Debugger Commands834911 -Node: Breakpoint Control836243 -Node: Debugger Execution Control839907 -Node: Viewing And Changing Data843267 -Node: Execution Stack846625 -Node: Debugger Info848138 -Node: Miscellaneous Debugger Commands852132 -Node: Readline Support857316 -Node: Limitations858208 -Node: Debugging Summary860482 -Node: Arbitrary Precision Arithmetic861646 -Node: Computer Arithmetic862975 -Ref: Computer Arithmetic-Footnote-1867362 -Node: Math Definitions867419 -Ref: table-ieee-formats870303 -Node: MPFR features870807 -Node: FP Math Caution872449 -Ref: FP Math Caution-Footnote-1873490 -Node: Inexactness of computations873859 -Node: Inexact representation874807 -Node: Comparing FP Values876162 -Node: Errors accumulate877126 -Node: Getting Accuracy878559 -Node: Try To Round881218 -Node: Setting precision882117 -Ref: table-predefined-precision-strings882799 -Node: Setting the rounding mode884592 -Ref: table-gawk-rounding-modes884956 -Ref: Setting the rounding mode-Footnote-1888410 -Node: Arbitrary Precision Integers888589 -Ref: Arbitrary Precision Integers-Footnote-1891592 -Node: POSIX Floating Point Problems891741 -Ref: POSIX Floating Point Problems-Footnote-1895617 -Node: Floating point summary895655 -Node: Dynamic Extensions897872 -Node: Extension Intro899424 -Node: Plugin License900689 -Node: Extension Mechanism Outline901374 -Ref: figure-load-extension901798 -Ref: figure-load-new-function903283 -Ref: figure-call-new-function904285 -Node: Extension API Description906269 -Node: Extension API Functions Introduction907719 -Node: General Data Types912584 -Ref: General Data Types-Footnote-1918277 -Node: Requesting Values918576 -Ref: table-value-types-returned919313 -Node: Memory Allocation Functions920271 -Ref: Memory Allocation Functions-Footnote-1923018 -Node: Constructor Functions923114 -Node: Registration Functions924872 -Node: Extension Functions925557 -Node: Exit Callback Functions927859 -Node: Extension Version String929108 -Node: Input Parsers929758 -Node: Output Wrappers939572 -Node: Two-way processors944088 -Node: Printing Messages946292 -Ref: Printing Messages-Footnote-1947369 -Node: Updating `ERRNO'947521 -Node: Accessing Parameters948260 -Node: Symbol Table Access949490 -Node: Symbol table by name950004 -Node: Symbol table by cookie951980 -Ref: Symbol table by cookie-Footnote-1956113 -Node: Cached values956176 -Ref: Cached values-Footnote-1959680 -Node: Array Manipulation959771 -Ref: Array Manipulation-Footnote-1960869 -Node: Array Data Types960908 -Ref: Array Data Types-Footnote-1963611 -Node: Array Functions963703 -Node: Flattening Arrays967577 -Node: Creating Arrays974429 -Node: Extension API Variables979160 -Node: Extension Versioning979796 -Node: Extension API Informational Variables981697 -Node: Extension API Boilerplate982783 -Node: Finding Extensions986587 -Node: Extension Example987147 -Node: Internal File Description987877 -Node: Internal File Ops991968 -Ref: Internal File Ops-Footnote-11003400 -Node: Using Internal File Ops1003540 -Ref: Using Internal File Ops-Footnote-11005887 -Node: Extension Samples1006155 -Node: Extension Sample File Functions1007679 -Node: Extension Sample Fnmatch1015247 -Node: Extension Sample Fork1016729 -Node: Extension Sample Inplace1017942 -Node: Extension Sample Ord1019617 -Node: Extension Sample Readdir1020453 -Ref: table-readdir-file-types1021309 -Node: Extension Sample Revout1022108 -Node: Extension Sample Rev2way1022699 -Node: Extension Sample Read write array1023440 -Node: Extension Sample Readfile1025319 -Node: Extension Sample API Tests1026419 -Node: Extension Sample Time1026944 -Node: gawkextlib1028259 -Node: Extension summary1031072 -Node: Extension Exercises1034765 -Node: Language History1035487 -Node: V7/SVR3.11037130 -Node: SVR41039450 -Node: POSIX1040892 -Node: BTL1042278 -Node: POSIX/GNU1043012 -Node: Feature History1048611 -Node: Common Extensions1061741 -Node: Ranges and Locales1063053 -Ref: Ranges and Locales-Footnote-11067670 -Ref: Ranges and Locales-Footnote-21067697 -Ref: Ranges and Locales-Footnote-31067931 -Node: Contributors1068152 -Node: History summary1073577 -Node: Installation1074946 -Node: Gawk Distribution1075897 -Node: Getting1076381 -Node: Extracting1077205 -Node: Distribution contents1078847 -Node: Unix Installation1084564 -Node: Quick Installation1085181 -Node: Additional Configuration Options1087623 -Node: Configuration Philosophy1089361 -Node: Non-Unix Installation1091712 -Node: PC Installation1092170 -Node: PC Binary Installation1093481 -Node: PC Compiling1095329 -Ref: PC Compiling-Footnote-11098328 -Node: PC Testing1098433 -Node: PC Using1099609 -Node: Cygwin1103767 -Node: MSYS1104576 -Node: VMS Installation1105090 -Node: VMS Compilation1105886 -Ref: VMS Compilation-Footnote-11107108 -Node: VMS Dynamic Extensions1107166 -Node: VMS Installation Details1108539 -Node: VMS Running1110791 -Node: VMS GNV1113625 -Node: VMS Old Gawk1114348 -Node: Bugs1114818 -Node: Other Versions1118822 -Node: Installation summary1125077 -Node: Notes1126133 -Node: Compatibility Mode1126998 -Node: Additions1127780 -Node: Accessing The Source1128705 -Node: Adding Code1130141 -Node: New Ports1136319 -Node: Derived Files1140800 -Ref: Derived Files-Footnote-11145881 -Ref: Derived Files-Footnote-21145915 -Ref: Derived Files-Footnote-31146511 -Node: Future Extensions1146625 -Node: Implementation Limitations1147231 -Node: Extension Design1148479 -Node: Old Extension Problems1149633 -Ref: Old Extension Problems-Footnote-11151150 -Node: Extension New Mechanism Goals1151207 -Ref: Extension New Mechanism Goals-Footnote-11154567 -Node: Extension Other Design Decisions1154756 -Node: Extension Future Growth1156862 -Node: Old Extension Mechanism1157698 -Node: Notes summary1159460 -Node: Basic Concepts1160646 -Node: Basic High Level1161327 -Ref: figure-general-flow1161599 -Ref: figure-process-flow1162198 -Ref: Basic High Level-Footnote-11165427 -Node: Basic Data Typing1165612 -Node: Glossary1168940 -Node: Copying1194092 -Node: GNU Free Documentation License1231648 -Node: Index1256784 +Ref: Options-Footnote-1128647 +Node: Other Arguments128672 +Node: Naming Standard Input131334 +Node: Environment Variables132428 +Node: AWKPATH Variable132986 +Ref: AWKPATH Variable-Footnote-1135858 +Ref: AWKPATH Variable-Footnote-2135903 +Node: AWKLIBPATH Variable136163 +Node: Other Environment Variables136922 +Node: Exit Status140372 +Node: Include Files141047 +Node: Loading Shared Libraries144625 +Node: Obsolete146009 +Node: Undocumented146706 +Node: Invoking Summary146973 +Node: Regexp148553 +Node: Regexp Usage150003 +Node: Escape Sequences152036 +Node: Regexp Operators157703 +Ref: Regexp Operators-Footnote-1165183 +Ref: Regexp Operators-Footnote-2165330 +Node: Bracket Expressions165428 +Ref: table-char-classes167318 +Node: GNU Regexp Operators170258 +Node: Case-sensitivity173981 +Ref: Case-sensitivity-Footnote-1176873 +Ref: Case-sensitivity-Footnote-2177108 +Node: Leftmost Longest177216 +Node: Computed Regexps178417 +Node: Regexp Summary181789 +Node: Reading Files183260 +Node: Records185352 +Node: awk split records186095 +Node: gawk split records190953 +Ref: gawk split records-Footnote-1195474 +Node: Fields195511 +Ref: Fields-Footnote-1198475 +Node: Nonconstant Fields198561 +Ref: Nonconstant Fields-Footnote-1200791 +Node: Changing Fields200993 +Node: Field Separators206947 +Node: Default Field Splitting209649 +Node: Regexp Field Splitting210766 +Node: Single Character Fields214107 +Node: Command Line Field Separator215166 +Node: Full Line Fields218508 +Ref: Full Line Fields-Footnote-1219016 +Node: Field Splitting Summary219062 +Ref: Field Splitting Summary-Footnote-1222161 +Node: Constant Size222262 +Node: Splitting By Content226869 +Ref: Splitting By Content-Footnote-1230619 +Node: Multiple Line230659 +Ref: Multiple Line-Footnote-1236515 +Node: Getline236694 +Node: Plain Getline238910 +Node: Getline/Variable241005 +Node: Getline/File242152 +Node: Getline/Variable/File243536 +Ref: Getline/Variable/File-Footnote-1245135 +Node: Getline/Pipe245222 +Node: Getline/Variable/Pipe247921 +Node: Getline/Coprocess249028 +Node: Getline/Variable/Coprocess250280 +Node: Getline Notes251017 +Node: Getline Summary253821 +Ref: table-getline-variants254229 +Node: Read Timeout255141 +Ref: Read Timeout-Footnote-1258968 +Node: Command line directories259026 +Node: Input Summary259930 +Node: Input Exercises263067 +Node: Printing263800 +Node: Print265522 +Node: Print Examples266863 +Node: Output Separators269642 +Node: OFMT271658 +Node: Printf273016 +Node: Basic Printf273922 +Node: Control Letters275461 +Node: Format Modifiers279452 +Node: Printf Examples285479 +Node: Redirection287943 +Node: Special Files294915 +Node: Special FD295446 +Ref: Special FD-Footnote-1299070 +Node: Special Network299144 +Node: Special Caveats299994 +Node: Close Files And Pipes300790 +Ref: Close Files And Pipes-Footnote-1307951 +Ref: Close Files And Pipes-Footnote-2308099 +Node: Output Summary308249 +Node: Output exercises309246 +Node: Expressions309926 +Node: Values311111 +Node: Constants311787 +Node: Scalar Constants312467 +Ref: Scalar Constants-Footnote-1313326 +Node: Nondecimal-numbers313576 +Node: Regexp Constants316576 +Node: Using Constant Regexps317051 +Node: Variables320121 +Node: Using Variables320776 +Node: Assignment Options322500 +Node: Conversion324375 +Node: Strings And Numbers324899 +Ref: Strings And Numbers-Footnote-1327961 +Node: Locale influences conversions328070 +Ref: table-locale-affects330787 +Node: All Operators331375 +Node: Arithmetic Ops332005 +Node: Concatenation334510 +Ref: Concatenation-Footnote-1337306 +Node: Assignment Ops337426 +Ref: table-assign-ops342409 +Node: Increment Ops343726 +Node: Truth Values and Conditions347164 +Node: Truth Values348247 +Node: Typing and Comparison349296 +Node: Variable Typing350089 +Ref: Variable Typing-Footnote-1353989 +Node: Comparison Operators354111 +Ref: table-relational-ops354521 +Node: POSIX String Comparison358071 +Ref: POSIX String Comparison-Footnote-1359155 +Node: Boolean Ops359293 +Ref: Boolean Ops-Footnote-1363363 +Node: Conditional Exp363454 +Node: Function Calls365181 +Node: Precedence369061 +Node: Locales372730 +Node: Expressions Summary374361 +Node: Patterns and Actions376902 +Node: Pattern Overview378018 +Node: Regexp Patterns379695 +Node: Expression Patterns380238 +Node: Ranges384019 +Node: BEGIN/END387125 +Node: Using BEGIN/END387887 +Ref: Using BEGIN/END-Footnote-1390623 +Node: I/O And BEGIN/END390729 +Node: BEGINFILE/ENDFILE393014 +Node: Empty395945 +Node: Using Shell Variables396262 +Node: Action Overview398545 +Node: Statements400872 +Node: If Statement402720 +Node: While Statement404218 +Node: Do Statement406262 +Node: For Statement407418 +Node: Switch Statement410570 +Node: Break Statement412673 +Node: Continue Statement414728 +Node: Next Statement416521 +Node: Nextfile Statement418911 +Node: Exit Statement421566 +Node: Built-in Variables423970 +Node: User-modified425097 +Ref: User-modified-Footnote-1432786 +Node: Auto-set432848 +Ref: Auto-set-Footnote-1445767 +Ref: Auto-set-Footnote-2445972 +Node: ARGC and ARGV446028 +Node: Pattern Action Summary449882 +Node: Arrays452105 +Node: Array Basics453654 +Node: Array Intro454480 +Ref: figure-array-elements456453 +Node: Reference to Elements458860 +Node: Assigning Elements461133 +Node: Array Example461624 +Node: Scanning an Array463356 +Node: Controlling Scanning466371 +Ref: Controlling Scanning-Footnote-1471544 +Node: Delete471860 +Ref: Delete-Footnote-1474625 +Node: Numeric Array Subscripts474682 +Node: Uninitialized Subscripts476865 +Node: Multidimensional478490 +Node: Multiscanning481583 +Node: Arrays of Arrays483172 +Node: Arrays Summary487835 +Node: Functions489940 +Node: Built-in490813 +Node: Calling Built-in491891 +Node: Numeric Functions493879 +Ref: Numeric Functions-Footnote-1498515 +Ref: Numeric Functions-Footnote-2498872 +Ref: Numeric Functions-Footnote-3498920 +Node: String Functions499189 +Ref: String Functions-Footnote-1522200 +Ref: String Functions-Footnote-2522329 +Ref: String Functions-Footnote-3522577 +Node: Gory Details522664 +Ref: table-sub-escapes524333 +Ref: table-sub-posix-92525687 +Ref: table-sub-proposed527038 +Ref: table-posix-sub528392 +Ref: table-gensub-escapes529937 +Ref: Gory Details-Footnote-1531113 +Ref: Gory Details-Footnote-2531164 +Node: I/O Functions531315 +Ref: I/O Functions-Footnote-1538438 +Node: Time Functions538585 +Ref: Time Functions-Footnote-1549049 +Ref: Time Functions-Footnote-2549117 +Ref: Time Functions-Footnote-3549275 +Ref: Time Functions-Footnote-4549386 +Ref: Time Functions-Footnote-5549498 +Ref: Time Functions-Footnote-6549725 +Node: Bitwise Functions549991 +Ref: table-bitwise-ops550553 +Ref: Bitwise Functions-Footnote-1554798 +Node: Type Functions554982 +Node: I18N Functions556124 +Node: User-defined557769 +Node: Definition Syntax558573 +Ref: Definition Syntax-Footnote-1563752 +Node: Function Example563821 +Ref: Function Example-Footnote-1566465 +Node: Function Caveats566487 +Node: Calling A Function567005 +Node: Variable Scope567960 +Node: Pass By Value/Reference570948 +Node: Return Statement574456 +Node: Dynamic Typing577440 +Node: Indirect Calls578369 +Node: Functions Summary588082 +Node: Library Functions590621 +Ref: Library Functions-Footnote-1594239 +Ref: Library Functions-Footnote-2594382 +Node: Library Names594553 +Ref: Library Names-Footnote-1598026 +Ref: Library Names-Footnote-2598246 +Node: General Functions598332 +Node: Strtonum Function599360 +Node: Assert Function602140 +Node: Round Function605466 +Node: Cliff Random Function607007 +Node: Ordinal Functions608023 +Ref: Ordinal Functions-Footnote-1611100 +Ref: Ordinal Functions-Footnote-2611352 +Node: Join Function611563 +Ref: Join Function-Footnote-1613334 +Node: Getlocaltime Function613534 +Node: Readfile Function617270 +Node: Data File Management619109 +Node: Filetrans Function619741 +Node: Rewind Function623810 +Node: File Checking625197 +Ref: File Checking-Footnote-1626329 +Node: Empty Files626530 +Node: Ignoring Assigns628509 +Node: Getopt Function630063 +Ref: Getopt Function-Footnote-1641366 +Node: Passwd Functions641569 +Ref: Passwd Functions-Footnote-1650548 +Node: Group Functions650636 +Ref: Group Functions-Footnote-1658577 +Node: Walking Arrays658790 +Node: Library Functions Summary660393 +Node: Library exercises661781 +Node: Sample Programs663061 +Node: Running Examples663831 +Node: Clones664559 +Node: Cut Program665783 +Node: Egrep Program675651 +Ref: Egrep Program-Footnote-1683622 +Node: Id Program683732 +Node: Split Program687396 +Ref: Split Program-Footnote-1690934 +Node: Tee Program691062 +Node: Uniq Program693869 +Node: Wc Program701299 +Ref: Wc Program-Footnote-1705564 +Node: Miscellaneous Programs705656 +Node: Dupword Program706869 +Node: Alarm Program708900 +Node: Translate Program713714 +Ref: Translate Program-Footnote-1718105 +Ref: Translate Program-Footnote-2718375 +Node: Labels Program718509 +Ref: Labels Program-Footnote-1721880 +Node: Word Sorting721964 +Node: History Sorting726007 +Node: Extract Program727843 +Node: Simple Sed735379 +Node: Igawk Program738441 +Ref: Igawk Program-Footnote-1752752 +Ref: Igawk Program-Footnote-2752953 +Node: Anagram Program753091 +Node: Signature Program756159 +Node: Programs Summary757406 +Node: Programs Exercises758621 +Node: Advanced Features762272 +Node: Nondecimal Data764220 +Node: Array Sorting765797 +Node: Controlling Array Traversal766494 +Node: Array Sorting Functions774774 +Ref: Array Sorting Functions-Footnote-1778681 +Node: Two-way I/O778875 +Ref: Two-way I/O-Footnote-1784391 +Node: TCP/IP Networking784473 +Node: Profiling787317 +Node: Advanced Features Summary794868 +Node: Internationalization796732 +Node: I18N and L10N798212 +Node: Explaining gettext798898 +Ref: Explaining gettext-Footnote-1804038 +Ref: Explaining gettext-Footnote-2804222 +Node: Programmer i18n804387 +Node: Translator i18n808612 +Node: String Extraction809406 +Ref: String Extraction-Footnote-1810367 +Node: Printf Ordering810453 +Ref: Printf Ordering-Footnote-1813235 +Node: I18N Portability813299 +Ref: I18N Portability-Footnote-1815748 +Node: I18N Example815811 +Ref: I18N Example-Footnote-1818533 +Node: Gawk I18N818605 +Node: I18N Summary819243 +Node: Debugger820582 +Node: Debugging821604 +Node: Debugging Concepts822045 +Node: Debugging Terms823901 +Node: Awk Debugging826498 +Node: Sample Debugging Session827390 +Node: Debugger Invocation827910 +Node: Finding The Bug829243 +Node: List of Debugger Commands835725 +Node: Breakpoint Control837057 +Node: Debugger Execution Control840721 +Node: Viewing And Changing Data844081 +Node: Execution Stack847439 +Node: Debugger Info848952 +Node: Miscellaneous Debugger Commands852946 +Node: Readline Support858130 +Node: Limitations859022 +Node: Debugging Summary861296 +Node: Arbitrary Precision Arithmetic862460 +Node: Computer Arithmetic863789 +Ref: Computer Arithmetic-Footnote-1868176 +Node: Math Definitions868233 +Ref: table-ieee-formats871117 +Node: MPFR features871621 +Node: FP Math Caution873263 +Ref: FP Math Caution-Footnote-1874304 +Node: Inexactness of computations874673 +Node: Inexact representation875621 +Node: Comparing FP Values876976 +Node: Errors accumulate877940 +Node: Getting Accuracy879373 +Node: Try To Round882032 +Node: Setting precision882931 +Ref: table-predefined-precision-strings883613 +Node: Setting the rounding mode885406 +Ref: table-gawk-rounding-modes885770 +Ref: Setting the rounding mode-Footnote-1889224 +Node: Arbitrary Precision Integers889403 +Ref: Arbitrary Precision Integers-Footnote-1893198 +Node: POSIX Floating Point Problems893347 +Ref: POSIX Floating Point Problems-Footnote-1897223 +Node: Floating point summary897261 +Node: Dynamic Extensions899478 +Node: Extension Intro901030 +Node: Plugin License902295 +Node: Extension Mechanism Outline902980 +Ref: figure-load-extension903404 +Ref: figure-load-new-function904889 +Ref: figure-call-new-function905891 +Node: Extension API Description907875 +Node: Extension API Functions Introduction909325 +Node: General Data Types914190 +Ref: General Data Types-Footnote-1919883 +Node: Requesting Values920182 +Ref: table-value-types-returned920919 +Node: Memory Allocation Functions921877 +Ref: Memory Allocation Functions-Footnote-1924624 +Node: Constructor Functions924720 +Node: Registration Functions926478 +Node: Extension Functions927163 +Node: Exit Callback Functions929465 +Node: Extension Version String930714 +Node: Input Parsers931364 +Node: Output Wrappers941178 +Node: Two-way processors945694 +Node: Printing Messages947898 +Ref: Printing Messages-Footnote-1948975 +Node: Updating `ERRNO'949127 +Node: Accessing Parameters949866 +Node: Symbol Table Access951096 +Node: Symbol table by name951610 +Node: Symbol table by cookie953586 +Ref: Symbol table by cookie-Footnote-1957719 +Node: Cached values957782 +Ref: Cached values-Footnote-1961286 +Node: Array Manipulation961377 +Ref: Array Manipulation-Footnote-1962475 +Node: Array Data Types962514 +Ref: Array Data Types-Footnote-1965217 +Node: Array Functions965309 +Node: Flattening Arrays969183 +Node: Creating Arrays976035 +Node: Extension API Variables980766 +Node: Extension Versioning981402 +Node: Extension API Informational Variables983303 +Node: Extension API Boilerplate984389 +Node: Finding Extensions988193 +Node: Extension Example988753 +Node: Internal File Description989483 +Node: Internal File Ops993574 +Ref: Internal File Ops-Footnote-11005006 +Node: Using Internal File Ops1005146 +Ref: Using Internal File Ops-Footnote-11007493 +Node: Extension Samples1007761 +Node: Extension Sample File Functions1009285 +Node: Extension Sample Fnmatch1016853 +Node: Extension Sample Fork1018335 +Node: Extension Sample Inplace1019548 +Node: Extension Sample Ord1021223 +Node: Extension Sample Readdir1022059 +Ref: table-readdir-file-types1022915 +Node: Extension Sample Revout1023714 +Node: Extension Sample Rev2way1024305 +Node: Extension Sample Read write array1025046 +Node: Extension Sample Readfile1026925 +Node: Extension Sample API Tests1028025 +Node: Extension Sample Time1028550 +Node: gawkextlib1029865 +Node: Extension summary1032678 +Node: Extension Exercises1036371 +Node: Language History1037093 +Node: V7/SVR3.11038736 +Node: SVR41041056 +Node: POSIX1042498 +Node: BTL1043884 +Node: POSIX/GNU1044618 +Node: Feature History1050217 +Node: Common Extensions1063347 +Node: Ranges and Locales1064659 +Ref: Ranges and Locales-Footnote-11069276 +Ref: Ranges and Locales-Footnote-21069303 +Ref: Ranges and Locales-Footnote-31069537 +Node: Contributors1069758 +Node: History summary1075183 +Node: Installation1076552 +Node: Gawk Distribution1077503 +Node: Getting1077987 +Node: Extracting1078811 +Node: Distribution contents1080453 +Node: Unix Installation1086223 +Node: Quick Installation1086840 +Node: Additional Configuration Options1089282 +Node: Configuration Philosophy1091020 +Node: Non-Unix Installation1093371 +Node: PC Installation1093829 +Node: PC Binary Installation1095140 +Node: PC Compiling1096988 +Ref: PC Compiling-Footnote-11099987 +Node: PC Testing1100092 +Node: PC Using1101268 +Node: Cygwin1105426 +Node: MSYS1106235 +Node: VMS Installation1106749 +Node: VMS Compilation1107545 +Ref: VMS Compilation-Footnote-11108767 +Node: VMS Dynamic Extensions1108825 +Node: VMS Installation Details1110198 +Node: VMS Running1112450 +Node: VMS GNV1115284 +Node: VMS Old Gawk1116007 +Node: Bugs1116477 +Node: Other Versions1120481 +Node: Installation summary1126736 +Node: Notes1127792 +Node: Compatibility Mode1128657 +Node: Additions1129439 +Node: Accessing The Source1130364 +Node: Adding Code1131800 +Node: New Ports1137978 +Node: Derived Files1142459 +Ref: Derived Files-Footnote-11147540 +Ref: Derived Files-Footnote-21147574 +Ref: Derived Files-Footnote-31148170 +Node: Future Extensions1148284 +Node: Implementation Limitations1148890 +Node: Extension Design1150138 +Node: Old Extension Problems1151292 +Ref: Old Extension Problems-Footnote-11152809 +Node: Extension New Mechanism Goals1152866 +Ref: Extension New Mechanism Goals-Footnote-11156226 +Node: Extension Other Design Decisions1156415 +Node: Extension Future Growth1158521 +Node: Old Extension Mechanism1159357 +Node: Notes summary1161119 +Node: Basic Concepts1162305 +Node: Basic High Level1162986 +Ref: figure-general-flow1163258 +Ref: figure-process-flow1163857 +Ref: Basic High Level-Footnote-11167086 +Node: Basic Data Typing1167271 +Node: Glossary1170599 +Node: Copying1195751 +Node: GNU Free Documentation License1233307 +Node: Index1258443 End Tag Table |