diff options
Diffstat (limited to 'doc/gawk.info')
-rw-r--r-- | doc/gawk.info | 1442 |
1 files changed, 767 insertions, 675 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index 6b851441..2be2c24f 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -2623,10 +2623,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' @@ -3030,13 +3028,6 @@ change. The variables are: supposed to be differences, but occasionally theory and practice don't coordinate with each other.) -`GAWK_NO_PP_RUN' - If this variable exists, then when invoked with the - `--pretty-print' option, `gawk' skips running the program. - - CAUTION: This variable will not survive into the next major - release. - `GAWK_STACKSIZE' This specifies the amount by which `gawk' should grow its internal evaluation stack, when needed. @@ -3428,15 +3419,18 @@ sequences apply to both string constants and regexp constants: `\xHH...' The hexadecimal value HH, where HH stands for a sequence of - hexadecimal digits (`0'-`9', and either `A'-`F' or `a'-`f'). Like - the same construct in ISO C, the escape sequence continues until - the first nonhexadecimal digit is seen. (c.e.) However, using - more than two hexadecimal digits produces undefined results. (The - `\x' escape sequence is not allowed in POSIX `awk'.) - - CAUTION: The next major relase of `gawk' will change, such - that a maximum of two hexadecimal digits following the `\x' - will be used. + hexadecimal digits (`0'-`9', and either `A'-`F' or `a'-`f'). A + maximum of two digts are allowed after the `\x'. Any further + hexadecimal digits are treated as simple letters or numbers. + (c.e.) (The `\x' escape sequence is not allowed in POSIX awk.) + + CAUTION: In ISO C, the escape sequence continues until the + first nonhexadecimal digit is seen. For many years, `gawk' + would continue incorporating hexadecimal digits into the + value until a non-hexadecimal digit or the end of the string + was encountered. However, using more than two hexadecimal + digits produced undefined results. As of version *FIXME:* + 4.3.0, only two digits are processed. `\/' A literal slash (necessary for regexp constants only). This @@ -10309,10 +10303,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 @@ -11862,6 +11864,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 @@ -19852,8 +19869,7 @@ output. They are as follows: you typed when you wrote it. This is because `gawk' creates the profiled version by "pretty printing" its internal representation of the program. The advantage to this is that `gawk' can produce a -standard representation. The disadvantage is that all source-code -comments are lost. Also, things such as: +standard representation. Also, things such as: /foo/ @@ -19912,8 +19928,24 @@ by the `Ctrl-<\>' key. called this way, `gawk' "pretty prints" the program into `awkprof.out', without any execution counts. - NOTE: The `--pretty-print' option still runs your program. This - will change in the next major release. + NOTE: Once upon a time, the `--pretty-print' option would also run + your program. This is is no longer the case. + + There is a significant difference between the output created when +profiling, and that created when pretty-printing. Pretty-printed output +preserves the original comments that were in the program, although their +placement may not correspond exactly to their original locations in the +source code. + + However, as a deliberate design decision, profiling output _omits_ +the original program's comments. This allows you to focus on the +execution count data and helps you avoid the temptation to use the +profiler for pretty-printing. + + Additionally, pretty-printed output does not have the leading +indentation that the profiling output does. This makes it easy to +pretty-print your code once development is completed, and then use the +result as the final version of your program. File: gawk.info, Node: Advanced Features Summary, Prev: Profiling, Up: Advanced Features @@ -22398,6 +22430,62 @@ 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) + { + split("", result) + + numerator = int(numerator) + denominator = int(denominator) + result["quotient"] = int(numerator / denominator) + result["remainder"] = int(numerator % denominator) + + return 0.0 + } + + The following example program, contributed by Katie Wasserman, uses +`div()' to compute the digits of pi to as many places as you choose to +set: + + # pi.awk --- compute the digits of pi + + BEGIN { + digits = 100000 + two = 2 * 10 ^ digits + pi = two + for (m = digits * 4; m > 0; --m) { + d = m * 2 + 1 + x = pi * m + div(x, d, result) + pi = result["quotient"] + pi = pi + two + } + print pi + } + + When asked about the algorithm used, Katie replied: + + It's not that well known but it's not that obscure either. It's + Euler's modification to Newton's method for calculating pi. Take + a look at lines (23) - (25) here: + `http://mathworld.wolfram.com/PiFormulas.htm'. + + The algorithm I wrote simply expands the multiply by 2 and works + from the innermost expression outwards. I used this to program HP + calculators because it's quite easy to modify for tiny memory + devices with smallish word sizes. See + `http://www.hpmuseum.org/cgi-sys/cgiwrap/hpmuseum/articles.cgi?read=899'. + ---------- Footnotes ---------- (1) Weisstein, Eric W. `Sylvester's Sequence'. From MathWorld--A @@ -26422,6 +26510,8 @@ the current version of `gawk'. - Ultrix + * Support for MirBSD was removed at `gawk' version 4.2. + File: gawk.info, Node: Feature History, Next: Common Extensions, Prev: POSIX/GNU, Up: Language History @@ -27324,7 +27414,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 @@ -27366,11 +27458,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 @@ -31316,20 +31407,20 @@ Index * --include option: Options. (line 159) * --lint option <1>: Options. (line 185) * --lint option: Command Line. (line 20) -* --lint-old option: Options. (line 297) +* --lint-old option: Options. (line 295) * --load option: Options. (line 173) * --non-decimal-data option <1>: Nondecimal Data. (line 6) * --non-decimal-data option: Options. (line 211) * --non-decimal-data option, strtonum() function and: Nondecimal Data. (line 35) -* --optimize option: Options. (line 239) -* --posix option: Options. (line 256) -* --posix option, --traditional option and: Options. (line 275) +* --optimize option: Options. (line 237) +* --posix option: Options. (line 254) +* --posix option, --traditional option and: Options. (line 273) * --pretty-print option: Options. (line 226) * --profile option <1>: Profiling. (line 12) -* --profile option: Options. (line 244) -* --re-interval option: Options. (line 281) -* --sandbox option: Options. (line 288) +* --profile option: Options. (line 242) +* --re-interval option: Options. (line 279) +* --sandbox option: Options. (line 286) * --sandbox option, disabling system() function: I/O Functions. (line 96) * --sandbox option, input redirection with getline: Getline. (line 19) @@ -31337,9 +31428,9 @@ Index (line 6) * --source option: Options. (line 117) * --traditional option: Options. (line 81) -* --traditional option, --posix option and: Options. (line 275) +* --traditional option, --posix option and: Options. (line 273) * --use-lc-numeric option: Options. (line 221) -* --version option: Options. (line 302) +* --version option: Options. (line 300) * --with-whiny-user-strftime configuration option: Additional Configuration Options. (line 35) * -b option: Options. (line 68) @@ -31347,32 +31438,32 @@ Index * -c option: Options. (line 81) * -D option: Options. (line 108) * -d option: Options. (line 93) -* -e option: Options. (line 338) +* -e option: Options. (line 336) * -E option: Options. (line 125) * -e option: Options. (line 117) * -f option: Options. (line 25) * -F option: Options. (line 21) * -f option: Long. (line 12) -* -F option, -Ft sets FS to TAB: Options. (line 310) +* -F option, -Ft sets FS to TAB: Options. (line 308) * -F option, command-line: Command Line Field Separator. (line 6) -* -f option, multiple uses: Options. (line 315) +* -f option, multiple uses: Options. (line 313) * -g option: Options. (line 147) * -h option: Options. (line 154) * -i option: Options. (line 159) -* -L option: Options. (line 297) +* -L option: Options. (line 295) * -l option: Options. (line 173) * -M option: Options. (line 205) * -N option: Options. (line 221) * -n option: Options. (line 211) -* -O option: Options. (line 239) +* -O option: Options. (line 237) * -o option: Options. (line 226) -* -P option: Options. (line 256) -* -p option: Options. (line 244) -* -r option: Options. (line 281) -* -S option: Options. (line 288) +* -P option: Options. (line 254) +* -p option: Options. (line 242) +* -r option: Options. (line 279) +* -S option: Options. (line 286) * -v option: Assignment Options. (line 12) -* -V option: Options. (line 302) +* -V option: Options. (line 300) * -v option: Options. (line 32) * -W option: Options. (line 46) * . (period), regexp operator: Regexp Operators. (line 44) @@ -31434,10 +31525,10 @@ Index (line 8) * [] (square brackets), regexp operator: Regexp Operators. (line 56) * \ (backslash): Comments. (line 50) -* \ (backslash), \" escape sequence: Escape Sequences. (line 82) +* \ (backslash), \" escape sequence: Escape Sequences. (line 85) * \ (backslash), \' operator (gawk): GNU Regexp Operators. (line 56) -* \ (backslash), \/ escape sequence: Escape Sequences. (line 73) +* \ (backslash), \/ escape sequence: Escape Sequences. (line 76) * \ (backslash), \< operator (gawk): GNU Regexp Operators. (line 30) * \ (backslash), \> operator (gawk): GNU Regexp Operators. @@ -31477,7 +31568,7 @@ Index * \ (backslash), in bracket expressions: Bracket Expressions. (line 17) * \ (backslash), in escape sequences: Escape Sequences. (line 6) * \ (backslash), in escape sequences, POSIX and: Escape Sequences. - (line 118) + (line 121) * \ (backslash), in regexp constants: Computed Regexps. (line 29) * \ (backslash), in shell commands: Quoting. (line 48) * \ (backslash), regexp operator: Regexp Operators. (line 18) @@ -31645,7 +31736,7 @@ Index * awf (amazingly workable formatter) program: Glossary. (line 24) * awk debugging, enabling: Options. (line 108) * awk language, POSIX version: Assignment Ops. (line 137) -* awk profiling, enabling: Options. (line 244) +* awk profiling, enabling: Options. (line 242) * awk programs <1>: Two Rules. (line 6) * awk programs <2>: Executable Scripts. (line 6) * awk programs: Getting Started. (line 12) @@ -31703,10 +31794,10 @@ Index * awkvars.out file: Options. (line 93) * b debugger command (alias for break): Breakpoint Control. (line 11) * backslash (\): Comments. (line 50) -* backslash (\), \" escape sequence: Escape Sequences. (line 82) +* backslash (\), \" escape sequence: Escape Sequences. (line 85) * backslash (\), \' operator (gawk): GNU Regexp Operators. (line 56) -* backslash (\), \/ escape sequence: Escape Sequences. (line 73) +* backslash (\), \/ escape sequence: Escape Sequences. (line 76) * backslash (\), \< operator (gawk): GNU Regexp Operators. (line 30) * backslash (\), \> operator (gawk): GNU Regexp Operators. @@ -31746,7 +31837,7 @@ Index * backslash (\), in bracket expressions: Bracket Expressions. (line 17) * backslash (\), in escape sequences: Escape Sequences. (line 6) * backslash (\), in escape sequences, POSIX and: Escape Sequences. - (line 118) + (line 121) * backslash (\), in regexp constants: Computed Regexps. (line 29) * backslash (\), in shell commands: Quoting. (line 48) * backslash (\), regexp operator: Regexp Operators. (line 18) @@ -31852,7 +31943,7 @@ Index (line 67) * Brian Kernighan's awk <12>: GNU Regexp Operators. (line 83) -* Brian Kernighan's awk <13>: Escape Sequences. (line 122) +* Brian Kernighan's awk <13>: Escape Sequences. (line 125) * Brian Kernighan's awk: When. (line 21) * Brian Kernighan's awk, extensions: BTL. (line 6) * Brian Kernighan's awk, source code: Other Versions. (line 13) @@ -32046,7 +32137,7 @@ Index * cosine: Numeric Functions. (line 15) * counting: Wc Program. (line 6) * csh utility: Statements/Lines. (line 44) -* csh utility, POSIXLY_CORRECT environment variable: Options. (line 356) +* csh utility, POSIXLY_CORRECT environment variable: Options. (line 354) * csh utility, |& operator, comparison with: Two-way I/O. (line 25) * ctime() user-defined function: Function Example. (line 74) * currency symbols, localization: Explaining gettext. (line 104) @@ -32077,13 +32168,13 @@ Index * dark corner, CONVFMT variable: Strings And Numbers. (line 40) * dark corner, escape sequences: Other Arguments. (line 38) * dark corner, escape sequences, for metacharacters: Escape Sequences. - (line 140) + (line 143) * 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 313) +* dark corner, FNR/NR variables: Auto-set. (line 321) * dark corner, format-control characters: Control Letters. (line 18) * dark corner, FS as null string: Single Character Fields. (line 20) @@ -32233,7 +32324,7 @@ Index * debugger, read commands from a file: Debugger Info. (line 96) * debugging awk programs: Debugger. (line 6) * debugging gawk, bug reports: Bugs. (line 9) -* decimal point character, locale specific: Options. (line 272) +* decimal point character, locale specific: Options. (line 270) * decrement operators: Increment Ops. (line 35) * default keyword: Switch Statement. (line 6) * Deifik, Scott <1>: Bugs. (line 72) @@ -32272,12 +32363,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 19) * differences in awk and gawk, FIELDWIDTHS variable: User-modified. (line 37) * differences in awk and gawk, FPAT variable: User-modified. (line 43) -* differences in awk and gawk, FUNCTAB variable: Auto-set. (line 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) @@ -32300,7 +32391,7 @@ Index (line 262) * differences in awk and gawk, print/printf statements: Format Modifiers. (line 13) -* differences in awk and gawk, PROCINFO array: Auto-set. (line 129) +* differences in awk and gawk, PROCINFO array: Auto-set. (line 137) * differences in awk and gawk, read timeouts: Read Timeout. (line 6) * differences in awk and gawk, record separators: awk split records. (line 125) @@ -32310,7 +32401,7 @@ Index (line 26) * differences in awk and gawk, RS/RT variables: gawk split records. (line 58) -* differences in awk and gawk, RT variable: Auto-set. (line 264) +* differences in awk and gawk, RT variable: Auto-set. (line 272) * differences in awk and gawk, single-character fields: Single Character Fields. (line 6) * differences in awk and gawk, split() function: String Functions. @@ -32318,7 +32409,7 @@ Index * differences in awk and gawk, strings: Scalar Constants. (line 20) * differences in awk and gawk, strings, storing: gawk split records. (line 77) -* differences in awk and gawk, SYMTAB variable: Auto-set. (line 268) +* differences in awk and gawk, SYMTAB variable: Auto-set. (line 276) * differences in awk and gawk, TEXTDOMAIN variable: User-modified. (line 151) * differences in awk and gawk, trunc-mod operation: Arithmetic Ops. @@ -32334,6 +32425,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) @@ -32354,12 +32446,12 @@ Index * dump debugger command: Miscellaneous Debugger Commands. (line 9) * dupword.awk program: Dupword Program. (line 31) -* dynamic profiling: Profiling. (line 179) +* dynamic profiling: Profiling. (line 178) * dynamically loaded extensions: Dynamic Extensions. (line 6) * e debugger command (alias for enable): Breakpoint Control. (line 73) * EBCDIC: Ordinal Functions. (line 45) -* effective group ID of gawk user: Auto-set. (line 134) -* effective user ID of gawk user: Auto-set. (line 138) +* effective group ID of gawk user: Auto-set. (line 142) +* effective user ID of gawk user: Auto-set. (line 146) * egrep utility <1>: Egrep Program. (line 6) * egrep utility: Bracket Expressions. (line 26) * egrep.awk program: Egrep Program. (line 54) @@ -32414,13 +32506,13 @@ Index (line 11) * EREs (Extended Regular Expressions): Bracket Expressions. (line 26) * ERRNO variable <1>: TCP/IP Networking. (line 54) -* ERRNO variable: Auto-set. (line 74) +* ERRNO variable: Auto-set. (line 82) * ERRNO variable, with BEGINFILE pattern: BEGINFILE/ENDFILE. (line 26) * ERRNO variable, with close() function: Close Files And Pipes. (line 140) * ERRNO variable, with getline command: Getline. (line 19) * error handling: Special FD. (line 19) -* 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) @@ -32453,10 +32545,10 @@ Index * exit status, of VMS: VMS Running. (line 29) * exit the debugger: Miscellaneous Debugger Commands. (line 99) -* exp: Numeric Functions. (line 18) +* exp: Numeric Functions. (line 33) * expand utility: Very Simple. (line 72) * Expat XML parser library: gawkextlib. (line 31) -* 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) @@ -32474,7 +32566,7 @@ Index (line 6) * extension API version: Extension Versioning. (line 6) -* extension API, version number: Auto-set. (line 231) +* extension API, version number: Auto-set. (line 239) * extension example: Extension Example. (line 6) * extension registration: Registration Functions. (line 6) @@ -32556,7 +32648,7 @@ Index * file names, distinguishing: Auto-set. (line 56) * file names, in compatibility mode: Special Caveats. (line 9) * file names, standard streams in gawk: Special FD. (line 48) -* FILENAME variable <1>: Auto-set. (line 90) +* FILENAME variable <1>: Auto-set. (line 98) * FILENAME variable: Reading Files. (line 6) * FILENAME variable, getline, setting with: Getline Notes. (line 19) * filenames, assignments as: Ignoring Assigns. (line 6) @@ -32624,9 +32716,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 313) +* FNR variable, changing: Auto-set. (line 321) * for statement: For Statement. (line 6) * for statement, looping over arrays: Scanning an Array. (line 20) * fork() extension function: Extension Sample Fork. @@ -32663,7 +32755,7 @@ Index * FS variable, --field-separator option and: Options. (line 21) * FS variable, as null string: Single Character Fields. (line 20) -* FS variable, as TAB character: Options. (line 268) +* FS variable, as TAB character: Options. (line 266) * FS variable, changing value of: Field Separators. (line 35) * FS variable, running awk programs and: Cut Program. (line 63) * FS variable, setting from command line: Command Line Field Separator. @@ -32676,7 +32768,7 @@ Index * FSF (Free Software Foundation): Manual History. (line 6) * fts() extension function: Extension Sample File Functions. (line 61) -* FUNCTAB array: Auto-set. (line 115) +* FUNCTAB array: Auto-set. (line 123) * function calls: Function Calls. (line 6) * function calls, indirect: Indirect Calls. (line 6) * function calls, indirect, @-notation for: Indirect Calls. (line 47) @@ -32725,8 +32817,8 @@ Index (line 44) * G-d: Acknowledgments. (line 94) * Garfinkle, Scott: Contributors. (line 34) -* gawk program, dynamic profiling: Profiling. (line 179) -* gawk version: Auto-set. (line 206) +* gawk program, dynamic profiling: Profiling. (line 178) +* gawk version: Auto-set. (line 214) * gawk, ARGIND variable in: Other Arguments. (line 15) * gawk, awk and <1>: This Manual. (line 14) * gawk, awk and: Preface. (line 21) @@ -32744,13 +32836,13 @@ Index * gawk, distribution: Distribution contents. (line 6) * gawk, ERRNO variable in <1>: TCP/IP Networking. (line 54) -* gawk, ERRNO variable in <2>: Auto-set. (line 74) +* gawk, ERRNO variable in <2>: Auto-set. (line 82) * gawk, ERRNO variable in <3>: BEGINFILE/ENDFILE. (line 26) * gawk, ERRNO variable in <4>: Close Files And Pipes. (line 140) * gawk, ERRNO variable in: Getline. (line 19) -* gawk, escape sequences: Escape Sequences. (line 130) -* gawk, extensions, disabling: Options. (line 256) +* gawk, escape sequences: Escape Sequences. (line 133) +* gawk, extensions, disabling: Options. (line 254) * gawk, features, adding: Adding Code. (line 6) * gawk, features, advanced: Advanced Features. (line 6) * gawk, field separators and: User-modified. (line 71) @@ -32761,7 +32853,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. @@ -32793,7 +32885,7 @@ Index * gawk, predefined variables and: Built-in Variables. (line 14) * gawk, PROCINFO array in <1>: Two-way I/O. (line 99) * gawk, PROCINFO array in <2>: Time Functions. (line 47) -* gawk, PROCINFO array in: Auto-set. (line 129) +* gawk, PROCINFO array in: Auto-set. (line 137) * gawk, regexp constants and: Using Constant Regexps. (line 28) * gawk, regular expressions, case sensitivity: Case-sensitivity. @@ -32801,18 +32893,18 @@ Index * gawk, regular expressions, operators: GNU Regexp Operators. (line 6) * gawk, regular expressions, precedence: Regexp Operators. (line 161) -* gawk, RT variable in <1>: Auto-set. (line 264) +* gawk, RT variable in <1>: Auto-set. (line 272) * gawk, RT variable in <2>: Multiple Line. (line 129) * gawk, RT variable in: awk split records. (line 125) * gawk, See Also awk: Preface. (line 34) * gawk, source code, obtaining: Getting. (line 6) * gawk, splitting fields and: Constant Size. (line 88) * gawk, string-translation functions: I18N Functions. (line 6) -* gawk, SYMTAB array in: Auto-set. (line 268) +* gawk, SYMTAB array in: Auto-set. (line 276) * gawk, TEXTDOMAIN variable in: User-modified. (line 151) * gawk, timestamps: Time Functions. (line 6) * gawk, uses for: Preface. (line 34) -* gawk, versions of, information about, printing: Options. (line 302) +* gawk, versions of, information about, printing: Options. (line 300) * gawk, VMS version of: VMS Installation. (line 6) * gawk, word-boundary operator: GNU Regexp Operators. (line 63) @@ -32894,7 +32986,7 @@ Index * Grigera, Juan: Contributors. (line 57) * group database, reading: Group Functions. (line 6) * group file: Group Functions. (line 6) -* group ID of gawk user: Auto-set. (line 179) +* group ID of gawk user: Auto-set. (line 187) * groups, information about: Group Functions. (line 6) * gsub <1>: String Functions. (line 139) * gsub: Using Constant Regexps. @@ -32916,7 +33008,7 @@ Index * history expansion, in debugger: Readline Support. (line 6) * histsort.awk program: History Sorting. (line 25) * Hughes, Phil: Acknowledgments. (line 43) -* HUP signal, for dynamic profiling: Profiling. (line 211) +* HUP signal, for dynamic profiling: Profiling. (line 210) * hyphen (-), - operator: Precedence. (line 52) * hyphen (-), -- operator <1>: Precedence. (line 46) * hyphen (-), -- operator: Increment Ops. (line 48) @@ -32995,8 +33087,8 @@ Index * installation, VMS: VMS Installation. (line 6) * installing gawk: Installation. (line 6) * instruction tracing, in debugger: Debugger Info. (line 89) -* int: Numeric Functions. (line 23) -* INT signal (MS-Windows): Profiling. (line 214) +* int: Numeric Functions. (line 38) +* INT signal (MS-Windows): Profiling. (line 213) * integer array indices: Numeric Array Subscripts. (line 31) * integers, arbitrary precision: Arbitrary Precision Integers. @@ -33052,7 +33144,7 @@ Index * Kernighan, Brian <9>: Acknowledgments. (line 78) * Kernighan, Brian <10>: Conventions. (line 38) * Kernighan, Brian: History. (line 17) -* kill command, dynamic profiling: Profiling. (line 188) +* kill command, dynamic profiling: Profiling. (line 187) * Knights, jedi: Undocumented. (line 6) * Kwok, Conrad: Contributors. (line 34) * l debugger command (alias for list): Miscellaneous Debugger Commands. @@ -33124,7 +33216,7 @@ Index * lint checking, empty programs: Command Line. (line 16) * lint checking, issuing warnings: Options. (line 185) * lint checking, POSIXLY_CORRECT environment variable: Options. - (line 341) + (line 339) * lint checking, undefined functions: Pass By Value/Reference. (line 88) * LINT variable: User-modified. (line 88) @@ -33140,14 +33232,14 @@ Index * loading, extensions: Options. (line 173) * local variables, in a function: Variable Scope. (line 6) * locale categories: Explaining gettext. (line 81) -* locale decimal point character: Options. (line 272) +* locale decimal point character: Options. (line 270) * locale, definition of: Locales. (line 6) * localization: I18N and L10N. (line 6) * localization, See internationalization, localization: I18N and L10N. (line 6) -* log: Numeric Functions. (line 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) @@ -33188,8 +33280,8 @@ Index * mawk utility <2>: Nextfile Statement. (line 47) * mawk utility <3>: Concatenation. (line 36) * mawk utility <4>: Getline/Pipe. (line 62) -* mawk utility: Escape Sequences. (line 130) -* maximum precision supported by MPFR library: Auto-set. (line 220) +* mawk utility: Escape Sequences. (line 133) +* maximum precision supported by MPFR library: Auto-set. (line 228) * McIlroy, Doug: Glossary. (line 149) * McPhee, Patrick: Contributors. (line 100) * message object files: Explaining gettext. (line 42) @@ -33201,8 +33293,8 @@ Index (line 54) * messages from extensions: Printing Messages. (line 6) * metacharacters in regular expressions: Regexp Operators. (line 6) -* metacharacters, escape sequences for: Escape Sequences. (line 136) -* minimum precision supported by MPFR library: Auto-set. (line 223) +* metacharacters, escape sequences for: Escape Sequences. (line 139) +* minimum precision supported by MPFR library: Auto-set. (line 231) * mktime: Time Functions. (line 25) * modifiers, in format specifiers: Format Modifiers. (line 6) * monetary information, localization: Explaining gettext. (line 104) @@ -33222,7 +33314,7 @@ Index * networks, programming: TCP/IP Networking. (line 6) * networks, support for: Special Network. (line 6) * newlines <1>: Boolean Ops. (line 69) -* newlines <2>: Options. (line 262) +* newlines <2>: Options. (line 260) * newlines: Statements/Lines. (line 6) * newlines, as field separators: Default Field Splitting. (line 6) @@ -33251,7 +33343,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. @@ -33260,9 +33352,9 @@ Index * non-existent array elements: Reference to Elements. (line 23) * not Boolean-logic operator: Boolean Ops. (line 6) -* NR variable <1>: Auto-set. (line 124) +* NR variable <1>: Auto-set. (line 132) * NR variable: Records. (line 6) -* NR variable, changing: Auto-set. (line 313) +* NR variable, changing: Auto-set. (line 321) * null strings <1>: Basic Data Typing. (line 26) * null strings <2>: Truth Values. (line 6) * null strings <3>: Regexp Field Splitting. @@ -33376,7 +33468,7 @@ Index * p debugger command (alias for print): Viewing And Changing Data. (line 36) * Papadopoulos, Panos: Contributors. (line 128) -* parent process ID of gawk process: Auto-set. (line 188) +* parent process ID of gawk process: Auto-set. (line 196) * parentheses (), in a profile: Profiling. (line 146) * parentheses (), regexp operator: Regexp Operators. (line 81) * password file: Passwd Functions. (line 16) @@ -33418,14 +33510,14 @@ Index * plus sign (+), += operator: Assignment Ops. (line 82) * plus sign (+), regexp operator: Regexp Operators. (line 105) * pointers to functions: Indirect Calls. (line 6) -* portability: Escape Sequences. (line 100) +* portability: Escape Sequences. (line 103) * portability, #! (executable scripts): Executable Scripts. (line 33) * portability, ** operator and: Arithmetic Ops. (line 81) * portability, **= operator and: Assignment Ops. (line 143) * portability, ARGV variable: Executable Scripts. (line 59) * portability, backslash continuation and: Statements/Lines. (line 30) * portability, backslash in escape sequences: Escape Sequences. - (line 118) + (line 121) * portability, close() function and: Close Files And Pipes. (line 81) * portability, data files as single record: gawk split records. @@ -33443,7 +33535,7 @@ Index * portability, NF variable, decrementing: Changing Fields. (line 115) * portability, operators: Increment Ops. (line 60) * portability, operators, not in POSIX awk: Precedence. (line 98) -* portability, POSIXLY_CORRECT environment variable: Options. (line 361) +* portability, POSIXLY_CORRECT environment variable: Options. (line 359) * portability, substr() function: String Functions. (line 511) * portable object files <1>: Translator i18n. (line 6) * portable object files: Explaining gettext. (line 37) @@ -33464,7 +33556,7 @@ Index * POSIX awk, < operator and: Getline/File. (line 26) * POSIX awk, arithmetic operators and: Arithmetic Ops. (line 30) * POSIX awk, backslashes in string constants: Escape Sequences. - (line 118) + (line 121) * POSIX awk, BEGIN/END patterns: I/O And BEGIN/END. (line 16) * POSIX awk, bracket expressions and: Bracket Expressions. (line 26) * POSIX awk, bracket expressions and, character classes: Bracket Expressions. @@ -33492,11 +33584,11 @@ Index * POSIX awk, regular expressions and: Regexp Operators. (line 161) * POSIX awk, timestamps and: Time Functions. (line 6) * POSIX awk, | I/O operator and: Getline/Pipe. (line 55) -* POSIX mode: Options. (line 256) +* POSIX mode: Options. (line 254) * POSIX, awk and: Preface. (line 21) * POSIX, gawk extensions not included in: POSIX/GNU. (line 6) * POSIX, programs, implementing in awk: Clones. (line 6) -* POSIXLY_CORRECT environment variable: Options. (line 341) +* POSIXLY_CORRECT environment variable: Options. (line 339) * PREC variable: User-modified. (line 123) * precedence <1>: Precedence. (line 6) * precedence: Increment Ops. (line 60) @@ -33543,24 +33635,24 @@ Index * printing, unduplicated lines of text: Uniq Program. (line 6) * printing, user information: Id Program. (line 6) * private variables: Library Names. (line 11) -* process group idIDof gawk process: Auto-set. (line 182) -* process ID of gawk process: Auto-set. (line 185) +* process group idIDof gawk process: Auto-set. (line 190) +* process ID of gawk process: Auto-set. (line 193) * processes, two-way communications with: Two-way I/O. (line 6) * processing data: Basic High Level. (line 6) * PROCINFO array <1>: Passwd Functions. (line 6) * PROCINFO array <2>: Time Functions. (line 47) -* PROCINFO array: Auto-set. (line 129) +* PROCINFO array: Auto-set. (line 137) * PROCINFO array, and communications via ptys: Two-way I/O. (line 99) * PROCINFO array, and group membership: Group Functions. (line 6) * PROCINFO array, and user and group ID numbers: Id Program. (line 15) * PROCINFO array, testing the field splitting: Passwd Functions. (line 154) -* PROCINFO array, uses: Auto-set. (line 241) +* PROCINFO array, uses: Auto-set. (line 249) * PROCINFO, values of sorted_in: Controlling Scanning. (line 26) * profiling awk programs: Profiling. (line 6) -* profiling awk programs, dynamically: Profiling. (line 179) -* program identifiers: Auto-set. (line 147) +* profiling awk programs, dynamically: Profiling. (line 178) +* program identifiers: Auto-set. (line 155) * program, definition of: Getting Started. (line 21) * programming conventions, --non-decimal-data option: Nondecimal Data. (line 35) @@ -33595,7 +33687,7 @@ Index * QuikTrim Awk: Other Versions. (line 135) * quit debugger command: Miscellaneous Debugger Commands. (line 99) -* QUIT signal (MS-Windows): Profiling. (line 214) +* QUIT signal (MS-Windows): Profiling. (line 213) * quoting in gawk command lines: Long. (line 26) * quoting in gawk command lines, tricks for: Quoting. (line 91) * quoting, for small awk programs: Comments. (line 27) @@ -33604,12 +33696,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) @@ -33678,7 +33770,7 @@ Index (line 59) * regular expressions, gawk, command-line options: GNU Regexp Operators. (line 70) -* regular expressions, interval expressions and: Options. (line 281) +* regular expressions, interval expressions and: Options. (line 279) * regular expressions, leftmost longest match: Leftmost Longest. (line 6) * regular expressions, operators <1>: Regexp Operators. (line 6) @@ -33718,7 +33810,7 @@ Index * right shift: Bitwise Functions. (line 53) * right shift, bitwise: Bitwise Functions. (line 32) * Ritchie, Dennis: Basic Data Typing. (line 54) -* RLENGTH variable: Auto-set. (line 251) +* RLENGTH variable: Auto-set. (line 259) * RLENGTH variable, match() function and: String Functions. (line 227) * Robbins, Arnold <1>: Future Extensions. (line 6) * Robbins, Arnold <2>: Bugs. (line 72) @@ -33736,7 +33828,7 @@ Index * Robbins, Miriam <2>: Getline/Pipe. (line 39) * Robbins, Miriam: Acknowledgments. (line 94) * Rommel, Kai Uwe: Contributors. (line 42) -* round to nearest integer: Numeric Functions. (line 23) +* round to nearest integer: Numeric Functions. (line 38) * round() user-defined function: Round Function. (line 16) * rounding numbers: Round Function. (line 6) * ROUNDMODE variable: User-modified. (line 127) @@ -33744,9 +33836,9 @@ Index * RS variable: awk split records. (line 12) * RS variable, multiline records and: Multiple Line. (line 17) * rshift: Bitwise Functions. (line 53) -* RSTART variable: Auto-set. (line 257) +* RSTART variable: Auto-set. (line 265) * RSTART variable, match() function and: String Functions. (line 227) -* RT variable <1>: Auto-set. (line 264) +* RT variable <1>: Auto-set. (line 272) * RT variable <2>: Multiple Line. (line 129) * RT variable: awk split records. (line 125) * Rubin, Paul <1>: Contributors. (line 15) @@ -33759,14 +33851,14 @@ Index (line 68) * sample debugging session: Sample Debugging Session. (line 6) -* sandbox mode: Options. (line 288) +* sandbox mode: Options. (line 286) * save debugger options: Debugger Info. (line 84) * scalar or array: Type Functions. (line 11) * scalar values: Basic Data Typing. (line 13) * scanning arrays: Scanning an Array. (line 6) * scanning multidimensional arrays: Multiscanning. (line 11) * Schorr, Andrew <1>: Contributors. (line 133) -* Schorr, Andrew <2>: Auto-set. (line 296) +* Schorr, Andrew <2>: Auto-set. (line 304) * Schorr, Andrew: Acknowledgments. (line 60) * Schreiber, Bert: Acknowledgments. (line 38) * Schreiber, Rita: Acknowledgments. (line 38) @@ -33786,7 +33878,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) @@ -33847,14 +33939,14 @@ Index * sidebar, A Constant's Base Does Not Affect Its Value: Nondecimal-numbers. (line 64) * sidebar, Backslash Before Regular Characters: Escape Sequences. - (line 116) + (line 119) * sidebar, Changing FS Does Not Affect the Fields: Field Splitting Summary. (line 38) -* sidebar, Changing NR and FNR: Auto-set. (line 311) +* sidebar, Changing NR and FNR: Auto-set. (line 319) * sidebar, Controlling Output Buffering with system(): I/O Functions. (line 137) * sidebar, Escape Sequences for Metacharacters: Escape Sequences. - (line 134) + (line 137) * sidebar, FS and IGNORECASE: Field Splitting Summary. (line 64) * sidebar, Interactive Versus Noninteractive Buffering: I/O Functions. @@ -33876,19 +33968,19 @@ Index (line 57) * sidebar, Using close()'s Return Value: Close Files And Pipes. (line 130) -* SIGHUP signal, for dynamic profiling: Profiling. (line 211) -* SIGINT signal (MS-Windows): Profiling. (line 214) -* signals, HUP/SIGHUP, for profiling: Profiling. (line 211) -* signals, INT/SIGINT (MS-Windows): Profiling. (line 214) -* signals, QUIT/SIGQUIT (MS-Windows): Profiling. (line 214) -* signals, USR1/SIGUSR1, for profiling: Profiling. (line 188) +* SIGHUP signal, for dynamic profiling: Profiling. (line 210) +* SIGINT signal (MS-Windows): Profiling. (line 213) +* signals, HUP/SIGHUP, for profiling: Profiling. (line 210) +* signals, INT/SIGINT (MS-Windows): Profiling. (line 213) +* signals, QUIT/SIGQUIT (MS-Windows): Profiling. (line 213) +* signals, USR1/SIGUSR1, for profiling: Profiling. (line 187) * signature program: Signature Program. (line 6) -* SIGQUIT signal (MS-Windows): Profiling. (line 214) -* SIGUSR1 signal, for dynamic profiling: Profiling. (line 188) +* SIGQUIT signal (MS-Windows): Profiling. (line 213) +* SIGUSR1 signal, for dynamic profiling: Profiling. (line 187) * silent debugger command: Debugger Execution Control. (line 10) -* sin: Numeric Functions. (line 76) -* sine: Numeric Functions. (line 76) +* sin: Numeric Functions. (line 91) +* sine: Numeric Functions. (line 91) * single quote ('): One-shot. (line 15) * single quote (') in gawk command lines: Long. (line 35) * single quote ('), in shell commands: Quoting. (line 48) @@ -33938,10 +34030,10 @@ Index * sprintf() function, OFMT variable and: User-modified. (line 113) * 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) @@ -34013,9 +34105,9 @@ Index * substr: String Functions. (line 480) * substring: String Functions. (line 480) * Sumner, Andrew: Other Versions. (line 64) -* supplementary groups of gawk process: Auto-set. (line 236) +* supplementary groups of gawk process: Auto-set. (line 244) * switch statement: Switch Statement. (line 6) -* SYMTAB array: Auto-set. (line 268) +* SYMTAB array: Auto-set. (line 276) * syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops. (line 148) * system: I/O Functions. (line 74) @@ -34082,7 +34174,7 @@ Index (line 37) * troubleshooting, awk uses FS not IFS: Field Separators. (line 30) * troubleshooting, backslash before nonspecial character: Escape Sequences. - (line 118) + (line 121) * troubleshooting, division: Arithmetic Ops. (line 44) * troubleshooting, fatal errors, field widths, specifying: Constant Size. (line 23) @@ -34138,7 +34230,7 @@ Index * uniq.awk program: Uniq Program. (line 65) * Unix: Glossary. (line 611) * Unix awk, backslashes in escape sequences: Escape Sequences. - (line 130) + (line 133) * Unix awk, close() function and: Close Files And Pipes. (line 132) * Unix awk, password files, field separators and: Command Line Field Separator. @@ -34158,7 +34250,7 @@ Index * user-modifiable variables: User-modified. (line 6) * users, information about, printing: Id Program. (line 6) * users, information about, retrieving: Passwd Functions. (line 16) -* USR1 signal, for dynamic profiling: Profiling. (line 188) +* USR1 signal, for dynamic profiling: Profiling. (line 187) * values, numeric: Basic Data Typing. (line 13) * values, string: Basic Data Typing. (line 13) * variable assignments and input files: Other Arguments. (line 26) @@ -34192,10 +34284,10 @@ Index * variables, uninitialized, as array subscripts: Uninitialized Subscripts. (line 6) * variables, user-defined: Variables. (line 6) -* version of gawk: Auto-set. (line 206) -* version of gawk extension API: Auto-set. (line 231) -* version of GNU MP library: Auto-set. (line 217) -* version of GNU MPFR library: Auto-set. (line 213) +* version of gawk: Auto-set. (line 214) +* version of gawk extension API: Auto-set. (line 239) +* version of GNU MP library: Auto-set. (line 225) +* version of GNU MPFR library: Auto-set. (line 221) * vertical bar (|): Regexp Operators. (line 70) * vertical bar (|), | operator (I/O) <1>: Precedence. (line 65) * vertical bar (|), | operator (I/O): Getline/Pipe. (line 9) @@ -34232,7 +34324,7 @@ Index * whitespace, as field separators: Default Field Splitting. (line 6) * whitespace, functions, calling: Calling Built-in. (line 10) -* whitespace, newlines as: Options. (line 262) +* whitespace, newlines as: Options. (line 260) * Williams, Kent: Contributors. (line 34) * Woehlke, Matthew: Contributors. (line 79) * Woods, John: Contributors. (line 27) @@ -34325,518 +34417,518 @@ Node: Intro Summary111987 Node: Invoking Gawk112870 Node: Command Line114385 Node: Options115176 -Ref: Options-Footnote-1131088 -Node: Other Arguments131113 -Node: Naming Standard Input134074 -Node: Environment Variables135167 -Node: AWKPATH Variable135725 -Ref: AWKPATH Variable-Footnote-1139025 -Ref: AWKPATH Variable-Footnote-2139070 -Node: AWKLIBPATH Variable139330 -Node: Other Environment Variables140473 -Node: Exit Status144193 -Node: Include Files144868 -Node: Loading Shared Libraries148456 -Node: Obsolete149883 -Node: Undocumented150580 -Node: Invoking Summary150847 -Node: Regexp152513 -Node: Regexp Usage153972 -Node: Escape Sequences156005 -Node: Regexp Operators162022 -Ref: Regexp Operators-Footnote-1169456 -Ref: Regexp Operators-Footnote-2169603 -Node: Bracket Expressions169701 -Ref: table-char-classes171718 -Node: Leftmost Longest174658 -Node: Computed Regexps175960 -Node: GNU Regexp Operators179357 -Node: Case-sensitivity183059 -Ref: Case-sensitivity-Footnote-1185949 -Ref: Case-sensitivity-Footnote-2186184 -Node: Regexp Summary186292 -Node: Reading Files187761 -Node: Records189855 -Node: awk split records190587 -Node: gawk split records195501 -Ref: gawk split records-Footnote-1200040 -Node: Fields200077 -Ref: Fields-Footnote-1202875 -Node: Nonconstant Fields202961 -Ref: Nonconstant Fields-Footnote-1205197 -Node: Changing Fields205399 -Node: Field Separators211331 -Node: Default Field Splitting214035 -Node: Regexp Field Splitting215152 -Node: Single Character Fields218502 -Node: Command Line Field Separator219561 -Node: Full Line Fields222773 -Ref: Full Line Fields-Footnote-1223281 -Node: Field Splitting Summary223327 -Ref: Field Splitting Summary-Footnote-1226458 -Node: Constant Size226559 -Node: Splitting By Content231165 -Ref: Splitting By Content-Footnote-1235238 -Node: Multiple Line235278 -Ref: Multiple Line-Footnote-1241167 -Node: Getline241346 -Node: Plain Getline243557 -Node: Getline/Variable246197 -Node: Getline/File247344 -Node: Getline/Variable/File248728 -Ref: Getline/Variable/File-Footnote-1250329 -Node: Getline/Pipe250416 -Node: Getline/Variable/Pipe253099 -Node: Getline/Coprocess254230 -Node: Getline/Variable/Coprocess255482 -Node: Getline Notes256221 -Node: Getline Summary259013 -Ref: table-getline-variants259425 -Node: Read Timeout260254 -Ref: Read Timeout-Footnote-1264068 -Node: Command-line directories264126 -Node: Input Summary265030 -Node: Input Exercises268282 -Node: Printing269010 -Node: Print270787 -Node: Print Examples272244 -Node: Output Separators275023 -Node: OFMT277041 -Node: Printf278395 -Node: Basic Printf279180 -Node: Control Letters280751 -Node: Format Modifiers284735 -Node: Printf Examples290742 -Node: Redirection293224 -Node: Special FD300063 -Ref: Special FD-Footnote-1303220 -Node: Special Files303294 -Node: Other Inherited Files303910 -Node: Special Network304910 -Node: Special Caveats305771 -Node: Close Files And Pipes306722 -Ref: Close Files And Pipes-Footnote-1313901 -Ref: Close Files And Pipes-Footnote-2314049 -Node: Output Summary314199 -Node: Output Exercises315195 -Node: Expressions315875 -Node: Values317060 -Node: Constants317736 -Node: Scalar Constants318416 -Ref: Scalar Constants-Footnote-1319275 -Node: Nondecimal-numbers319525 -Node: Regexp Constants322525 -Node: Using Constant Regexps323050 -Node: Variables326188 -Node: Using Variables326843 -Node: Assignment Options328753 -Node: Conversion330628 -Node: Strings And Numbers331152 -Ref: Strings And Numbers-Footnote-1334216 -Node: Locale influences conversions334325 -Ref: table-locale-affects337070 -Node: All Operators337658 -Node: Arithmetic Ops338288 -Node: Concatenation340793 -Ref: Concatenation-Footnote-1343612 -Node: Assignment Ops343718 -Ref: table-assign-ops348701 -Node: Increment Ops349979 -Node: Truth Values and Conditions353417 -Node: Truth Values354500 -Node: Typing and Comparison355549 -Node: Variable Typing356342 -Node: Comparison Operators359994 -Ref: table-relational-ops360404 -Node: POSIX String Comparison363919 -Ref: POSIX String Comparison-Footnote-1364991 -Node: Boolean Ops365129 -Ref: Boolean Ops-Footnote-1369608 -Node: Conditional Exp369699 -Node: Function Calls371426 -Node: Precedence375306 -Node: Locales378974 -Node: Expressions Summary380605 -Node: Patterns and Actions383179 -Node: Pattern Overview384299 -Node: Regexp Patterns385978 -Node: Expression Patterns386521 -Node: Ranges390301 -Node: BEGIN/END393407 -Node: Using BEGIN/END394169 -Ref: Using BEGIN/END-Footnote-1396906 -Node: I/O And BEGIN/END397012 -Node: BEGINFILE/ENDFILE399326 -Node: Empty402227 -Node: Using Shell Variables402544 -Node: Action Overview404820 -Node: Statements407147 -Node: If Statement408995 -Node: While Statement410493 -Node: Do Statement412521 -Node: For Statement413663 -Node: Switch Statement416818 -Node: Break Statement419206 -Node: Continue Statement421247 -Node: Next Statement423072 -Node: Nextfile Statement425452 -Node: Exit Statement428082 -Node: Built-in Variables430485 -Node: User-modified431618 -Ref: User-modified-Footnote-1439298 -Node: Auto-set439360 -Ref: Auto-set-Footnote-1452390 -Ref: Auto-set-Footnote-2452595 -Node: ARGC and ARGV452651 -Node: Pattern Action Summary456855 -Node: Arrays459282 -Node: Array Basics460611 -Node: Array Intro461455 -Ref: figure-array-elements463419 -Ref: Array Intro-Footnote-1465943 -Node: Reference to Elements466071 -Node: Assigning Elements468521 -Node: Array Example469012 -Node: Scanning an Array470770 -Node: Controlling Scanning473786 -Ref: Controlling Scanning-Footnote-1478975 -Node: Numeric Array Subscripts479291 -Node: Uninitialized Subscripts481476 -Node: Delete483093 -Ref: Delete-Footnote-1485837 -Node: Multidimensional485894 -Node: Multiscanning488989 -Node: Arrays of Arrays490578 -Node: Arrays Summary495339 -Node: Functions497444 -Node: Built-in498317 -Node: Calling Built-in499395 -Node: Numeric Functions501383 -Ref: Numeric Functions-Footnote-1505405 -Ref: Numeric Functions-Footnote-2505762 -Ref: Numeric Functions-Footnote-3505810 -Node: String Functions506079 -Ref: String Functions-Footnote-1529551 -Ref: String Functions-Footnote-2529680 -Ref: String Functions-Footnote-3529928 -Node: Gory Details530015 -Ref: table-sub-escapes531796 -Ref: table-sub-proposed533316 -Ref: table-posix-sub534680 -Ref: table-gensub-escapes536220 -Ref: Gory Details-Footnote-1537052 -Node: I/O Functions537203 -Ref: I/O Functions-Footnote-1544304 -Node: Time Functions544451 -Ref: Time Functions-Footnote-1554920 -Ref: Time Functions-Footnote-2554988 -Ref: Time Functions-Footnote-3555146 -Ref: Time Functions-Footnote-4555257 -Ref: Time Functions-Footnote-5555369 -Ref: Time Functions-Footnote-6555596 -Node: Bitwise Functions555862 -Ref: table-bitwise-ops556424 -Ref: Bitwise Functions-Footnote-1560732 -Node: Type Functions560901 -Node: I18N Functions562050 -Node: User-defined563695 -Node: Definition Syntax564499 -Ref: Definition Syntax-Footnote-1569905 -Node: Function Example569974 -Ref: Function Example-Footnote-1572891 -Node: Function Caveats572913 -Node: Calling A Function573431 -Node: Variable Scope574386 -Node: Pass By Value/Reference577374 -Node: Return Statement580884 -Node: Dynamic Typing583868 -Node: Indirect Calls584797 -Ref: Indirect Calls-Footnote-1596101 -Node: Functions Summary596229 -Node: Library Functions598928 -Ref: Library Functions-Footnote-1602546 -Ref: Library Functions-Footnote-2602689 -Node: Library Names602860 -Ref: Library Names-Footnote-1606320 -Ref: Library Names-Footnote-2606540 -Node: General Functions606626 -Node: Strtonum Function607729 -Node: Assert Function610749 -Node: Round Function614073 -Node: Cliff Random Function615614 -Node: Ordinal Functions616630 -Ref: Ordinal Functions-Footnote-1619695 -Ref: Ordinal Functions-Footnote-2619947 -Node: Join Function620158 -Ref: Join Function-Footnote-1621929 -Node: Getlocaltime Function622129 -Node: Readfile Function625870 -Node: Shell Quoting627840 -Node: Data File Management629241 -Node: Filetrans Function629873 -Node: Rewind Function633932 -Node: File Checking635317 -Ref: File Checking-Footnote-1636645 -Node: Empty Files636846 -Node: Ignoring Assigns638825 -Node: Getopt Function640376 -Ref: Getopt Function-Footnote-1651836 -Node: Passwd Functions652039 -Ref: Passwd Functions-Footnote-1660890 -Node: Group Functions660978 -Ref: Group Functions-Footnote-1668881 -Node: Walking Arrays669094 -Node: Library Functions Summary670697 -Node: Library Exercises672098 -Node: Sample Programs673378 -Node: Running Examples674148 -Node: Clones674876 -Node: Cut Program676100 -Node: Egrep Program685830 -Ref: Egrep Program-Footnote-1693334 -Node: Id Program693444 -Node: Split Program697088 -Ref: Split Program-Footnote-1700534 -Node: Tee Program700662 -Node: Uniq Program703449 -Node: Wc Program710870 -Ref: Wc Program-Footnote-1715118 -Node: Miscellaneous Programs715210 -Node: Dupword Program716423 -Node: Alarm Program718454 -Node: Translate Program723258 -Ref: Translate Program-Footnote-1727822 -Node: Labels Program728092 -Ref: Labels Program-Footnote-1731441 -Node: Word Sorting731525 -Node: History Sorting735595 -Node: Extract Program737431 -Node: Simple Sed744963 -Node: Igawk Program748025 -Ref: Igawk Program-Footnote-1762351 -Ref: Igawk Program-Footnote-2762552 -Ref: Igawk Program-Footnote-3762674 -Node: Anagram Program762789 -Node: Signature Program765851 -Node: Programs Summary767098 -Node: Programs Exercises768291 -Ref: Programs Exercises-Footnote-1772422 -Node: Advanced Features772513 -Node: Nondecimal Data774461 -Node: Array Sorting776051 -Node: Controlling Array Traversal776748 -Ref: Controlling Array Traversal-Footnote-1785079 -Node: Array Sorting Functions785197 -Ref: Array Sorting Functions-Footnote-1789089 -Node: Two-way I/O789283 -Ref: Two-way I/O-Footnote-1794227 -Ref: Two-way I/O-Footnote-2794413 -Node: TCP/IP Networking794495 -Node: Profiling797367 -Node: Advanced Features Summary804911 -Node: Internationalization806844 -Node: I18N and L10N808324 -Node: Explaining gettext809010 -Ref: Explaining gettext-Footnote-1814039 -Ref: Explaining gettext-Footnote-2814223 -Node: Programmer i18n814388 -Ref: Programmer i18n-Footnote-1819254 -Node: Translator i18n819303 -Node: String Extraction820097 -Ref: String Extraction-Footnote-1821228 -Node: Printf Ordering821314 -Ref: Printf Ordering-Footnote-1824100 -Node: I18N Portability824164 -Ref: I18N Portability-Footnote-1826613 -Node: I18N Example826676 -Ref: I18N Example-Footnote-1829476 -Node: Gawk I18N829548 -Node: I18N Summary830186 -Node: Debugger831525 -Node: Debugging832547 -Node: Debugging Concepts832988 -Node: Debugging Terms834845 -Node: Awk Debugging837420 -Node: Sample Debugging Session838312 -Node: Debugger Invocation838832 -Node: Finding The Bug840216 -Node: List of Debugger Commands846691 -Node: Breakpoint Control848023 -Node: Debugger Execution Control851715 -Node: Viewing And Changing Data855079 -Node: Execution Stack858444 -Node: Debugger Info860082 -Node: Miscellaneous Debugger Commands864099 -Node: Readline Support869291 -Node: Limitations870183 -Node: Debugging Summary872280 -Node: Arbitrary Precision Arithmetic873448 -Node: Computer Arithmetic874864 -Ref: table-numeric-ranges878465 -Ref: Computer Arithmetic-Footnote-1879324 -Node: Math Definitions879381 -Ref: table-ieee-formats882668 -Ref: Math Definitions-Footnote-1883272 -Node: MPFR features883377 -Node: FP Math Caution885048 -Ref: FP Math Caution-Footnote-1886098 -Node: Inexactness of computations886467 -Node: Inexact representation887415 -Node: Comparing FP Values888770 -Node: Errors accumulate889843 -Node: Getting Accuracy891276 -Node: Try To Round893935 -Node: Setting precision894834 -Ref: table-predefined-precision-strings895518 -Node: Setting the rounding mode897312 -Ref: table-gawk-rounding-modes897676 -Ref: Setting the rounding mode-Footnote-1901130 -Node: Arbitrary Precision Integers901309 -Ref: Arbitrary Precision Integers-Footnote-1904300 -Node: POSIX Floating Point Problems904449 -Ref: POSIX Floating Point Problems-Footnote-1908325 -Node: Floating point summary908363 -Node: Dynamic Extensions910555 -Node: Extension Intro912107 -Node: Plugin License913373 -Node: Extension Mechanism Outline914170 -Ref: figure-load-extension914598 -Ref: figure-register-new-function916078 -Ref: figure-call-new-function917082 -Node: Extension API Description919068 -Node: Extension API Functions Introduction920518 -Node: General Data Types925354 -Ref: General Data Types-Footnote-1931041 -Node: Memory Allocation Functions931340 -Ref: Memory Allocation Functions-Footnote-1934170 -Node: Constructor Functions934266 -Node: Registration Functions936000 -Node: Extension Functions936685 -Node: Exit Callback Functions938981 -Node: Extension Version String940229 -Node: Input Parsers940879 -Node: Output Wrappers950694 -Node: Two-way processors955210 -Node: Printing Messages957414 -Ref: Printing Messages-Footnote-1958491 -Node: Updating `ERRNO'958643 -Node: Requesting Values959383 -Ref: table-value-types-returned960111 -Node: Accessing Parameters961069 -Node: Symbol Table Access962300 -Node: Symbol table by name962814 -Node: Symbol table by cookie964794 -Ref: Symbol table by cookie-Footnote-1968933 -Node: Cached values968996 -Ref: Cached values-Footnote-1972500 -Node: Array Manipulation972591 -Ref: Array Manipulation-Footnote-1973689 -Node: Array Data Types973728 -Ref: Array Data Types-Footnote-1976385 -Node: Array Functions976477 -Node: Flattening Arrays980331 -Node: Creating Arrays987218 -Node: Extension API Variables991985 -Node: Extension Versioning992621 -Node: Extension API Informational Variables994522 -Node: Extension API Boilerplate995610 -Node: Finding Extensions999426 -Node: Extension Example999986 -Node: Internal File Description1000758 -Node: Internal File Ops1004825 -Ref: Internal File Ops-Footnote-11016483 -Node: Using Internal File Ops1016623 -Ref: Using Internal File Ops-Footnote-11019006 -Node: Extension Samples1019279 -Node: Extension Sample File Functions1020803 -Node: Extension Sample Fnmatch1028405 -Node: Extension Sample Fork1029887 -Node: Extension Sample Inplace1031100 -Node: Extension Sample Ord1032775 -Node: Extension Sample Readdir1033611 -Ref: table-readdir-file-types1034487 -Node: Extension Sample Revout1035298 -Node: Extension Sample Rev2way1035889 -Node: Extension Sample Read write array1036630 -Node: Extension Sample Readfile1038569 -Node: Extension Sample Time1039664 -Node: Extension Sample API Tests1041013 -Node: gawkextlib1041504 -Node: Extension summary1044154 -Node: Extension Exercises1047836 -Node: Language History1048558 -Node: V7/SVR3.11050215 -Node: SVR41052396 -Node: POSIX1053841 -Node: BTL1055230 -Node: POSIX/GNU1055964 -Node: Feature History1061533 -Node: Common Extensions1074631 -Node: Ranges and Locales1075955 -Ref: Ranges and Locales-Footnote-11080594 -Ref: Ranges and Locales-Footnote-21080621 -Ref: Ranges and Locales-Footnote-31080855 -Node: Contributors1081076 -Node: History summary1086616 -Node: Installation1087985 -Node: Gawk Distribution1088941 -Node: Getting1089425 -Node: Extracting1090249 -Node: Distribution contents1091891 -Node: Unix Installation1097608 -Node: Quick Installation1098225 -Node: Additional Configuration Options1100656 -Node: Configuration Philosophy1102396 -Node: Non-Unix Installation1104747 -Node: PC Installation1105205 -Node: PC Binary Installation1106531 -Node: PC Compiling1108379 -Ref: PC Compiling-Footnote-11111400 -Node: PC Testing1111505 -Node: PC Using1112681 -Node: Cygwin1116796 -Node: MSYS1117619 -Node: VMS Installation1118117 -Node: VMS Compilation1118909 -Ref: VMS Compilation-Footnote-11120131 -Node: VMS Dynamic Extensions1120189 -Node: VMS Installation Details1121873 -Node: VMS Running1124125 -Node: VMS GNV1126966 -Node: VMS Old Gawk1127700 -Node: Bugs1128170 -Node: Other Versions1132074 -Node: Installation summary1138287 -Node: Notes1139343 -Node: Compatibility Mode1140208 -Node: Additions1140990 -Node: Accessing The Source1141915 -Node: Adding Code1143351 -Node: New Ports1149523 -Node: Derived Files1154005 -Ref: Derived Files-Footnote-11159480 -Ref: Derived Files-Footnote-21159514 -Ref: Derived Files-Footnote-31160110 -Node: Future Extensions1160224 -Node: Implementation Limitations1160830 -Node: Extension Design1162078 -Node: Old Extension Problems1163232 -Ref: Old Extension Problems-Footnote-11164749 -Node: Extension New Mechanism Goals1164806 -Ref: Extension New Mechanism Goals-Footnote-11168166 -Node: Extension Other Design Decisions1168355 -Node: Extension Future Growth1170463 -Node: Old Extension Mechanism1171299 -Node: Notes summary1173061 -Node: Basic Concepts1174247 -Node: Basic High Level1174928 -Ref: figure-general-flow1175200 -Ref: figure-process-flow1175799 -Ref: Basic High Level-Footnote-11179028 -Node: Basic Data Typing1179213 -Node: Glossary1182541 -Node: Copying1207699 -Node: GNU Free Documentation License1245255 -Node: Index1270391 +Ref: Options-Footnote-1130959 +Node: Other Arguments130984 +Node: Naming Standard Input133945 +Node: Environment Variables135038 +Node: AWKPATH Variable135596 +Ref: AWKPATH Variable-Footnote-1138896 +Ref: AWKPATH Variable-Footnote-2138941 +Node: AWKLIBPATH Variable139201 +Node: Other Environment Variables140344 +Node: Exit Status143835 +Node: Include Files144510 +Node: Loading Shared Libraries148098 +Node: Obsolete149525 +Node: Undocumented150222 +Node: Invoking Summary150489 +Node: Regexp152155 +Node: Regexp Usage153614 +Node: Escape Sequences155647 +Node: Regexp Operators161895 +Ref: Regexp Operators-Footnote-1169329 +Ref: Regexp Operators-Footnote-2169476 +Node: Bracket Expressions169574 +Ref: table-char-classes171591 +Node: Leftmost Longest174531 +Node: Computed Regexps175833 +Node: GNU Regexp Operators179230 +Node: Case-sensitivity182932 +Ref: Case-sensitivity-Footnote-1185822 +Ref: Case-sensitivity-Footnote-2186057 +Node: Regexp Summary186165 +Node: Reading Files187634 +Node: Records189728 +Node: awk split records190460 +Node: gawk split records195374 +Ref: gawk split records-Footnote-1199913 +Node: Fields199950 +Ref: Fields-Footnote-1202748 +Node: Nonconstant Fields202834 +Ref: Nonconstant Fields-Footnote-1205070 +Node: Changing Fields205272 +Node: Field Separators211204 +Node: Default Field Splitting213908 +Node: Regexp Field Splitting215025 +Node: Single Character Fields218375 +Node: Command Line Field Separator219434 +Node: Full Line Fields222646 +Ref: Full Line Fields-Footnote-1223154 +Node: Field Splitting Summary223200 +Ref: Field Splitting Summary-Footnote-1226331 +Node: Constant Size226432 +Node: Splitting By Content231038 +Ref: Splitting By Content-Footnote-1235111 +Node: Multiple Line235151 +Ref: Multiple Line-Footnote-1241040 +Node: Getline241219 +Node: Plain Getline243430 +Node: Getline/Variable246070 +Node: Getline/File247217 +Node: Getline/Variable/File248601 +Ref: Getline/Variable/File-Footnote-1250202 +Node: Getline/Pipe250289 +Node: Getline/Variable/Pipe252972 +Node: Getline/Coprocess254103 +Node: Getline/Variable/Coprocess255355 +Node: Getline Notes256094 +Node: Getline Summary258886 +Ref: table-getline-variants259298 +Node: Read Timeout260127 +Ref: Read Timeout-Footnote-1263941 +Node: Command-line directories263999 +Node: Input Summary264903 +Node: Input Exercises268155 +Node: Printing268883 +Node: Print270660 +Node: Print Examples272117 +Node: Output Separators274896 +Node: OFMT276914 +Node: Printf278268 +Node: Basic Printf279053 +Node: Control Letters280624 +Node: Format Modifiers284608 +Node: Printf Examples290615 +Node: Redirection293097 +Node: Special FD299936 +Ref: Special FD-Footnote-1303093 +Node: Special Files303167 +Node: Other Inherited Files303783 +Node: Special Network304783 +Node: Special Caveats305644 +Node: Close Files And Pipes306595 +Ref: Close Files And Pipes-Footnote-1313774 +Ref: Close Files And Pipes-Footnote-2313922 +Node: Output Summary314072 +Node: Output Exercises315068 +Node: Expressions315748 +Node: Values316933 +Node: Constants317609 +Node: Scalar Constants318289 +Ref: Scalar Constants-Footnote-1319148 +Node: Nondecimal-numbers319398 +Node: Regexp Constants322398 +Node: Using Constant Regexps322923 +Node: Variables326061 +Node: Using Variables326716 +Node: Assignment Options328626 +Node: Conversion330501 +Node: Strings And Numbers331025 +Ref: Strings And Numbers-Footnote-1334089 +Node: Locale influences conversions334198 +Ref: table-locale-affects336943 +Node: All Operators337531 +Node: Arithmetic Ops338161 +Node: Concatenation340666 +Ref: Concatenation-Footnote-1343485 +Node: Assignment Ops343591 +Ref: table-assign-ops348574 +Node: Increment Ops349852 +Node: Truth Values and Conditions353290 +Node: Truth Values354373 +Node: Typing and Comparison355422 +Node: Variable Typing356215 +Node: Comparison Operators359867 +Ref: table-relational-ops360277 +Node: POSIX String Comparison363792 +Ref: POSIX String Comparison-Footnote-1364864 +Node: Boolean Ops365002 +Ref: Boolean Ops-Footnote-1369481 +Node: Conditional Exp369572 +Node: Function Calls371299 +Node: Precedence375179 +Node: Locales378847 +Node: Expressions Summary380478 +Node: Patterns and Actions383052 +Node: Pattern Overview384172 +Node: Regexp Patterns385851 +Node: Expression Patterns386394 +Node: Ranges390174 +Node: BEGIN/END393280 +Node: Using BEGIN/END394042 +Ref: Using BEGIN/END-Footnote-1396779 +Node: I/O And BEGIN/END396885 +Node: BEGINFILE/ENDFILE399199 +Node: Empty402100 +Node: Using Shell Variables402417 +Node: Action Overview404693 +Node: Statements407020 +Node: If Statement408868 +Node: While Statement410366 +Node: Do Statement412394 +Node: For Statement413536 +Node: Switch Statement416691 +Node: Break Statement419079 +Node: Continue Statement421120 +Node: Next Statement422945 +Node: Nextfile Statement425325 +Node: Exit Statement427955 +Node: Built-in Variables430358 +Node: User-modified431491 +Ref: User-modified-Footnote-1439171 +Node: Auto-set439233 +Ref: Auto-set-Footnote-1452600 +Ref: Auto-set-Footnote-2452805 +Node: ARGC and ARGV452861 +Node: Pattern Action Summary457065 +Node: Arrays459492 +Node: Array Basics460821 +Node: Array Intro461665 +Ref: figure-array-elements463629 +Ref: Array Intro-Footnote-1466153 +Node: Reference to Elements466281 +Node: Assigning Elements468731 +Node: Array Example469222 +Node: Scanning an Array470980 +Node: Controlling Scanning473996 +Ref: Controlling Scanning-Footnote-1479185 +Node: Numeric Array Subscripts479501 +Node: Uninitialized Subscripts481686 +Node: Delete483303 +Ref: Delete-Footnote-1486047 +Node: Multidimensional486104 +Node: Multiscanning489199 +Node: Arrays of Arrays490788 +Node: Arrays Summary495549 +Node: Functions497654 +Node: Built-in498527 +Node: Calling Built-in499605 +Node: Numeric Functions501593 +Ref: Numeric Functions-Footnote-1506417 +Ref: Numeric Functions-Footnote-2506774 +Ref: Numeric Functions-Footnote-3506822 +Node: String Functions507091 +Ref: String Functions-Footnote-1530563 +Ref: String Functions-Footnote-2530692 +Ref: String Functions-Footnote-3530940 +Node: Gory Details531027 +Ref: table-sub-escapes532808 +Ref: table-sub-proposed534328 +Ref: table-posix-sub535692 +Ref: table-gensub-escapes537232 +Ref: Gory Details-Footnote-1538064 +Node: I/O Functions538215 +Ref: I/O Functions-Footnote-1545316 +Node: Time Functions545463 +Ref: Time Functions-Footnote-1555932 +Ref: Time Functions-Footnote-2556000 +Ref: Time Functions-Footnote-3556158 +Ref: Time Functions-Footnote-4556269 +Ref: Time Functions-Footnote-5556381 +Ref: Time Functions-Footnote-6556608 +Node: Bitwise Functions556874 +Ref: table-bitwise-ops557436 +Ref: Bitwise Functions-Footnote-1561744 +Node: Type Functions561913 +Node: I18N Functions563062 +Node: User-defined564707 +Node: Definition Syntax565511 +Ref: Definition Syntax-Footnote-1570917 +Node: Function Example570986 +Ref: Function Example-Footnote-1573903 +Node: Function Caveats573925 +Node: Calling A Function574443 +Node: Variable Scope575398 +Node: Pass By Value/Reference578386 +Node: Return Statement581896 +Node: Dynamic Typing584880 +Node: Indirect Calls585809 +Ref: Indirect Calls-Footnote-1597113 +Node: Functions Summary597241 +Node: Library Functions599940 +Ref: Library Functions-Footnote-1603558 +Ref: Library Functions-Footnote-2603701 +Node: Library Names603872 +Ref: Library Names-Footnote-1607332 +Ref: Library Names-Footnote-2607552 +Node: General Functions607638 +Node: Strtonum Function608741 +Node: Assert Function611761 +Node: Round Function615085 +Node: Cliff Random Function616626 +Node: Ordinal Functions617642 +Ref: Ordinal Functions-Footnote-1620707 +Ref: Ordinal Functions-Footnote-2620959 +Node: Join Function621170 +Ref: Join Function-Footnote-1622941 +Node: Getlocaltime Function623141 +Node: Readfile Function626882 +Node: Shell Quoting628852 +Node: Data File Management630253 +Node: Filetrans Function630885 +Node: Rewind Function634944 +Node: File Checking636329 +Ref: File Checking-Footnote-1637657 +Node: Empty Files637858 +Node: Ignoring Assigns639837 +Node: Getopt Function641388 +Ref: Getopt Function-Footnote-1652848 +Node: Passwd Functions653051 +Ref: Passwd Functions-Footnote-1661902 +Node: Group Functions661990 +Ref: Group Functions-Footnote-1669893 +Node: Walking Arrays670106 +Node: Library Functions Summary671709 +Node: Library Exercises673110 +Node: Sample Programs674390 +Node: Running Examples675160 +Node: Clones675888 +Node: Cut Program677112 +Node: Egrep Program686842 +Ref: Egrep Program-Footnote-1694346 +Node: Id Program694456 +Node: Split Program698100 +Ref: Split Program-Footnote-1701546 +Node: Tee Program701674 +Node: Uniq Program704461 +Node: Wc Program711882 +Ref: Wc Program-Footnote-1716130 +Node: Miscellaneous Programs716222 +Node: Dupword Program717435 +Node: Alarm Program719466 +Node: Translate Program724270 +Ref: Translate Program-Footnote-1728834 +Node: Labels Program729104 +Ref: Labels Program-Footnote-1732453 +Node: Word Sorting732537 +Node: History Sorting736607 +Node: Extract Program738443 +Node: Simple Sed745975 +Node: Igawk Program749037 +Ref: Igawk Program-Footnote-1763363 +Ref: Igawk Program-Footnote-2763564 +Ref: Igawk Program-Footnote-3763686 +Node: Anagram Program763801 +Node: Signature Program766863 +Node: Programs Summary768110 +Node: Programs Exercises769303 +Ref: Programs Exercises-Footnote-1773434 +Node: Advanced Features773525 +Node: Nondecimal Data775473 +Node: Array Sorting777063 +Node: Controlling Array Traversal777760 +Ref: Controlling Array Traversal-Footnote-1786091 +Node: Array Sorting Functions786209 +Ref: Array Sorting Functions-Footnote-1790101 +Node: Two-way I/O790295 +Ref: Two-way I/O-Footnote-1795239 +Ref: Two-way I/O-Footnote-2795425 +Node: TCP/IP Networking795507 +Node: Profiling798379 +Node: Advanced Features Summary806653 +Node: Internationalization808586 +Node: I18N and L10N810066 +Node: Explaining gettext810752 +Ref: Explaining gettext-Footnote-1815781 +Ref: Explaining gettext-Footnote-2815965 +Node: Programmer i18n816130 +Ref: Programmer i18n-Footnote-1820996 +Node: Translator i18n821045 +Node: String Extraction821839 +Ref: String Extraction-Footnote-1822970 +Node: Printf Ordering823056 +Ref: Printf Ordering-Footnote-1825842 +Node: I18N Portability825906 +Ref: I18N Portability-Footnote-1828355 +Node: I18N Example828418 +Ref: I18N Example-Footnote-1831218 +Node: Gawk I18N831290 +Node: I18N Summary831928 +Node: Debugger833267 +Node: Debugging834289 +Node: Debugging Concepts834730 +Node: Debugging Terms836587 +Node: Awk Debugging839162 +Node: Sample Debugging Session840054 +Node: Debugger Invocation840574 +Node: Finding The Bug841958 +Node: List of Debugger Commands848433 +Node: Breakpoint Control849765 +Node: Debugger Execution Control853457 +Node: Viewing And Changing Data856821 +Node: Execution Stack860186 +Node: Debugger Info861824 +Node: Miscellaneous Debugger Commands865841 +Node: Readline Support871033 +Node: Limitations871925 +Node: Debugging Summary874022 +Node: Arbitrary Precision Arithmetic875190 +Node: Computer Arithmetic876606 +Ref: table-numeric-ranges880207 +Ref: Computer Arithmetic-Footnote-1881066 +Node: Math Definitions881123 +Ref: table-ieee-formats884410 +Ref: Math Definitions-Footnote-1885014 +Node: MPFR features885119 +Node: FP Math Caution886790 +Ref: FP Math Caution-Footnote-1887840 +Node: Inexactness of computations888209 +Node: Inexact representation889157 +Node: Comparing FP Values890512 +Node: Errors accumulate891585 +Node: Getting Accuracy893018 +Node: Try To Round895677 +Node: Setting precision896576 +Ref: table-predefined-precision-strings897260 +Node: Setting the rounding mode899054 +Ref: table-gawk-rounding-modes899418 +Ref: Setting the rounding mode-Footnote-1902872 +Node: Arbitrary Precision Integers903051 +Ref: Arbitrary Precision Integers-Footnote-1907955 +Node: POSIX Floating Point Problems908104 +Ref: POSIX Floating Point Problems-Footnote-1911980 +Node: Floating point summary912018 +Node: Dynamic Extensions914210 +Node: Extension Intro915762 +Node: Plugin License917028 +Node: Extension Mechanism Outline917825 +Ref: figure-load-extension918253 +Ref: figure-register-new-function919733 +Ref: figure-call-new-function920737 +Node: Extension API Description922723 +Node: Extension API Functions Introduction924173 +Node: General Data Types929009 +Ref: General Data Types-Footnote-1934696 +Node: Memory Allocation Functions934995 +Ref: Memory Allocation Functions-Footnote-1937825 +Node: Constructor Functions937921 +Node: Registration Functions939655 +Node: Extension Functions940340 +Node: Exit Callback Functions942636 +Node: Extension Version String943884 +Node: Input Parsers944534 +Node: Output Wrappers954349 +Node: Two-way processors958865 +Node: Printing Messages961069 +Ref: Printing Messages-Footnote-1962146 +Node: Updating `ERRNO'962298 +Node: Requesting Values963038 +Ref: table-value-types-returned963766 +Node: Accessing Parameters964724 +Node: Symbol Table Access965955 +Node: Symbol table by name966469 +Node: Symbol table by cookie968449 +Ref: Symbol table by cookie-Footnote-1972588 +Node: Cached values972651 +Ref: Cached values-Footnote-1976155 +Node: Array Manipulation976246 +Ref: Array Manipulation-Footnote-1977344 +Node: Array Data Types977383 +Ref: Array Data Types-Footnote-1980040 +Node: Array Functions980132 +Node: Flattening Arrays983986 +Node: Creating Arrays990873 +Node: Extension API Variables995640 +Node: Extension Versioning996276 +Node: Extension API Informational Variables998177 +Node: Extension API Boilerplate999265 +Node: Finding Extensions1003081 +Node: Extension Example1003641 +Node: Internal File Description1004413 +Node: Internal File Ops1008480 +Ref: Internal File Ops-Footnote-11020138 +Node: Using Internal File Ops1020278 +Ref: Using Internal File Ops-Footnote-11022661 +Node: Extension Samples1022934 +Node: Extension Sample File Functions1024458 +Node: Extension Sample Fnmatch1032060 +Node: Extension Sample Fork1033542 +Node: Extension Sample Inplace1034755 +Node: Extension Sample Ord1036430 +Node: Extension Sample Readdir1037266 +Ref: table-readdir-file-types1038142 +Node: Extension Sample Revout1038953 +Node: Extension Sample Rev2way1039544 +Node: Extension Sample Read write array1040285 +Node: Extension Sample Readfile1042224 +Node: Extension Sample Time1043319 +Node: Extension Sample API Tests1044668 +Node: gawkextlib1045159 +Node: Extension summary1047809 +Node: Extension Exercises1051491 +Node: Language History1052213 +Node: V7/SVR3.11053870 +Node: SVR41056051 +Node: POSIX1057496 +Node: BTL1058885 +Node: POSIX/GNU1059619 +Node: Feature History1065248 +Node: Common Extensions1078346 +Node: Ranges and Locales1079670 +Ref: Ranges and Locales-Footnote-11084309 +Ref: Ranges and Locales-Footnote-21084336 +Ref: Ranges and Locales-Footnote-31084570 +Node: Contributors1084791 +Node: History summary1090331 +Node: Installation1091700 +Node: Gawk Distribution1092656 +Node: Getting1093140 +Node: Extracting1093964 +Node: Distribution contents1095606 +Node: Unix Installation1101376 +Node: Quick Installation1101993 +Node: Additional Configuration Options1104424 +Node: Configuration Philosophy1106164 +Node: Non-Unix Installation1108515 +Node: PC Installation1108973 +Node: PC Binary Installation1110299 +Node: PC Compiling1112147 +Ref: PC Compiling-Footnote-11115168 +Node: PC Testing1115273 +Node: PC Using1116449 +Node: Cygwin1120564 +Node: MSYS1121387 +Node: VMS Installation1121885 +Node: VMS Compilation1122677 +Ref: VMS Compilation-Footnote-11123899 +Node: VMS Dynamic Extensions1123957 +Node: VMS Installation Details1125641 +Node: VMS Running1127893 +Node: VMS GNV1130734 +Node: VMS Old Gawk1131468 +Node: Bugs1131938 +Node: Other Versions1135842 +Node: Installation summary1142055 +Node: Notes1143111 +Node: Compatibility Mode1143976 +Node: Additions1144758 +Node: Accessing The Source1145683 +Node: Adding Code1147119 +Node: New Ports1153291 +Node: Derived Files1157773 +Ref: Derived Files-Footnote-11163248 +Ref: Derived Files-Footnote-21163282 +Ref: Derived Files-Footnote-31163878 +Node: Future Extensions1163992 +Node: Implementation Limitations1164598 +Node: Extension Design1165846 +Node: Old Extension Problems1167000 +Ref: Old Extension Problems-Footnote-11168517 +Node: Extension New Mechanism Goals1168574 +Ref: Extension New Mechanism Goals-Footnote-11171934 +Node: Extension Other Design Decisions1172123 +Node: Extension Future Growth1174231 +Node: Old Extension Mechanism1175067 +Node: Notes summary1176829 +Node: Basic Concepts1178015 +Node: Basic High Level1178696 +Ref: figure-general-flow1178968 +Ref: figure-process-flow1179567 +Ref: Basic High Level-Footnote-11182796 +Node: Basic Data Typing1182981 +Node: Glossary1186309 +Node: Copying1211467 +Node: GNU Free Documentation License1249023 +Node: Index1274159 End Tag Table |