diff options
Diffstat (limited to 'doc/gawk.info')
-rw-r--r-- | doc/gawk.info | 1279 |
1 files changed, 660 insertions, 619 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index 501b8136..038e9a83 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -2568,10 +2568,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' @@ -2955,11 +2953,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. @@ -10169,10 +10162,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 @@ -11685,6 +11686,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 @@ -19607,8 +19623,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 @@ -22071,6 +22087,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 @@ -27000,7 +27039,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 @@ -27042,11 +27083,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 @@ -30979,20 +31019,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) @@ -31000,9 +31040,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) @@ -31015,26 +31055,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) @@ -31306,7 +31346,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) @@ -31712,7 +31752,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 25) * ctime() user-defined function: Function Example. (line 73) * currency symbols, localization: Explaining gettext. (line 104) @@ -31747,9 +31787,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) @@ -31895,7 +31935,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) @@ -31934,12 +31974,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) @@ -31962,7 +32002,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) @@ -31972,7 +32012,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. @@ -31980,7 +32020,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. @@ -31996,6 +32036,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) @@ -32020,8 +32061,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) @@ -32077,13 +32118,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) @@ -32116,10 +32157,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) @@ -32137,7 +32178,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) @@ -32216,7 +32257,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) @@ -32284,9 +32325,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. @@ -32323,7 +32364,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. @@ -32336,7 +32377,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) @@ -32386,7 +32427,7 @@ Index * G-d: Acknowledgments. (line 92) * Garfinkle, Scott: Contributors. (line 34) * gawk program, dynamic profiling: Profiling. (line 179) -* gawk version: Auto-set. (line 199) +* gawk version: Auto-set. (line 207) * gawk, ARGIND variable in: Other Arguments. (line 12) * gawk, awk and <1>: This Manual. (line 14) * gawk, awk and: Preface. (line 23) @@ -32407,13 +32448,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) @@ -32424,7 +32465,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. @@ -32455,7 +32496,7 @@ Index * gawk, OS/2 version of: PC Using. (line 16) * gawk, PROCINFO array in <1>: Two-way I/O. (line 99) * gawk, PROCINFO array in <2>: Time Functions. (line 47) -* gawk, PROCINFO array in: Auto-set. (line 128) +* gawk, PROCINFO array in: Auto-set. (line 136) * gawk, regexp constants and: Using Constant Regexps. (line 28) * gawk, regular expressions, case sensitivity: Case-sensitivity. @@ -32463,18 +32504,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) @@ -32556,7 +32597,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. @@ -32655,7 +32696,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) @@ -32785,7 +32826,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) @@ -32799,14 +32840,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) @@ -32847,7 +32888,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) @@ -32860,7 +32901,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) @@ -32883,7 +32924,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) @@ -32912,7 +32953,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. @@ -32921,9 +32962,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. @@ -33038,7 +33079,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) @@ -33105,7 +33146,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) @@ -33154,11 +33195,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) @@ -33201,24 +33242,24 @@ Index * printing, unduplicated lines of text: Uniq Program. (line 6) * printing, user information: Id Program. (line 6) * private variables: Library Names. (line 11) -* process group idIDof gawk process: Auto-set. (line 175) -* process ID of gawk process: Auto-set. (line 178) +* process group idIDof gawk process: Auto-set. (line 183) +* process ID of gawk process: Auto-set. (line 186) * processes, two-way communications with: Two-way I/O. (line 6) * processing data: Basic High Level. (line 6) * PROCINFO array <1>: Passwd Functions. (line 6) * PROCINFO array <2>: Time Functions. (line 47) -* PROCINFO array: Auto-set. (line 128) +* PROCINFO array: Auto-set. (line 136) * PROCINFO array, and communications via ptys: Two-way I/O. (line 99) * PROCINFO array, and group membership: Group Functions. (line 6) * PROCINFO array, and user and group ID numbers: Id Program. (line 15) * PROCINFO array, testing the field splitting: Passwd Functions. (line 161) -* PROCINFO array, uses: Auto-set. (line 234) +* PROCINFO array, uses: Auto-set. (line 242) * PROCINFO, values of sorted_in: Controlling Scanning. (line 26) * profiling awk programs: Profiling. (line 6) * profiling awk programs, dynamically: Profiling. (line 179) -* program identifiers: Auto-set. (line 146) +* program identifiers: Auto-set. (line 154) * program, definition of: Getting Started. (line 21) * programming conventions, --non-decimal-data option: Nondecimal Data. (line 36) @@ -33262,12 +33303,12 @@ Index * Rakitzis, Byron: History Sorting. (line 25) * Ramey, Chet <1>: General Data Types. (line 6) * Ramey, Chet: Acknowledgments. (line 60) -* rand: Numeric Functions. (line 35) +* rand: Numeric Functions. (line 50) * random numbers, Cliff: Cliff Random Function. (line 6) * random numbers, rand()/srand() functions: Numeric Functions. - (line 35) -* random numbers, seed of: Numeric Functions. (line 65) + (line 50) +* random numbers, seed of: Numeric Functions. (line 80) * range expressions (regexps): Bracket Expressions. (line 6) * range patterns: Ranges. (line 6) * range patterns, line continuation and: Ranges. (line 65) @@ -33337,7 +33378,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) @@ -33377,7 +33418,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) @@ -33395,7 +33436,7 @@ Index * Robbins, Miriam <2>: Getline/Pipe. (line 39) * Robbins, Miriam: Acknowledgments. (line 92) * Rommel, Kai Uwe: Contributors. (line 42) -* round to nearest integer: Numeric Functions. (line 23) +* round to nearest integer: Numeric Functions. (line 38) * round() user-defined function: Round Function. (line 16) * rounding numbers: Round Function. (line 6) * ROUNDMODE variable: User-modified. (line 128) @@ -33403,9 +33444,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) @@ -33418,14 +33459,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) @@ -33445,7 +33486,7 @@ Index * sed utility <2>: Simple Sed. (line 6) * sed utility: Field Splitting Summary. (line 46) -* seeding random number generator: Numeric Functions. (line 65) +* seeding random number generator: Numeric Functions. (line 80) * semicolon (;), AWKPATH variable and: PC Using. (line 10) * semicolon (;), separating statements in actions <1>: Statements. (line 10) @@ -33510,7 +33551,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. @@ -33547,8 +33588,8 @@ Index * SIGUSR1 signal, for dynamic profiling: Profiling. (line 188) * silent debugger command: Debugger Execution Control. (line 10) -* sin: Numeric Functions. (line 76) -* sine: Numeric Functions. (line 76) +* sin: Numeric Functions. (line 91) +* sine: Numeric Functions. (line 91) * single quote ('): One-shot. (line 15) * single quote (') in gawk command lines: Long. (line 33) * single quote ('), in shell commands: Quoting. (line 48) @@ -33598,10 +33639,10 @@ Index * sprintf() function, OFMT variable and: User-modified. (line 114) * sprintf() function, print/printf statements and: Round Function. (line 6) -* sqrt: Numeric Functions. (line 79) +* sqrt: Numeric Functions. (line 94) * square brackets ([]), regexp operator: Regexp Operators. (line 56) -* square root: Numeric Functions. (line 79) -* srand: Numeric Functions. (line 83) +* square root: Numeric Functions. (line 94) +* srand: Numeric Functions. (line 98) * stack frame: Debugging Terms. (line 10) * Stallman, Richard <1>: Glossary. (line 296) * Stallman, Richard <2>: Contributors. (line 23) @@ -33673,9 +33714,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) @@ -33853,10 +33894,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) @@ -33890,7 +33931,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) @@ -33983,510 +34024,510 @@ Node: Intro Summary110175 Node: Invoking Gawk110941 Node: Command Line112456 Node: Options113247 -Ref: Options-Footnote-1129076 -Node: Other Arguments129101 -Node: Naming Standard Input131763 -Node: Environment Variables132856 -Node: AWKPATH Variable133414 -Ref: AWKPATH Variable-Footnote-1136286 -Ref: AWKPATH Variable-Footnote-2136331 -Node: AWKLIBPATH Variable136591 -Node: Other Environment Variables137350 -Node: Exit Status141007 -Node: Include Files141682 -Node: Loading Shared Libraries145260 -Node: Obsolete146644 -Node: Undocumented147341 -Node: Invoking Summary147608 -Node: Regexp149208 -Node: Regexp Usage150658 -Node: Escape Sequences152691 -Node: Regexp Operators158358 -Ref: Regexp Operators-Footnote-1165838 -Ref: Regexp Operators-Footnote-2165985 -Node: Bracket Expressions166083 -Ref: table-char-classes167973 -Node: GNU Regexp Operators170913 -Node: Case-sensitivity174636 -Ref: Case-sensitivity-Footnote-1177528 -Ref: Case-sensitivity-Footnote-2177763 -Node: Leftmost Longest177871 -Node: Computed Regexps179072 -Node: Regexp Summary182444 -Node: Reading Files183913 -Node: Records186005 -Node: awk split records186748 -Node: gawk split records191606 -Ref: gawk split records-Footnote-1196127 -Node: Fields196164 -Ref: Fields-Footnote-1199128 -Node: Nonconstant Fields199214 -Ref: Nonconstant Fields-Footnote-1201444 -Node: Changing Fields201646 -Node: Field Separators207600 -Node: Default Field Splitting210302 -Node: Regexp Field Splitting211419 -Node: Single Character Fields214760 -Node: Command Line Field Separator215819 -Node: Full Line Fields219245 -Ref: Full Line Fields-Footnote-1219753 -Node: Field Splitting Summary219799 -Ref: Field Splitting Summary-Footnote-1222931 -Node: Constant Size223032 -Node: Splitting By Content227638 -Ref: Splitting By Content-Footnote-1231711 -Node: Multiple Line231751 -Ref: Multiple Line-Footnote-1237607 -Node: Getline237786 -Node: Plain Getline240002 -Node: Getline/Variable242097 -Node: Getline/File243244 -Node: Getline/Variable/File244628 -Ref: Getline/Variable/File-Footnote-1246227 -Node: Getline/Pipe246314 -Node: Getline/Variable/Pipe249013 -Node: Getline/Coprocess250120 -Node: Getline/Variable/Coprocess251372 -Node: Getline Notes252109 -Node: Getline Summary254913 -Ref: table-getline-variants255321 -Node: Read Timeout256233 -Ref: Read Timeout-Footnote-1260060 -Node: Command-line directories260118 -Node: Input Summary261022 -Node: Input Exercises264159 -Node: Printing264892 -Node: Print266614 -Node: Print Examples267955 -Node: Output Separators270734 -Node: OFMT272750 -Node: Printf274108 -Node: Basic Printf275014 -Node: Control Letters276553 -Node: Format Modifiers280544 -Node: Printf Examples286571 -Node: Redirection289035 -Node: Special Files296007 -Node: Special FD296540 -Ref: Special FD-Footnote-1300137 -Node: Special Network300211 -Node: Special Caveats301061 -Node: Close Files And Pipes301857 -Ref: Close Files And Pipes-Footnote-1309018 -Ref: Close Files And Pipes-Footnote-2309166 -Node: Output Summary309316 -Node: Output exercises310313 -Node: Expressions310993 -Node: Values312178 -Node: Constants312854 -Node: Scalar Constants313534 -Ref: Scalar Constants-Footnote-1314393 -Node: Nondecimal-numbers314643 -Node: Regexp Constants317643 -Node: Using Constant Regexps318118 -Node: Variables321190 -Node: Using Variables321845 -Node: Assignment Options323569 -Node: Conversion325444 -Node: Strings And Numbers325968 -Ref: Strings And Numbers-Footnote-1329030 -Node: Locale influences conversions329139 -Ref: table-locale-affects331856 -Node: All Operators332444 -Node: Arithmetic Ops333074 -Node: Concatenation335579 -Ref: Concatenation-Footnote-1338398 -Node: Assignment Ops338518 -Ref: table-assign-ops343501 -Node: Increment Ops344818 -Node: Truth Values and Conditions348256 -Node: Truth Values349339 -Node: Typing and Comparison350388 -Node: Variable Typing351181 -Node: Comparison Operators354833 -Ref: table-relational-ops355243 -Node: POSIX String Comparison358793 -Ref: POSIX String Comparison-Footnote-1359877 -Node: Boolean Ops360015 -Ref: Boolean Ops-Footnote-1364085 -Node: Conditional Exp364176 -Node: Function Calls365903 -Node: Precedence369783 -Node: Locales373452 -Node: Expressions Summary375083 -Node: Patterns and Actions377624 -Node: Pattern Overview378740 -Node: Regexp Patterns380417 -Node: Expression Patterns380960 -Node: Ranges384741 -Node: BEGIN/END387847 -Node: Using BEGIN/END388609 -Ref: Using BEGIN/END-Footnote-1391345 -Node: I/O And BEGIN/END391451 -Node: BEGINFILE/ENDFILE393736 -Node: Empty396667 -Node: Using Shell Variables396984 -Node: Action Overview399267 -Node: Statements401594 -Node: If Statement403442 -Node: While Statement404940 -Node: Do Statement406984 -Node: For Statement408140 -Node: Switch Statement411292 -Node: Break Statement413395 -Node: Continue Statement415450 -Node: Next Statement417243 -Node: Nextfile Statement419633 -Node: Exit Statement422288 -Node: Built-in Variables424692 -Node: User-modified425819 -Ref: User-modified-Footnote-1433508 -Node: Auto-set433570 -Ref: Auto-set-Footnote-1446152 -Ref: Auto-set-Footnote-2446357 -Node: ARGC and ARGV446413 -Node: Pattern Action Summary450267 -Node: Arrays452490 -Node: Array Basics454039 -Node: Array Intro454865 -Ref: figure-array-elements456838 -Node: Reference to Elements459245 -Node: Assigning Elements461518 -Node: Array Example462009 -Node: Scanning an Array463741 -Node: Controlling Scanning466756 -Ref: Controlling Scanning-Footnote-1471929 -Node: Delete472245 -Ref: Delete-Footnote-1475010 -Node: Numeric Array Subscripts475067 -Node: Uninitialized Subscripts477250 -Node: Multidimensional478875 -Node: Multiscanning481968 -Node: Arrays of Arrays483557 -Node: Arrays Summary488220 -Node: Functions490325 -Node: Built-in491198 -Node: Calling Built-in492276 -Node: Numeric Functions494264 -Ref: Numeric Functions-Footnote-1498206 -Ref: Numeric Functions-Footnote-2498563 -Ref: Numeric Functions-Footnote-3498611 -Node: String Functions498880 -Ref: String Functions-Footnote-1521891 -Ref: String Functions-Footnote-2522020 -Ref: String Functions-Footnote-3522268 -Node: Gory Details522355 -Ref: table-sub-escapes524142 -Ref: table-sub-proposed525662 -Ref: table-posix-sub527026 -Ref: table-gensub-escapes528566 -Ref: Gory Details-Footnote-1529742 -Node: I/O Functions529893 -Ref: I/O Functions-Footnote-1537016 -Node: Time Functions537163 -Ref: Time Functions-Footnote-1547627 -Ref: Time Functions-Footnote-2547695 -Ref: Time Functions-Footnote-3547853 -Ref: Time Functions-Footnote-4547964 -Ref: Time Functions-Footnote-5548076 -Ref: Time Functions-Footnote-6548303 -Node: Bitwise Functions548569 -Ref: table-bitwise-ops549131 -Ref: Bitwise Functions-Footnote-1553376 -Node: Type Functions553560 -Node: I18N Functions554702 -Node: User-defined556347 -Node: Definition Syntax557151 -Ref: Definition Syntax-Footnote-1562330 -Node: Function Example562399 -Ref: Function Example-Footnote-1564963 -Node: Function Caveats564985 -Node: Calling A Function565503 -Node: Variable Scope566458 -Node: Pass By Value/Reference569446 -Node: Return Statement572956 -Node: Dynamic Typing575940 -Node: Indirect Calls576869 -Node: Functions Summary586582 -Node: Library Functions589121 -Ref: Library Functions-Footnote-1592739 -Ref: Library Functions-Footnote-2592882 -Node: Library Names593053 -Ref: Library Names-Footnote-1596526 -Ref: Library Names-Footnote-2596746 -Node: General Functions596832 -Node: Strtonum Function597860 -Node: Assert Function600640 -Node: Round Function603966 -Node: Cliff Random Function605507 -Node: Ordinal Functions606523 -Ref: Ordinal Functions-Footnote-1609600 -Ref: Ordinal Functions-Footnote-2609852 -Node: Join Function610063 -Ref: Join Function-Footnote-1611834 -Node: Getlocaltime Function612034 -Node: Readfile Function615770 -Node: Data File Management617609 -Node: Filetrans Function618241 -Node: Rewind Function622310 -Node: File Checking623868 -Ref: File Checking-Footnote-1625000 -Node: Empty Files625201 -Node: Ignoring Assigns627180 -Node: Getopt Function628734 -Ref: Getopt Function-Footnote-1640037 -Node: Passwd Functions640240 -Ref: Passwd Functions-Footnote-1649219 -Node: Group Functions649307 -Ref: Group Functions-Footnote-1657248 -Node: Walking Arrays657461 -Node: Library Functions Summary659064 -Node: Library exercises660452 -Node: Sample Programs661732 -Node: Running Examples662502 -Node: Clones663230 -Node: Cut Program664454 -Node: Egrep Program674322 -Ref: Egrep Program-Footnote-1682293 -Node: Id Program682403 -Node: Split Program686067 -Ref: Split Program-Footnote-1689605 -Node: Tee Program689733 -Node: Uniq Program692540 -Node: Wc Program699970 -Ref: Wc Program-Footnote-1704235 -Node: Miscellaneous Programs704327 -Node: Dupword Program705540 -Node: Alarm Program707571 -Node: Translate Program712385 -Ref: Translate Program-Footnote-1716776 -Ref: Translate Program-Footnote-2717046 -Node: Labels Program717180 -Ref: Labels Program-Footnote-1720551 -Node: Word Sorting720635 -Node: History Sorting724678 -Node: Extract Program726514 -Node: Simple Sed734050 -Node: Igawk Program737112 -Ref: Igawk Program-Footnote-1751423 -Ref: Igawk Program-Footnote-2751624 -Node: Anagram Program751762 -Node: Signature Program754830 -Node: Programs Summary756077 -Node: Programs Exercises757292 -Node: Advanced Features760943 -Node: Nondecimal Data762891 -Node: Array Sorting764468 -Node: Controlling Array Traversal765165 -Node: Array Sorting Functions773445 -Ref: Array Sorting Functions-Footnote-1777352 -Node: Two-way I/O777546 -Ref: Two-way I/O-Footnote-1782490 -Ref: Two-way I/O-Footnote-2782669 -Node: TCP/IP Networking782751 -Node: Profiling785596 -Node: Advanced Features Summary793138 -Node: Internationalization795002 -Node: I18N and L10N796482 -Node: Explaining gettext797168 -Ref: Explaining gettext-Footnote-1802308 -Ref: Explaining gettext-Footnote-2802492 -Node: Programmer i18n802657 -Node: Translator i18n806882 -Node: String Extraction807676 -Ref: String Extraction-Footnote-1808637 -Node: Printf Ordering808723 -Ref: Printf Ordering-Footnote-1811505 -Node: I18N Portability811569 -Ref: I18N Portability-Footnote-1814018 -Node: I18N Example814081 -Ref: I18N Example-Footnote-1816803 -Node: Gawk I18N816875 -Node: I18N Summary817513 -Node: Debugger818852 -Node: Debugging819874 -Node: Debugging Concepts820315 -Node: Debugging Terms822171 -Node: Awk Debugging824768 -Node: Sample Debugging Session825660 -Node: Debugger Invocation826180 -Node: Finding The Bug827513 -Node: List of Debugger Commands833995 -Node: Breakpoint Control835327 -Node: Debugger Execution Control838991 -Node: Viewing And Changing Data842351 -Node: Execution Stack845709 -Node: Debugger Info847222 -Node: Miscellaneous Debugger Commands851216 -Node: Readline Support856400 -Node: Limitations857292 -Node: Debugging Summary859566 -Node: Arbitrary Precision Arithmetic860730 -Node: Computer Arithmetic862217 -Ref: Computer Arithmetic-Footnote-1866604 -Node: Math Definitions866661 -Ref: table-ieee-formats869950 -Ref: Math Definitions-Footnote-1870490 -Node: MPFR features870593 -Node: FP Math Caution872235 -Ref: FP Math Caution-Footnote-1873287 -Node: Inexactness of computations873656 -Node: Inexact representation874604 -Node: Comparing FP Values875959 -Node: Errors accumulate876923 -Node: Getting Accuracy878356 -Node: Try To Round881015 -Node: Setting precision881914 -Ref: table-predefined-precision-strings882596 -Node: Setting the rounding mode884389 -Ref: table-gawk-rounding-modes884753 -Ref: Setting the rounding mode-Footnote-1888207 -Node: Arbitrary Precision Integers888386 -Ref: Arbitrary Precision Integers-Footnote-1891389 -Node: POSIX Floating Point Problems891538 -Ref: POSIX Floating Point Problems-Footnote-1895414 -Node: Floating point summary895452 -Node: Dynamic Extensions897675 -Node: Extension Intro899227 -Node: Plugin License900492 -Node: Extension Mechanism Outline901177 -Ref: figure-load-extension901601 -Ref: figure-load-new-function903086 -Ref: figure-call-new-function904088 -Node: Extension API Description906072 -Node: Extension API Functions Introduction907522 -Node: General Data Types912387 -Ref: General Data Types-Footnote-1918080 -Node: Requesting Values918379 -Ref: table-value-types-returned919116 -Node: Memory Allocation Functions920074 -Ref: Memory Allocation Functions-Footnote-1922821 -Node: Constructor Functions922917 -Node: Registration Functions924675 -Node: Extension Functions925360 -Node: Exit Callback Functions927662 -Node: Extension Version String928911 -Node: Input Parsers929561 -Node: Output Wrappers939375 -Node: Two-way processors943891 -Node: Printing Messages946095 -Ref: Printing Messages-Footnote-1947172 -Node: Updating `ERRNO'947324 -Node: Accessing Parameters948063 -Node: Symbol Table Access949293 -Node: Symbol table by name949807 -Node: Symbol table by cookie951783 -Ref: Symbol table by cookie-Footnote-1955916 -Node: Cached values955979 -Ref: Cached values-Footnote-1959483 -Node: Array Manipulation959574 -Ref: Array Manipulation-Footnote-1960672 -Node: Array Data Types960711 -Ref: Array Data Types-Footnote-1963414 -Node: Array Functions963506 -Node: Flattening Arrays967380 -Node: Creating Arrays974232 -Node: Extension API Variables978963 -Node: Extension Versioning979599 -Node: Extension API Informational Variables981500 -Node: Extension API Boilerplate982586 -Node: Finding Extensions986390 -Node: Extension Example986950 -Node: Internal File Description987680 -Node: Internal File Ops991771 -Ref: Internal File Ops-Footnote-11003203 -Node: Using Internal File Ops1003343 -Ref: Using Internal File Ops-Footnote-11005690 -Node: Extension Samples1005958 -Node: Extension Sample File Functions1007482 -Node: Extension Sample Fnmatch1015050 -Node: Extension Sample Fork1016532 -Node: Extension Sample Inplace1017745 -Node: Extension Sample Ord1019420 -Node: Extension Sample Readdir1020256 -Ref: table-readdir-file-types1021112 -Node: Extension Sample Revout1021911 -Node: Extension Sample Rev2way1022502 -Node: Extension Sample Read write array1023243 -Node: Extension Sample Readfile1025122 -Node: Extension Sample API Tests1026222 -Node: Extension Sample Time1026747 -Node: gawkextlib1028062 -Node: Extension summary1030875 -Node: Extension Exercises1034568 -Node: Language History1035290 -Node: V7/SVR3.11036933 -Node: SVR41039253 -Node: POSIX1040695 -Node: BTL1042081 -Node: POSIX/GNU1042815 -Node: Feature History1048558 -Node: Common Extensions1061688 -Node: Ranges and Locales1063000 -Ref: Ranges and Locales-Footnote-11067617 -Ref: Ranges and Locales-Footnote-21067644 -Ref: Ranges and Locales-Footnote-31067878 -Node: Contributors1068099 -Node: History summary1073524 -Node: Installation1074893 -Node: Gawk Distribution1075844 -Node: Getting1076328 -Node: Extracting1077152 -Node: Distribution contents1078794 -Node: Unix Installation1084511 -Node: Quick Installation1085128 -Node: Additional Configuration Options1087570 -Node: Configuration Philosophy1089308 -Node: Non-Unix Installation1091659 -Node: PC Installation1092117 -Node: PC Binary Installation1093428 -Node: PC Compiling1095276 -Ref: PC Compiling-Footnote-11098275 -Node: PC Testing1098380 -Node: PC Using1099556 -Node: Cygwin1103714 -Node: MSYS1104523 -Node: VMS Installation1105037 -Node: VMS Compilation1105833 -Ref: VMS Compilation-Footnote-11107055 -Node: VMS Dynamic Extensions1107113 -Node: VMS Installation Details1108486 -Node: VMS Running1110738 -Node: VMS GNV1113572 -Node: VMS Old Gawk1114295 -Node: Bugs1114765 -Node: Other Versions1118769 -Node: Installation summary1125024 -Node: Notes1126080 -Node: Compatibility Mode1126945 -Node: Additions1127727 -Node: Accessing The Source1128652 -Node: Adding Code1130088 -Node: New Ports1136266 -Node: Derived Files1140747 -Ref: Derived Files-Footnote-11145828 -Ref: Derived Files-Footnote-21145862 -Ref: Derived Files-Footnote-31146458 -Node: Future Extensions1146572 -Node: Implementation Limitations1147178 -Node: Extension Design1148426 -Node: Old Extension Problems1149580 -Ref: Old Extension Problems-Footnote-11151097 -Node: Extension New Mechanism Goals1151154 -Ref: Extension New Mechanism Goals-Footnote-11154514 -Node: Extension Other Design Decisions1154703 -Node: Extension Future Growth1156809 -Node: Old Extension Mechanism1157645 -Node: Notes summary1159407 -Node: Basic Concepts1160593 -Node: Basic High Level1161274 -Ref: figure-general-flow1161546 -Ref: figure-process-flow1162145 -Ref: Basic High Level-Footnote-11165374 -Node: Basic Data Typing1165559 -Node: Glossary1168887 -Node: Copying1194039 -Node: GNU Free Documentation License1231595 -Node: Index1256731 +Ref: Options-Footnote-1128947 +Node: Other Arguments128972 +Node: Naming Standard Input131634 +Node: Environment Variables132727 +Node: AWKPATH Variable133285 +Ref: AWKPATH Variable-Footnote-1136157 +Ref: AWKPATH Variable-Footnote-2136202 +Node: AWKLIBPATH Variable136462 +Node: Other Environment Variables137221 +Node: Exit Status140673 +Node: Include Files141348 +Node: Loading Shared Libraries144926 +Node: Obsolete146310 +Node: Undocumented147007 +Node: Invoking Summary147274 +Node: Regexp148874 +Node: Regexp Usage150324 +Node: Escape Sequences152357 +Node: Regexp Operators158024 +Ref: Regexp Operators-Footnote-1165504 +Ref: Regexp Operators-Footnote-2165651 +Node: Bracket Expressions165749 +Ref: table-char-classes167639 +Node: GNU Regexp Operators170579 +Node: Case-sensitivity174302 +Ref: Case-sensitivity-Footnote-1177194 +Ref: Case-sensitivity-Footnote-2177429 +Node: Leftmost Longest177537 +Node: Computed Regexps178738 +Node: Regexp Summary182110 +Node: Reading Files183579 +Node: Records185671 +Node: awk split records186414 +Node: gawk split records191272 +Ref: gawk split records-Footnote-1195793 +Node: Fields195830 +Ref: Fields-Footnote-1198794 +Node: Nonconstant Fields198880 +Ref: Nonconstant Fields-Footnote-1201110 +Node: Changing Fields201312 +Node: Field Separators207266 +Node: Default Field Splitting209968 +Node: Regexp Field Splitting211085 +Node: Single Character Fields214426 +Node: Command Line Field Separator215485 +Node: Full Line Fields218911 +Ref: Full Line Fields-Footnote-1219419 +Node: Field Splitting Summary219465 +Ref: Field Splitting Summary-Footnote-1222597 +Node: Constant Size222698 +Node: Splitting By Content227304 +Ref: Splitting By Content-Footnote-1231377 +Node: Multiple Line231417 +Ref: Multiple Line-Footnote-1237273 +Node: Getline237452 +Node: Plain Getline239668 +Node: Getline/Variable241763 +Node: Getline/File242910 +Node: Getline/Variable/File244294 +Ref: Getline/Variable/File-Footnote-1245893 +Node: Getline/Pipe245980 +Node: Getline/Variable/Pipe248679 +Node: Getline/Coprocess249786 +Node: Getline/Variable/Coprocess251038 +Node: Getline Notes251775 +Node: Getline Summary254579 +Ref: table-getline-variants254987 +Node: Read Timeout255899 +Ref: Read Timeout-Footnote-1259726 +Node: Command-line directories259784 +Node: Input Summary260688 +Node: Input Exercises263825 +Node: Printing264558 +Node: Print266280 +Node: Print Examples267621 +Node: Output Separators270400 +Node: OFMT272416 +Node: Printf273774 +Node: Basic Printf274680 +Node: Control Letters276219 +Node: Format Modifiers280210 +Node: Printf Examples286237 +Node: Redirection288701 +Node: Special Files295673 +Node: Special FD296206 +Ref: Special FD-Footnote-1299803 +Node: Special Network299877 +Node: Special Caveats300727 +Node: Close Files And Pipes301523 +Ref: Close Files And Pipes-Footnote-1308684 +Ref: Close Files And Pipes-Footnote-2308832 +Node: Output Summary308982 +Node: Output exercises309979 +Node: Expressions310659 +Node: Values311844 +Node: Constants312520 +Node: Scalar Constants313200 +Ref: Scalar Constants-Footnote-1314059 +Node: Nondecimal-numbers314309 +Node: Regexp Constants317309 +Node: Using Constant Regexps317784 +Node: Variables320856 +Node: Using Variables321511 +Node: Assignment Options323235 +Node: Conversion325110 +Node: Strings And Numbers325634 +Ref: Strings And Numbers-Footnote-1328696 +Node: Locale influences conversions328805 +Ref: table-locale-affects331522 +Node: All Operators332110 +Node: Arithmetic Ops332740 +Node: Concatenation335245 +Ref: Concatenation-Footnote-1338064 +Node: Assignment Ops338184 +Ref: table-assign-ops343167 +Node: Increment Ops344484 +Node: Truth Values and Conditions347922 +Node: Truth Values349005 +Node: Typing and Comparison350054 +Node: Variable Typing350847 +Node: Comparison Operators354499 +Ref: table-relational-ops354909 +Node: POSIX String Comparison358459 +Ref: POSIX String Comparison-Footnote-1359543 +Node: Boolean Ops359681 +Ref: Boolean Ops-Footnote-1363751 +Node: Conditional Exp363842 +Node: Function Calls365569 +Node: Precedence369449 +Node: Locales373118 +Node: Expressions Summary374749 +Node: Patterns and Actions377290 +Node: Pattern Overview378406 +Node: Regexp Patterns380083 +Node: Expression Patterns380626 +Node: Ranges384407 +Node: BEGIN/END387513 +Node: Using BEGIN/END388275 +Ref: Using BEGIN/END-Footnote-1391011 +Node: I/O And BEGIN/END391117 +Node: BEGINFILE/ENDFILE393402 +Node: Empty396333 +Node: Using Shell Variables396650 +Node: Action Overview398933 +Node: Statements401260 +Node: If Statement403108 +Node: While Statement404606 +Node: Do Statement406650 +Node: For Statement407806 +Node: Switch Statement410958 +Node: Break Statement413061 +Node: Continue Statement415116 +Node: Next Statement416909 +Node: Nextfile Statement419299 +Node: Exit Statement421954 +Node: Built-in Variables424358 +Node: User-modified425485 +Ref: User-modified-Footnote-1433174 +Node: Auto-set433236 +Ref: Auto-set-Footnote-1446155 +Ref: Auto-set-Footnote-2446360 +Node: ARGC and ARGV446416 +Node: Pattern Action Summary450270 +Node: Arrays452493 +Node: Array Basics454042 +Node: Array Intro454868 +Ref: figure-array-elements456841 +Node: Reference to Elements459248 +Node: Assigning Elements461521 +Node: Array Example462012 +Node: Scanning an Array463744 +Node: Controlling Scanning466759 +Ref: Controlling Scanning-Footnote-1471932 +Node: Delete472248 +Ref: Delete-Footnote-1475013 +Node: Numeric Array Subscripts475070 +Node: Uninitialized Subscripts477253 +Node: Multidimensional478878 +Node: Multiscanning481971 +Node: Arrays of Arrays483560 +Node: Arrays Summary488223 +Node: Functions490328 +Node: Built-in491201 +Node: Calling Built-in492279 +Node: Numeric Functions494267 +Ref: Numeric Functions-Footnote-1499011 +Ref: Numeric Functions-Footnote-2499368 +Ref: Numeric Functions-Footnote-3499416 +Node: String Functions499685 +Ref: String Functions-Footnote-1522696 +Ref: String Functions-Footnote-2522825 +Ref: String Functions-Footnote-3523073 +Node: Gory Details523160 +Ref: table-sub-escapes524947 +Ref: table-sub-proposed526467 +Ref: table-posix-sub527831 +Ref: table-gensub-escapes529371 +Ref: Gory Details-Footnote-1530547 +Node: I/O Functions530698 +Ref: I/O Functions-Footnote-1537821 +Node: Time Functions537968 +Ref: Time Functions-Footnote-1548432 +Ref: Time Functions-Footnote-2548500 +Ref: Time Functions-Footnote-3548658 +Ref: Time Functions-Footnote-4548769 +Ref: Time Functions-Footnote-5548881 +Ref: Time Functions-Footnote-6549108 +Node: Bitwise Functions549374 +Ref: table-bitwise-ops549936 +Ref: Bitwise Functions-Footnote-1554181 +Node: Type Functions554365 +Node: I18N Functions555507 +Node: User-defined557152 +Node: Definition Syntax557956 +Ref: Definition Syntax-Footnote-1563135 +Node: Function Example563204 +Ref: Function Example-Footnote-1565768 +Node: Function Caveats565790 +Node: Calling A Function566308 +Node: Variable Scope567263 +Node: Pass By Value/Reference570251 +Node: Return Statement573761 +Node: Dynamic Typing576745 +Node: Indirect Calls577674 +Node: Functions Summary587387 +Node: Library Functions589926 +Ref: Library Functions-Footnote-1593544 +Ref: Library Functions-Footnote-2593687 +Node: Library Names593858 +Ref: Library Names-Footnote-1597331 +Ref: Library Names-Footnote-2597551 +Node: General Functions597637 +Node: Strtonum Function598665 +Node: Assert Function601445 +Node: Round Function604771 +Node: Cliff Random Function606312 +Node: Ordinal Functions607328 +Ref: Ordinal Functions-Footnote-1610405 +Ref: Ordinal Functions-Footnote-2610657 +Node: Join Function610868 +Ref: Join Function-Footnote-1612639 +Node: Getlocaltime Function612839 +Node: Readfile Function616575 +Node: Data File Management618414 +Node: Filetrans Function619046 +Node: Rewind Function623115 +Node: File Checking624673 +Ref: File Checking-Footnote-1625805 +Node: Empty Files626006 +Node: Ignoring Assigns627985 +Node: Getopt Function629539 +Ref: Getopt Function-Footnote-1640842 +Node: Passwd Functions641045 +Ref: Passwd Functions-Footnote-1650024 +Node: Group Functions650112 +Ref: Group Functions-Footnote-1658053 +Node: Walking Arrays658266 +Node: Library Functions Summary659869 +Node: Library exercises661257 +Node: Sample Programs662537 +Node: Running Examples663307 +Node: Clones664035 +Node: Cut Program665259 +Node: Egrep Program675127 +Ref: Egrep Program-Footnote-1683098 +Node: Id Program683208 +Node: Split Program686872 +Ref: Split Program-Footnote-1690410 +Node: Tee Program690538 +Node: Uniq Program693345 +Node: Wc Program700775 +Ref: Wc Program-Footnote-1705040 +Node: Miscellaneous Programs705132 +Node: Dupword Program706345 +Node: Alarm Program708376 +Node: Translate Program713190 +Ref: Translate Program-Footnote-1717581 +Ref: Translate Program-Footnote-2717851 +Node: Labels Program717985 +Ref: Labels Program-Footnote-1721356 +Node: Word Sorting721440 +Node: History Sorting725483 +Node: Extract Program727319 +Node: Simple Sed734855 +Node: Igawk Program737917 +Ref: Igawk Program-Footnote-1752228 +Ref: Igawk Program-Footnote-2752429 +Node: Anagram Program752567 +Node: Signature Program755635 +Node: Programs Summary756882 +Node: Programs Exercises758097 +Node: Advanced Features761748 +Node: Nondecimal Data763696 +Node: Array Sorting765273 +Node: Controlling Array Traversal765970 +Node: Array Sorting Functions774250 +Ref: Array Sorting Functions-Footnote-1778157 +Node: Two-way I/O778351 +Ref: Two-way I/O-Footnote-1783295 +Ref: Two-way I/O-Footnote-2783474 +Node: TCP/IP Networking783556 +Node: Profiling786401 +Node: Advanced Features Summary793952 +Node: Internationalization795816 +Node: I18N and L10N797296 +Node: Explaining gettext797982 +Ref: Explaining gettext-Footnote-1803122 +Ref: Explaining gettext-Footnote-2803306 +Node: Programmer i18n803471 +Node: Translator i18n807696 +Node: String Extraction808490 +Ref: String Extraction-Footnote-1809451 +Node: Printf Ordering809537 +Ref: Printf Ordering-Footnote-1812319 +Node: I18N Portability812383 +Ref: I18N Portability-Footnote-1814832 +Node: I18N Example814895 +Ref: I18N Example-Footnote-1817617 +Node: Gawk I18N817689 +Node: I18N Summary818327 +Node: Debugger819666 +Node: Debugging820688 +Node: Debugging Concepts821129 +Node: Debugging Terms822985 +Node: Awk Debugging825582 +Node: Sample Debugging Session826474 +Node: Debugger Invocation826994 +Node: Finding The Bug828327 +Node: List of Debugger Commands834809 +Node: Breakpoint Control836141 +Node: Debugger Execution Control839805 +Node: Viewing And Changing Data843165 +Node: Execution Stack846523 +Node: Debugger Info848036 +Node: Miscellaneous Debugger Commands852030 +Node: Readline Support857214 +Node: Limitations858106 +Node: Debugging Summary860380 +Node: Arbitrary Precision Arithmetic861544 +Node: Computer Arithmetic863031 +Ref: Computer Arithmetic-Footnote-1867418 +Node: Math Definitions867475 +Ref: table-ieee-formats870764 +Ref: Math Definitions-Footnote-1871304 +Node: MPFR features871407 +Node: FP Math Caution873049 +Ref: FP Math Caution-Footnote-1874101 +Node: Inexactness of computations874470 +Node: Inexact representation875418 +Node: Comparing FP Values876773 +Node: Errors accumulate877737 +Node: Getting Accuracy879170 +Node: Try To Round881829 +Node: Setting precision882728 +Ref: table-predefined-precision-strings883410 +Node: Setting the rounding mode885203 +Ref: table-gawk-rounding-modes885567 +Ref: Setting the rounding mode-Footnote-1889021 +Node: Arbitrary Precision Integers889200 +Ref: Arbitrary Precision Integers-Footnote-1892995 +Node: POSIX Floating Point Problems893144 +Ref: POSIX Floating Point Problems-Footnote-1897020 +Node: Floating point summary897058 +Node: Dynamic Extensions899281 +Node: Extension Intro900833 +Node: Plugin License902098 +Node: Extension Mechanism Outline902783 +Ref: figure-load-extension903207 +Ref: figure-load-new-function904692 +Ref: figure-call-new-function905694 +Node: Extension API Description907678 +Node: Extension API Functions Introduction909128 +Node: General Data Types913993 +Ref: General Data Types-Footnote-1919686 +Node: Requesting Values919985 +Ref: table-value-types-returned920722 +Node: Memory Allocation Functions921680 +Ref: Memory Allocation Functions-Footnote-1924427 +Node: Constructor Functions924523 +Node: Registration Functions926281 +Node: Extension Functions926966 +Node: Exit Callback Functions929268 +Node: Extension Version String930517 +Node: Input Parsers931167 +Node: Output Wrappers940981 +Node: Two-way processors945497 +Node: Printing Messages947701 +Ref: Printing Messages-Footnote-1948778 +Node: Updating `ERRNO'948930 +Node: Accessing Parameters949669 +Node: Symbol Table Access950899 +Node: Symbol table by name951413 +Node: Symbol table by cookie953389 +Ref: Symbol table by cookie-Footnote-1957522 +Node: Cached values957585 +Ref: Cached values-Footnote-1961089 +Node: Array Manipulation961180 +Ref: Array Manipulation-Footnote-1962278 +Node: Array Data Types962317 +Ref: Array Data Types-Footnote-1965020 +Node: Array Functions965112 +Node: Flattening Arrays968986 +Node: Creating Arrays975838 +Node: Extension API Variables980569 +Node: Extension Versioning981205 +Node: Extension API Informational Variables983106 +Node: Extension API Boilerplate984192 +Node: Finding Extensions987996 +Node: Extension Example988556 +Node: Internal File Description989286 +Node: Internal File Ops993377 +Ref: Internal File Ops-Footnote-11004809 +Node: Using Internal File Ops1004949 +Ref: Using Internal File Ops-Footnote-11007296 +Node: Extension Samples1007564 +Node: Extension Sample File Functions1009088 +Node: Extension Sample Fnmatch1016656 +Node: Extension Sample Fork1018138 +Node: Extension Sample Inplace1019351 +Node: Extension Sample Ord1021026 +Node: Extension Sample Readdir1021862 +Ref: table-readdir-file-types1022718 +Node: Extension Sample Revout1023517 +Node: Extension Sample Rev2way1024108 +Node: Extension Sample Read write array1024849 +Node: Extension Sample Readfile1026728 +Node: Extension Sample API Tests1027828 +Node: Extension Sample Time1028353 +Node: gawkextlib1029668 +Node: Extension summary1032481 +Node: Extension Exercises1036174 +Node: Language History1036896 +Node: V7/SVR3.11038539 +Node: SVR41040859 +Node: POSIX1042301 +Node: BTL1043687 +Node: POSIX/GNU1044421 +Node: Feature History1050164 +Node: Common Extensions1063294 +Node: Ranges and Locales1064606 +Ref: Ranges and Locales-Footnote-11069223 +Ref: Ranges and Locales-Footnote-21069250 +Ref: Ranges and Locales-Footnote-31069484 +Node: Contributors1069705 +Node: History summary1075130 +Node: Installation1076499 +Node: Gawk Distribution1077450 +Node: Getting1077934 +Node: Extracting1078758 +Node: Distribution contents1080400 +Node: Unix Installation1086170 +Node: Quick Installation1086787 +Node: Additional Configuration Options1089229 +Node: Configuration Philosophy1090967 +Node: Non-Unix Installation1093318 +Node: PC Installation1093776 +Node: PC Binary Installation1095087 +Node: PC Compiling1096935 +Ref: PC Compiling-Footnote-11099934 +Node: PC Testing1100039 +Node: PC Using1101215 +Node: Cygwin1105373 +Node: MSYS1106182 +Node: VMS Installation1106696 +Node: VMS Compilation1107492 +Ref: VMS Compilation-Footnote-11108714 +Node: VMS Dynamic Extensions1108772 +Node: VMS Installation Details1110145 +Node: VMS Running1112397 +Node: VMS GNV1115231 +Node: VMS Old Gawk1115954 +Node: Bugs1116424 +Node: Other Versions1120428 +Node: Installation summary1126683 +Node: Notes1127739 +Node: Compatibility Mode1128604 +Node: Additions1129386 +Node: Accessing The Source1130311 +Node: Adding Code1131747 +Node: New Ports1137925 +Node: Derived Files1142406 +Ref: Derived Files-Footnote-11147487 +Ref: Derived Files-Footnote-21147521 +Ref: Derived Files-Footnote-31148117 +Node: Future Extensions1148231 +Node: Implementation Limitations1148837 +Node: Extension Design1150085 +Node: Old Extension Problems1151239 +Ref: Old Extension Problems-Footnote-11152756 +Node: Extension New Mechanism Goals1152813 +Ref: Extension New Mechanism Goals-Footnote-11156173 +Node: Extension Other Design Decisions1156362 +Node: Extension Future Growth1158468 +Node: Old Extension Mechanism1159304 +Node: Notes summary1161066 +Node: Basic Concepts1162252 +Node: Basic High Level1162933 +Ref: figure-general-flow1163205 +Ref: figure-process-flow1163804 +Ref: Basic High Level-Footnote-11167033 +Node: Basic Data Typing1167218 +Node: Glossary1170546 +Node: Copying1195698 +Node: GNU Free Documentation License1233254 +Node: Index1258390 End Tag Table |