diff options
Diffstat (limited to 'doc/gawk.info')
-rw-r--r-- | doc/gawk.info | 768 |
1 files changed, 385 insertions, 383 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index ccb9ac31..40abc71b 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -1041,7 +1041,8 @@ acknowledgments: better world and for his courage in founding the FSF and starting the GNU Project. - Earlier editins of this Info file had the following acknowledgements: + Earlier editions of this Info file had the following +acknowledgements: The following people (in alphabetical order) provided helpful comments on various versions of this book, Rick Adams, Nelson H.F. @@ -2658,7 +2659,7 @@ into smaller, more manageable pieces, and also lets you reuse common `awk' code from various `awk' scripts. In other words, you can group together `awk' functions, used to carry out specific tasks, into external files. These files can be used just like function libraries, -using the `@include' keyword in conjuction with the `AWKPATH' +using the `@include' keyword in conjunction with the `AWKPATH' environment variable. Let's see an example. We'll start with two (trivial) `awk' scripts, @@ -2726,7 +2727,7 @@ either the full pathnames of the files, or by setting the `AWKPATH' environment variable accordingly and then using `@include' with just the file part of the full pathname. Of course you can have more than one directory to keep library files; the more complex the working -enviroment is, the more directories you may need to organize the files +environment is, the more directories you may need to organize the files to be included. Given the ability to specify multiple `-f' options, the `@include' @@ -3615,7 +3616,7 @@ such as `en_US.UTF-8'. (In general, such ranges should be avoided; either list the characters individually, or use a POSIX character class such as `[[:punct:]]'.) - An additional factor relates to splitting recoreds. For the normal + An additional factor relates to splitting records. For the normal case of `RS = "\n"', the locale is largely irrelevant. For other single-character record separators, using `LC_ALL=C' will give you much better performance when reading records. Otherwise, `gawk' has to make @@ -4268,7 +4269,7 @@ it is not part of the new `$0'. Finally, the last `print' statement prints the new `$0'. There is an additional subtlety to be aware of when using regular -exressions for field splitting. It is not well-specified in the POSIX +expressions for field splitting. It is not well-specified in the POSIX standard, or anywhere else, what `^' means when splitting fields. Does the `^' match only at the beginning of the entire record? Or is each field separator a new string? It turns out that different `awk' @@ -5242,8 +5243,8 @@ File: gawk.info, Node: Getline Summary, Prev: Getline Notes, Up: Getline *note table-getline-variants:: summarizes the eight variants of `getline', listing which built-in variables are set by each one. -Variant Effect Standad / - Extenstion +Variant Effect Standard / + Extension -------------------------------------------------------------------------- `getline' Sets `$0', `NF', `FNR', and Standard `NR' @@ -8308,7 +8309,7 @@ would otherwise be difficult or impossible to perform: You do this by checking if the `ERRNO' variable is not the empty string; if so, then `gawk' was not able to open the file. In this case, your program can execute the `nextfile' statement (*note - Nextfile Statement::). This casuses `gawk' to skip the file + Nextfile Statement::). This causes `gawk' to skip the file entirely. Otherwise, `gawk' exits with the usual fatal error. 2. If you have written extensions that modify the record handling (by @@ -10320,7 +10321,7 @@ two-element subarray at index `1' of the main array `a': can contain another subarray as a value, which in turn can hold other arrays as well. In this way, you can create arrays of three or more dimensions. The indices can be any `awk' expression, including scalars -seperated by commas (that is, a regular `awk' simulated +separated by commas (that is, a regular `awk' simulated multidimensional subscript). So the following is valid in `gawk': a[1][3][1, "name"] = "barney" @@ -10418,7 +10419,7 @@ illustrated by the following example: error--> gawk: cmd. line:1: fatal: split: second argument is not an array The way to work around this is to first force `b[1]' to be an array -by creating an arbitray index: +by creating an arbitrary index: $ gawk 'BEGIN { b[1][1] = ""; split("a b c d", b[1]); print b[1][1] }' -| a @@ -12601,9 +12602,9 @@ to force it to be a string value.) The ability to use indirect function calls is more powerful than you may think at first. The C and C++ languages provide "function pointers," which are a mechanism for calling a function chosen at -runtime. One of the most well-known uses of this ablity is the C -`qsort()' function, which sorts an array using the well-known "quick -sort" algorithm (see the Wikipedia article +runtime. One of the most well-known uses of this ability is the C +`qsort()' function, which sorts an array using the famous "quick sort" +algorithm (see the Wikipedia article (http://en.wikipedia.org/wiki/Quick_sort) for more information). To use this function, you supply a pointer to a comparison function. This mechanism allows you to sort arbitrary data in an arbitrary fashion. @@ -15333,8 +15334,8 @@ the pipeline, setting `_pw_inited' to one, and restoring `FS' (and The `getpwnam()' function takes a username as a string argument. If that user is in the database, it returns the appropriate line. -Otherwise, it relies on the array reference to a non-existant element -to create the element with the null string as its value: +Otherwise, it relies on the array reference to a nonexistent element to +create the element with the null string as its value: function getpwnam(name) { @@ -15575,7 +15576,7 @@ comma. It also doesn't check that there is a `$4'.) The `getgrnam()' function takes a group name as its argument, and if that group exists, it is returned. Otherwise, it relies on the array -reference to a non-existant element to create the element with the null +reference to a nonexistent element to create the element with the null string as its value: function getgrnam(group) @@ -18663,10 +18664,10 @@ mentioned): dgawk> n -| 71 cline = join(aline, fcount, m) - Well, here we are at our error (sorry to spoil the supense). What we -had in mind was to join the fields starting from the second one to make -the virtual record to compare, and if the first field was numbered zero, -this would work. Let's look at what we've got: + Well, here we are at our error (sorry to spoil the suspense). What +we had in mind was to join the fields starting from the second one to +make the virtual record to compare, and if the first field was numbered +zero, this would work. Let's look at what we've got: dgawk> p cline clast -| cline = string ("gawk is a wonderful program!") @@ -19651,10 +19652,10 @@ the current version of `gawk'. * Support for the following obsolete systems was removed from the code and the documentation: - - Atari. - - Amiga. + - Atari. + - BeOS. - Cray. @@ -19683,7 +19684,7 @@ This minor node summarizes the common exceptions supported by `gawk', Brian Kernighan's `awk', and `mawk', the three most widely-used freely available versions of `awk' (*note Other Versions::). - *FIXME:* Check all of these + *FIXME:* Check all of these. Feature BWK Awk Mawk GNU Awk -------------------------------------------------------- @@ -20556,7 +20557,7 @@ or: $ MMS/DESCRIPTION=[.VMS]DESCRIP.MMS GAWK Older versions of `gawk' could be built with VAX C or GNU C on -VAX/VMS, as well as with DEC C, but that is no longer suported. DEC C +VAX/VMS, as well as with DEC C, but that is no longer supported. DEC C (also briefly known as "Compaq C" and now known as "HP C," but referred to here as "DEC C") is required. Both `VMSBUILD.COM' and `DESCRIP.MMS' contain some obsolete support for the older compilers but are set up to @@ -22233,9 +22234,10 @@ as follows: * With the `--posix' command-line option, `gawk' becomes "hands off." String values are passed directly to the system library's - `strtod()' function, and if it successfuly returns a numeric value, - that is what's used. By definition, the results are not portable - across different systems.(1) They are also a little surprising: + `strtod()' function, and if it successfully returns a numeric + value, that is what's used. By definition, the results are not + portable across different systems.(1) They are also a little + surprising: $ echo nanny | gawk --posix '{ print $1 + 0 }' -| nan @@ -22407,7 +22409,7 @@ Character Set ASCII (American Standard Code for Information Interchange). Many European countries use an extension of ASCII known as ISO-8859-1 (ISO Latin-1). The Unicode character set (http://www.unicode.org) - is becoming increasinlgy popular and standard, and is particularly + is becoming increasingly popular and standard, and is particularly widely used on GNU/Linux systems. CHEM @@ -24099,7 +24101,7 @@ Stuff for working on the manual File: gawk.info, Node: unresolved, Next: revision, Up: next-edition -A.1 Unresovled Issues +A.1 Unresolved Issues ===================== 1. Robert J. Chassell points out that awk programs should have some @@ -24763,7 +24765,7 @@ Index * backtrace debugger command: Dgawk Stack. (line 13) * BBS-list file: Sample Data Files. (line 6) * Beebe, Nelson <1>: Other Versions. (line 69) -* Beebe, Nelson: Acknowledgments. (line 59) +* Beebe, Nelson: Acknowledgments. (line 60) * BEGIN pattern <1>: BEGIN/END. (line 6) * BEGIN pattern <2>: Field Separators. (line 44) * BEGIN pattern: Records. (line 29) @@ -24790,7 +24792,7 @@ Index (line 73) * beginfile() user-defined function: Filetrans Function. (line 62) * Benzinger, Michael: Contributors. (line 94) -* Berry, Karl: Acknowledgments. (line 32) +* Berry, Karl: Acknowledgments. (line 33) * binary input/output: User-modified. (line 10) * bindtextdomain() function (C library): Explaining gettext. (line 49) * bindtextdomain() function (gawk) <1>: Programmer i18n. (line 47) @@ -24827,7 +24829,7 @@ Index * bt debugger command (alias for backtrace): Dgawk Stack. (line 13) * Buening, Andreas <1>: Bugs. (line 71) * Buening, Andreas <2>: Contributors. (line 89) -* Buening, Andreas: Acknowledgments. (line 59) +* Buening, Andreas: Acknowledgments. (line 60) * buffering, input/output <1>: Two-way I/O. (line 70) * buffering, input/output: I/O Functions. (line 130) * buffering, interactive vs. noninteractive: I/O Functions. (line 98) @@ -24879,7 +24881,7 @@ Index * characters, counting: Wc Program. (line 6) * characters, transliterating: Translate Program. (line 6) * characters, values of as numbers: Ordinal Functions. (line 6) -* Chassell, Robert J.: Acknowledgments. (line 32) +* Chassell, Robert J.: Acknowledgments. (line 33) * chdir() function, implementing in gawk: Sample Library. (line 6) * chem utility: Glossary. (line 147) * chr() user-defined function: Ordinal Functions. (line 16) @@ -24902,7 +24904,7 @@ Index * close_func() input method: Internals. (line 161) * collating elements: Character Lists. (line 70) * collating symbols: Character Lists. (line 77) -* Colombo, Antonio: Acknowledgments. (line 59) +* Colombo, Antonio: Acknowledgments. (line 60) * columns, aligning: Print Examples. (line 70) * columns, cutting: Cut Program. (line 6) * comma (,), in range patterns: Ranges. (line 6) @@ -25061,7 +25063,7 @@ Index * dates, information related to, localization: Explaining gettext. (line 115) * Davies, Stephen <1>: Contributors. (line 71) -* Davies, Stephen: Acknowledgments. (line 59) +* Davies, Stephen: Acknowledgments. (line 60) * dcgettext() function (gawk) <1>: Programmer i18n. (line 19) * dcgettext() function (gawk): I18N Functions. (line 22) * dcgettext() function (gawk), portability and: I18N Portability. @@ -25173,7 +25175,7 @@ Index * default keyword: Switch Statement. (line 6) * Deifik, Scott <1>: Bugs. (line 70) * Deifik, Scott <2>: Contributors. (line 53) -* Deifik, Scott: Acknowledgments. (line 59) +* Deifik, Scott: Acknowledgments. (line 60) * delete debugger command: Breakpoint Control. (line 60) * delete statement: Delete. (line 6) * deleting elements in arrays: Delete. (line 6) @@ -25268,8 +25270,8 @@ Index * double quote ("), regexp constants: Computed Regexps. (line 28) * double-precision floating-point: Basic Data Typing. (line 36) * down debugger command: Dgawk Stack. (line 21) -* Drepper, Ulrich: Acknowledgments. (line 51) -* DuBois, John: Acknowledgments. (line 59) +* Drepper, Ulrich: Acknowledgments. (line 52) +* DuBois, John: Acknowledgments. (line 60) * dump debugger command: Miscellaneous Dgawk Commands. (line 9) * dupnode() internal function: Internals. (line 96) @@ -25606,7 +25608,7 @@ Index (line 43) * functions, user-defined, next/nextfile statements and: Next Statement. (line 45) -* G-d: Acknowledgments. (line 79) +* G-d: Acknowledgments. (line 80) * Garfinkle, Scott: Contributors. (line 35) * gawk, ARGIND variable in: Other Arguments. (line 12) * gawk, awk and <1>: This Manual. (line 14) @@ -25751,7 +25753,7 @@ Index * gettext() function (C library): Explaining gettext. (line 62) * gettimeofday() user-defined function: Gettimeofday Function. (line 16) -* GNITS mailing list: Acknowledgments. (line 51) +* GNITS mailing list: Acknowledgments. (line 52) * GNU awk, See gawk: Preface. (line 48) * GNU Free Documentation License: GNU Free Documentation License. (line 6) @@ -25781,18 +25783,18 @@ Index * h debugger command (alias for help): Miscellaneous Dgawk Commands. (line 68) * Hankerson, Darrel <1>: Contributors. (line 58) -* Hankerson, Darrel: Acknowledgments. (line 59) +* Hankerson, Darrel: Acknowledgments. (line 60) * Haque, John <1>: Contributors. (line 100) -* Haque, John: Acknowledgments. (line 59) -* Hartholz, Elaine: Acknowledgments. (line 37) -* Hartholz, Marshall: Acknowledgments. (line 37) +* Haque, John: Acknowledgments. (line 60) +* Hartholz, Elaine: Acknowledgments. (line 38) +* Hartholz, Marshall: Acknowledgments. (line 38) * Hasegawa, Isamu: Contributors. (line 91) * help debugger command: Miscellaneous Dgawk Commands. (line 68) * hexadecimal numbers: Nondecimal-numbers. (line 6) * hexadecimal values, enabling interpretation of: Options. (line 165) * histsort.awk program: History Sorting. (line 25) -* Hughes, Phil: Acknowledgments. (line 42) +* Hughes, Phil: Acknowledgments. (line 43) * HUP signal: Profiling. (line 204) * hyphen (-), - operator: Precedence. (line 52) * hyphen (-), -- (decrement/increment) operators: Precedence. (line 46) @@ -25925,21 +25927,21 @@ Index * ISO Latin-1: Glossary. (line 137) * Jacobs, Andrew: Passwd Functions. (line 90) * Jaegermann, Michal <1>: Contributors. (line 45) -* Jaegermann, Michal: Acknowledgments. (line 59) +* Jaegermann, Michal: Acknowledgments. (line 60) * Java implementation of awk: Other Versions. (line 96) * jawk: Other Versions. (line 96) * Jedi knights: Undocumented. (line 6) * join() user-defined function: Join Function. (line 18) * Kahrs, Ju"rgen <1>: Contributors. (line 67) -* Kahrs, Ju"rgen: Acknowledgments. (line 59) -* Kasal, Stepan: Acknowledgments. (line 59) +* Kahrs, Ju"rgen: Acknowledgments. (line 60) +* Kasal, Stepan: Acknowledgments. (line 60) * Kenobi, Obi-Wan: Undocumented. (line 6) * Kernighan, Brian <1>: Basic Data Typing. (line 74) * Kernighan, Brian <2>: Other Versions. (line 13) * Kernighan, Brian <3>: Contributors. (line 12) * Kernighan, Brian <4>: BTL. (line 6) * Kernighan, Brian <5>: Concatenation. (line 6) -* Kernighan, Brian <6>: Acknowledgments. (line 73) +* Kernighan, Brian <6>: Acknowledgments. (line 74) * Kernighan, Brian <7>: Conventions. (line 33) * Kernighan, Brian: History. (line 17) * kill command, dynamic profiling: Profiling. (line 182) @@ -26045,7 +26047,7 @@ Index * lshift() function (gawk): Bitwise Functions. (line 45) * lvalues/rvalues: Assignment Ops. (line 32) * mailing labels, printing: Labels Program. (line 6) -* mailing list, GNITS: Acknowledgments. (line 51) +* mailing list, GNITS: Acknowledgments. (line 52) * make_builtin() internal function: Internals. (line 106) * make_number() internal function: Internals. (line 91) * make_string() internal function: Internals. (line 86) @@ -26287,7 +26289,7 @@ Index * pipes, input: Getline/Pipe. (line 6) * pipes, output: Redirection. (line 57) * Pitts, Dave <1>: Bugs. (line 73) -* Pitts, Dave: Acknowledgments. (line 59) +* Pitts, Dave: Acknowledgments. (line 60) * plus sign (+): Regexp Operators. (line 101) * plus sign (+), + operator: Precedence. (line 52) * plus sign (+), ++ (decrement/increment operators): Increment Ops. @@ -26480,7 +26482,7 @@ Index * Rankin, Pat <1>: Bugs. (line 72) * Rankin, Pat <2>: Contributors. (line 38) * Rankin, Pat <3>: Assignment Ops. (line 100) -* Rankin, Pat: Acknowledgments. (line 59) +* Rankin, Pat: Acknowledgments. (line 60) * readable data files, checking: File Checking. (line 6) * readable.awk program: File Checking. (line 11) * recipe for a programming language: History. (line 6) @@ -26576,11 +26578,11 @@ Index * Robbins, Arnold: Command Line Field Separator. (line 80) * Robbins, Bill: Getline/Pipe. (line 36) -* Robbins, Harry: Acknowledgments. (line 79) -* Robbins, Jean: Acknowledgments. (line 79) +* Robbins, Harry: Acknowledgments. (line 80) +* Robbins, Jean: Acknowledgments. (line 80) * Robbins, Miriam <1>: Passwd Functions. (line 90) * Robbins, Miriam <2>: Getline/Pipe. (line 36) -* Robbins, Miriam: Acknowledgments. (line 79) +* Robbins, Miriam: Acknowledgments. (line 80) * Robinson, Will: Dynamic Extensions. (line 6) * robot, the: Dynamic Extensions. (line 6) * Rommel, Kai Uwe: Contributors. (line 42) @@ -26607,9 +26609,9 @@ Index (line 68) * sandbox mode: Options. (line 234) * scalar values: Basic Data Typing. (line 13) -* Schorr, Andrew: Acknowledgments. (line 59) -* Schreiber, Bert: Acknowledgments. (line 37) -* Schreiber, Rita: Acknowledgments. (line 37) +* Schorr, Andrew: Acknowledgments. (line 60) +* Schreiber, Bert: Acknowledgments. (line 38) +* Schreiber, Rita: Acknowledgments. (line 38) * search paths <1>: VMS Running. (line 28) * search paths <2>: PC Using. (line 11) * search paths <3>: Igawk Program. (line 364) @@ -26873,7 +26875,7 @@ Index (line 94) * true, logical: Truth Values. (line 6) * Trueman, David <1>: Contributors. (line 31) -* Trueman, David <2>: Acknowledgments. (line 46) +* Trueman, David <2>: Acknowledgments. (line 47) * Trueman, David: History. (line 30) * trunc-mod operation: Arithmetic Ops. (line 66) * truth values: Truth Values. (line 6) @@ -26962,7 +26964,7 @@ Index * vertical bar (|), |& operator (I/O): Getline/Coprocess. (line 6) * vertical bar (|), || operator <1>: Precedence. (line 89) * vertical bar (|), || operator: Boolean Ops. (line 57) -* Vinschen, Corinna: Acknowledgments. (line 59) +* Vinschen, Corinna: Acknowledgments. (line 60) * vname internal variable: Internals. (line 71) * w debugger command (alias for watch): Viewing And Changing Data. (line 67) @@ -26970,7 +26972,7 @@ Index * walk_array() user-defined function: Walking Arrays. (line 14) * Wall, Larry <1>: Future Extensions. (line 6) * Wall, Larry: Array Intro. (line 6) -* Wallin, Anders: Acknowledgments. (line 59) +* Wallin, Anders: Acknowledgments. (line 60) * warnings, issuing: Options. (line 146) * watch debugger command: Viewing And Changing Data. (line 67) @@ -27005,7 +27007,7 @@ Index * XOR bitwise operation: Bitwise Functions. (line 6) * xor() function (gawk): Bitwise Functions. (line 54) * Zaretskii, Eli <1>: Bugs. (line 70) -* Zaretskii, Eli: Acknowledgments. (line 59) +* Zaretskii, Eli: Acknowledgments. (line 60) * zero, negative vs. positive: Unexpected Results. (line 28) * zerofile.awk program: Empty Files. (line 21) * Zoulas, Christos: Contributors. (line 64) @@ -27052,230 +27054,230 @@ Ref: Manual History-Footnote-151791 Ref: Manual History-Footnote-251832 Node: How To Contribute51906 Node: Acknowledgments53050 -Node: Getting Started57298 -Node: Running gawk59677 -Node: One-shot60863 -Node: Read Terminal62088 -Ref: Read Terminal-Footnote-163738 -Ref: Read Terminal-Footnote-264012 -Node: Long64183 -Node: Executable Scripts65559 -Ref: Executable Scripts-Footnote-167420 -Ref: Executable Scripts-Footnote-267522 -Node: Comments67973 -Node: Quoting70440 -Node: DOS Quoting75057 -Node: Sample Data Files75732 -Node: Very Simple78764 -Node: Two Rules83361 -Node: More Complex85508 -Ref: More Complex-Footnote-188438 -Node: Statements/Lines88518 -Ref: Statements/Lines-Footnote-192980 -Node: Other Features93245 -Node: When94114 -Node: Invoking Gawk96257 -Node: Command Line97642 -Node: Options98425 -Ref: Options-Footnote-1111479 -Node: Other Arguments111504 -Node: Naming Standard Input114167 -Node: Environment Variables115131 -Node: AWKPATH Variable115575 -Ref: AWKPATH Variable-Footnote-1118312 -Node: Other Environment Variables118572 -Node: Exit Status120920 -Node: Include Files121595 -Node: Obsolete124986 -Node: Undocumented125672 -Node: Regexp125913 -Node: Regexp Usage127365 -Node: Escape Sequences129391 -Node: Regexp Operators135134 -Ref: Regexp Operators-Footnote-1142306 -Ref: Regexp Operators-Footnote-2142453 -Node: Character Lists142551 -Ref: table-char-classes144326 -Node: GNU Regexp Operators146966 -Node: Case-sensitivity150685 -Ref: Case-sensitivity-Footnote-1153640 -Ref: Case-sensitivity-Footnote-2153875 -Node: Leftmost Longest153983 -Node: Computed Regexps155184 -Node: Locales158601 -Node: Reading Files162143 -Node: Records164084 -Ref: Records-Footnote-1172763 -Node: Fields172800 -Ref: Fields-Footnote-1175832 -Node: Nonconstant Fields175918 -Node: Changing Fields178120 -Node: Field Separators183410 -Node: Default Field Splitting186039 -Node: Regexp Field Splitting187156 -Node: Single Character Fields190514 -Node: Command Line Field Separator191573 -Node: Field Splitting Summary195012 -Ref: Field Splitting Summary-Footnote-1198198 -Node: Constant Size198299 -Node: Splitting By Content202861 -Ref: Splitting By Content-Footnote-1206587 -Node: Multiple Line206627 -Ref: Multiple Line-Footnote-1212474 -Node: Getline212653 -Node: Plain Getline214881 -Node: Getline/Variable216970 -Node: Getline/File218111 -Node: Getline/Variable/File219433 -Ref: Getline/Variable/File-Footnote-1221032 -Node: Getline/Pipe221119 -Node: Getline/Variable/Pipe223667 -Node: Getline/Coprocess224774 -Node: Getline/Variable/Coprocess226017 -Node: Getline Notes226731 -Node: Getline Summary228673 -Ref: table-getline-variants228957 -Node: Command line directories229862 -Node: Printing230487 -Node: Print232118 -Node: Print Examples233455 -Node: Output Separators236239 -Node: OFMT237998 -Node: Printf239356 -Node: Basic Printf240262 -Node: Control Letters241799 -Node: Format Modifiers245611 -Node: Printf Examples251622 -Node: Redirection254337 -Node: Special Files261315 -Node: Special FD261848 -Ref: Special FD-Footnote-1265459 -Node: Special Network265533 -Node: Special Caveats266388 -Node: Close Files And Pipes267182 -Ref: Close Files And Pipes-Footnote-1274126 -Ref: Close Files And Pipes-Footnote-2274274 -Node: Expressions274424 -Node: Values275493 -Node: Constants276169 -Node: Scalar Constants276849 -Ref: Scalar Constants-Footnote-1277708 -Node: Nondecimal-numbers277890 -Node: Regexp Constants280949 -Node: Using Constant Regexps281424 -Node: Variables284429 -Node: Using Variables285084 -Node: Assignment Options286811 -Node: Conversion288692 -Ref: table-locale-affects294066 -Ref: Conversion-Footnote-1294690 -Node: All Operators294799 -Node: Arithmetic Ops295429 -Node: Concatenation297935 -Ref: Concatenation-Footnote-1300728 -Node: Assignment Ops300847 -Ref: table-assign-ops305835 -Node: Increment Ops307243 -Node: Truth Values and Conditions310721 -Node: Truth Values311804 -Node: Typing and Comparison312852 -Node: Variable Typing313641 -Ref: Variable Typing-Footnote-1317538 -Node: Comparison Operators317660 -Ref: table-relational-ops318070 -Node: POSIX String Comparison321619 -Ref: POSIX String Comparison-Footnote-1322576 -Node: Boolean Ops322714 -Ref: Boolean Ops-Footnote-1326792 -Node: Conditional Exp326883 -Node: Function Calls328615 -Node: Precedence332205 -Node: Patterns and Actions335858 -Node: Pattern Overview336912 -Node: Regexp Patterns338578 -Node: Expression Patterns339121 -Node: Ranges342695 -Node: BEGIN/END345661 -Node: Using BEGIN/END346411 -Ref: Using BEGIN/END-Footnote-1349142 -Node: I/O And BEGIN/END349256 -Node: Empty351525 -Node: BEGINFILE/ENDFILE351859 -Node: Using Shell Variables354684 -Node: Action Overview356963 -Node: Statements359320 -Node: If Statement361179 -Node: While Statement362678 -Node: Do Statement364722 -Node: For Statement365878 -Node: Switch Statement369030 -Node: Break Statement371127 -Node: Continue Statement373103 -Node: Next Statement374804 -Node: Nextfile Statement377186 -Node: Exit Statement379711 -Node: Built-in Variables382042 -Node: User-modified383137 -Ref: User-modified-Footnote-1391138 -Node: Auto-set391200 -Ref: Auto-set-Footnote-1400464 -Node: ARGC and ARGV400669 -Node: Arrays404428 -Node: Array Basics405999 -Node: Array Intro406710 -Node: Reference to Elements411028 -Node: Assigning Elements413298 -Node: Array Example413789 -Node: Scanning an Array415521 -Node: Delete418969 -Ref: Delete-Footnote-1421400 -Node: Numeric Array Subscripts421457 -Node: Uninitialized Subscripts423640 -Node: Multi-dimensional425268 -Node: Multi-scanning428359 -Node: Array Sorting429943 -Ref: Array Sorting-Footnote-1433141 -Node: Arrays of Arrays433335 -Node: Functions437873 -Node: Built-in438695 -Node: Calling Built-in439773 -Node: Numeric Functions441749 -Ref: Numeric Functions-Footnote-1445506 -Ref: Numeric Functions-Footnote-2445842 -Ref: Numeric Functions-Footnote-3445890 -Node: String Functions446159 -Ref: String Functions-Footnote-1467965 -Ref: String Functions-Footnote-2468094 -Ref: String Functions-Footnote-3468342 -Node: Gory Details468429 -Ref: table-sub-escapes470086 -Ref: table-posix-sub471400 -Ref: table-gensub-escapes472300 -Node: I/O Functions473471 -Ref: I/O Functions-Footnote-1480166 -Node: Time Functions480313 -Ref: Time Functions-Footnote-1491180 -Ref: Time Functions-Footnote-2491248 -Ref: Time Functions-Footnote-3491406 -Ref: Time Functions-Footnote-4491517 -Ref: Time Functions-Footnote-5491629 -Ref: Time Functions-Footnote-6491856 -Node: Bitwise Functions492122 -Ref: table-bitwise-ops492680 -Ref: Bitwise Functions-Footnote-1496840 -Node: Type Functions497024 -Node: I18N Functions497462 -Node: User-defined499089 -Node: Definition Syntax499893 -Ref: Definition Syntax-Footnote-1504530 -Node: Function Example504599 -Node: Function Caveats507193 -Node: Calling A Function507614 -Node: Variable Scope508729 -Node: Pass By Value/Reference510657 -Node: Return Statement514097 -Node: Dynamic Typing517039 -Node: Indirect Calls517776 +Node: Getting Started57299 +Node: Running gawk59678 +Node: One-shot60864 +Node: Read Terminal62089 +Ref: Read Terminal-Footnote-163739 +Ref: Read Terminal-Footnote-264013 +Node: Long64184 +Node: Executable Scripts65560 +Ref: Executable Scripts-Footnote-167421 +Ref: Executable Scripts-Footnote-267523 +Node: Comments67974 +Node: Quoting70441 +Node: DOS Quoting75058 +Node: Sample Data Files75733 +Node: Very Simple78765 +Node: Two Rules83362 +Node: More Complex85509 +Ref: More Complex-Footnote-188439 +Node: Statements/Lines88519 +Ref: Statements/Lines-Footnote-192981 +Node: Other Features93246 +Node: When94115 +Node: Invoking Gawk96258 +Node: Command Line97643 +Node: Options98426 +Ref: Options-Footnote-1111480 +Node: Other Arguments111505 +Node: Naming Standard Input114168 +Node: Environment Variables115132 +Node: AWKPATH Variable115576 +Ref: AWKPATH Variable-Footnote-1118313 +Node: Other Environment Variables118573 +Node: Exit Status120921 +Node: Include Files121596 +Node: Obsolete124989 +Node: Undocumented125675 +Node: Regexp125916 +Node: Regexp Usage127368 +Node: Escape Sequences129394 +Node: Regexp Operators135137 +Ref: Regexp Operators-Footnote-1142309 +Ref: Regexp Operators-Footnote-2142456 +Node: Character Lists142554 +Ref: table-char-classes144329 +Node: GNU Regexp Operators146969 +Node: Case-sensitivity150688 +Ref: Case-sensitivity-Footnote-1153643 +Ref: Case-sensitivity-Footnote-2153878 +Node: Leftmost Longest153986 +Node: Computed Regexps155187 +Node: Locales158604 +Node: Reading Files162145 +Node: Records164086 +Ref: Records-Footnote-1172765 +Node: Fields172802 +Ref: Fields-Footnote-1175834 +Node: Nonconstant Fields175920 +Node: Changing Fields178122 +Node: Field Separators183412 +Node: Default Field Splitting186041 +Node: Regexp Field Splitting187158 +Node: Single Character Fields190517 +Node: Command Line Field Separator191576 +Node: Field Splitting Summary195015 +Ref: Field Splitting Summary-Footnote-1198201 +Node: Constant Size198302 +Node: Splitting By Content202864 +Ref: Splitting By Content-Footnote-1206590 +Node: Multiple Line206630 +Ref: Multiple Line-Footnote-1212477 +Node: Getline212656 +Node: Plain Getline214884 +Node: Getline/Variable216973 +Node: Getline/File218114 +Node: Getline/Variable/File219436 +Ref: Getline/Variable/File-Footnote-1221035 +Node: Getline/Pipe221122 +Node: Getline/Variable/Pipe223670 +Node: Getline/Coprocess224777 +Node: Getline/Variable/Coprocess226020 +Node: Getline Notes226734 +Node: Getline Summary228676 +Ref: table-getline-variants228960 +Node: Command line directories229865 +Node: Printing230490 +Node: Print232121 +Node: Print Examples233458 +Node: Output Separators236242 +Node: OFMT238001 +Node: Printf239359 +Node: Basic Printf240265 +Node: Control Letters241802 +Node: Format Modifiers245614 +Node: Printf Examples251625 +Node: Redirection254340 +Node: Special Files261318 +Node: Special FD261851 +Ref: Special FD-Footnote-1265462 +Node: Special Network265536 +Node: Special Caveats266391 +Node: Close Files And Pipes267185 +Ref: Close Files And Pipes-Footnote-1274129 +Ref: Close Files And Pipes-Footnote-2274277 +Node: Expressions274427 +Node: Values275496 +Node: Constants276172 +Node: Scalar Constants276852 +Ref: Scalar Constants-Footnote-1277711 +Node: Nondecimal-numbers277893 +Node: Regexp Constants280952 +Node: Using Constant Regexps281427 +Node: Variables284432 +Node: Using Variables285087 +Node: Assignment Options286814 +Node: Conversion288695 +Ref: table-locale-affects294069 +Ref: Conversion-Footnote-1294693 +Node: All Operators294802 +Node: Arithmetic Ops295432 +Node: Concatenation297938 +Ref: Concatenation-Footnote-1300731 +Node: Assignment Ops300850 +Ref: table-assign-ops305838 +Node: Increment Ops307246 +Node: Truth Values and Conditions310724 +Node: Truth Values311807 +Node: Typing and Comparison312855 +Node: Variable Typing313644 +Ref: Variable Typing-Footnote-1317541 +Node: Comparison Operators317663 +Ref: table-relational-ops318073 +Node: POSIX String Comparison321622 +Ref: POSIX String Comparison-Footnote-1322579 +Node: Boolean Ops322717 +Ref: Boolean Ops-Footnote-1326795 +Node: Conditional Exp326886 +Node: Function Calls328618 +Node: Precedence332208 +Node: Patterns and Actions335861 +Node: Pattern Overview336915 +Node: Regexp Patterns338581 +Node: Expression Patterns339124 +Node: Ranges342698 +Node: BEGIN/END345664 +Node: Using BEGIN/END346414 +Ref: Using BEGIN/END-Footnote-1349145 +Node: I/O And BEGIN/END349259 +Node: Empty351528 +Node: BEGINFILE/ENDFILE351862 +Node: Using Shell Variables354686 +Node: Action Overview356965 +Node: Statements359322 +Node: If Statement361181 +Node: While Statement362680 +Node: Do Statement364724 +Node: For Statement365880 +Node: Switch Statement369032 +Node: Break Statement371129 +Node: Continue Statement373105 +Node: Next Statement374806 +Node: Nextfile Statement377188 +Node: Exit Statement379713 +Node: Built-in Variables382044 +Node: User-modified383139 +Ref: User-modified-Footnote-1391140 +Node: Auto-set391202 +Ref: Auto-set-Footnote-1400466 +Node: ARGC and ARGV400671 +Node: Arrays404430 +Node: Array Basics406001 +Node: Array Intro406712 +Node: Reference to Elements411030 +Node: Assigning Elements413300 +Node: Array Example413791 +Node: Scanning an Array415523 +Node: Delete418971 +Ref: Delete-Footnote-1421402 +Node: Numeric Array Subscripts421459 +Node: Uninitialized Subscripts423642 +Node: Multi-dimensional425270 +Node: Multi-scanning428361 +Node: Array Sorting429945 +Ref: Array Sorting-Footnote-1433143 +Node: Arrays of Arrays433337 +Node: Functions437876 +Node: Built-in438698 +Node: Calling Built-in439776 +Node: Numeric Functions441752 +Ref: Numeric Functions-Footnote-1445509 +Ref: Numeric Functions-Footnote-2445845 +Ref: Numeric Functions-Footnote-3445893 +Node: String Functions446162 +Ref: String Functions-Footnote-1467968 +Ref: String Functions-Footnote-2468097 +Ref: String Functions-Footnote-3468345 +Node: Gory Details468432 +Ref: table-sub-escapes470089 +Ref: table-posix-sub471403 +Ref: table-gensub-escapes472303 +Node: I/O Functions473474 +Ref: I/O Functions-Footnote-1480169 +Node: Time Functions480316 +Ref: Time Functions-Footnote-1491183 +Ref: Time Functions-Footnote-2491251 +Ref: Time Functions-Footnote-3491409 +Ref: Time Functions-Footnote-4491520 +Ref: Time Functions-Footnote-5491632 +Ref: Time Functions-Footnote-6491859 +Node: Bitwise Functions492125 +Ref: table-bitwise-ops492683 +Ref: Bitwise Functions-Footnote-1496843 +Node: Type Functions497027 +Node: I18N Functions497465 +Node: User-defined499092 +Node: Definition Syntax499896 +Ref: Definition Syntax-Footnote-1504533 +Node: Function Example504602 +Node: Function Caveats507196 +Node: Calling A Function507617 +Node: Variable Scope508732 +Node: Pass By Value/Reference510660 +Node: Return Statement514100 +Node: Dynamic Typing517042 +Node: Indirect Calls517779 Node: Internationalization527461 Node: I18N and L10N528889 Node: Explaining gettext529575 @@ -27324,64 +27326,64 @@ Node: Ignoring Assigns608569 Node: Getopt Function610122 Ref: Getopt Function-Footnote-1621447 Node: Passwd Functions621650 -Ref: Passwd Functions-Footnote-1630638 -Node: Group Functions630726 -Node: Walking Arrays638829 -Node: Sample Programs640395 -Node: Running Examples641060 -Node: Clones641788 -Node: Cut Program642911 -Node: Egrep Program652752 -Ref: Egrep Program-Footnote-1660523 -Node: Id Program660633 -Node: Split Program664249 -Ref: Split Program-Footnote-1667768 -Node: Tee Program667896 -Node: Uniq Program670699 -Node: Wc Program678122 -Ref: Wc Program-Footnote-1682386 -Node: Miscellaneous Programs682586 -Node: Dupword Program683774 -Node: Alarm Program685805 -Node: Translate Program690527 -Ref: Translate Program-Footnote-1694906 -Ref: Translate Program-Footnote-2695134 -Node: Labels Program695268 -Ref: Labels Program-Footnote-1698639 -Node: Word Sorting698723 -Node: History Sorting703068 -Node: Extract Program704906 -Ref: Extract Program-Footnote-1712387 -Node: Simple Sed712515 -Node: Igawk Program715577 -Ref: Igawk Program-Footnote-1730609 -Ref: Igawk Program-Footnote-2730810 -Node: Anagram Program730948 -Node: Signature Program734046 -Node: Debugger735149 -Node: Debugging736060 -Node: Debugging Concepts736374 -Node: Debugging Terms738230 -Node: Awk Debugging740775 -Node: Sample dgawk session741667 -Node: dgawk invocation742159 -Node: Finding The Bug743341 -Node: List of Debugger Commands749825 -Node: Breakpoint Control751136 -Node: Dgawk Execution Control754612 -Node: Viewing And Changing Data757963 -Node: Dgawk Stack761272 -Node: Dgawk Info762732 -Node: Miscellaneous Dgawk Commands766680 -Node: Readline Support772108 -Node: Dgawk Limitations772935 -Node: Language History775074 -Node: V7/SVR3.1776506 -Node: SVR4778801 -Node: POSIX780243 -Node: BTL781241 -Node: POSIX/GNU781975 -Node: Common Extensions787161 +Ref: Passwd Functions-Footnote-1630637 +Node: Group Functions630725 +Node: Walking Arrays638827 +Node: Sample Programs640393 +Node: Running Examples641058 +Node: Clones641786 +Node: Cut Program642909 +Node: Egrep Program652750 +Ref: Egrep Program-Footnote-1660521 +Node: Id Program660631 +Node: Split Program664247 +Ref: Split Program-Footnote-1667766 +Node: Tee Program667894 +Node: Uniq Program670697 +Node: Wc Program678120 +Ref: Wc Program-Footnote-1682384 +Node: Miscellaneous Programs682584 +Node: Dupword Program683772 +Node: Alarm Program685803 +Node: Translate Program690525 +Ref: Translate Program-Footnote-1694904 +Ref: Translate Program-Footnote-2695132 +Node: Labels Program695266 +Ref: Labels Program-Footnote-1698637 +Node: Word Sorting698721 +Node: History Sorting703066 +Node: Extract Program704904 +Ref: Extract Program-Footnote-1712385 +Node: Simple Sed712513 +Node: Igawk Program715575 +Ref: Igawk Program-Footnote-1730607 +Ref: Igawk Program-Footnote-2730808 +Node: Anagram Program730946 +Node: Signature Program734044 +Node: Debugger735147 +Node: Debugging736058 +Node: Debugging Concepts736372 +Node: Debugging Terms738228 +Node: Awk Debugging740773 +Node: Sample dgawk session741665 +Node: dgawk invocation742157 +Node: Finding The Bug743339 +Node: List of Debugger Commands749824 +Node: Breakpoint Control751135 +Node: Dgawk Execution Control754611 +Node: Viewing And Changing Data757962 +Node: Dgawk Stack761271 +Node: Dgawk Info762731 +Node: Miscellaneous Dgawk Commands766679 +Node: Readline Support772107 +Node: Dgawk Limitations772934 +Node: Language History775073 +Node: V7/SVR3.1776505 +Node: SVR4778800 +Node: POSIX780242 +Node: BTL781240 +Node: POSIX/GNU781974 +Node: Common Extensions787160 Node: Contributors788294 Node: Installation792329 Node: Gawk Distribution793223 @@ -27402,44 +27404,44 @@ Node: Cygwin819537 Node: MSYS820534 Node: VMS Installation821048 Node: VMS Compilation821654 -Ref: VMS Compilation-Footnote-1822660 -Node: VMS Installation Details822718 -Node: VMS Running824353 -Node: VMS Old Gawk825953 -Node: Bugs826427 -Node: Other Versions830292 -Node: Notes835571 -Node: Compatibility Mode836263 -Node: Additions837046 -Node: Accessing The Source837858 -Node: Adding Code839281 -Node: New Ports844829 -Node: Dynamic Extensions848942 -Node: Internals850318 -Node: Plugin License859434 -Node: Sample Library860068 -Node: Internal File Description860754 -Node: Internal File Ops864461 -Ref: Internal File Ops-Footnote-1869229 -Node: Using Internal File Ops869377 -Node: Future Extensions871754 -Node: Basic Concepts874258 -Node: Basic High Level875015 -Ref: Basic High Level-Footnote-1879050 -Node: Basic Data Typing879235 -Node: Floating Point Issues883760 -Node: String Conversion Precision884843 -Ref: String Conversion Precision-Footnote-1886537 -Node: Unexpected Results886646 -Node: POSIX Floating Point Problems888472 -Ref: POSIX Floating Point Problems-Footnote-1892168 -Node: Glossary892206 -Node: Copying916305 -Node: GNU Free Documentation License953862 -Node: next-edition979006 -Node: unresolved979358 -Node: revision979858 -Node: consistency980281 -Node: Index983780 +Ref: VMS Compilation-Footnote-1822661 +Node: VMS Installation Details822719 +Node: VMS Running824354 +Node: VMS Old Gawk825954 +Node: Bugs826428 +Node: Other Versions830293 +Node: Notes835572 +Node: Compatibility Mode836264 +Node: Additions837047 +Node: Accessing The Source837859 +Node: Adding Code839282 +Node: New Ports844830 +Node: Dynamic Extensions848943 +Node: Internals850319 +Node: Plugin License859435 +Node: Sample Library860069 +Node: Internal File Description860755 +Node: Internal File Ops864462 +Ref: Internal File Ops-Footnote-1869230 +Node: Using Internal File Ops869378 +Node: Future Extensions871755 +Node: Basic Concepts874259 +Node: Basic High Level875016 +Ref: Basic High Level-Footnote-1879051 +Node: Basic Data Typing879236 +Node: Floating Point Issues883761 +Node: String Conversion Precision884844 +Ref: String Conversion Precision-Footnote-1886538 +Node: Unexpected Results886647 +Node: POSIX Floating Point Problems888473 +Ref: POSIX Floating Point Problems-Footnote-1892175 +Node: Glossary892213 +Node: Copying916312 +Node: GNU Free Documentation License953869 +Node: next-edition979013 +Node: unresolved979365 +Node: revision979865 +Node: consistency980288 +Node: Index983787 End Tag Table |