diff options
Diffstat (limited to 'doc/gawk.info')
-rw-r--r-- | doc/gawk.info | 878 |
1 files changed, 442 insertions, 436 deletions
diff --git a/doc/gawk.info b/doc/gawk.info index 6647e1e3..ca6b661f 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -10,8 +10,8 @@ START-INFO-DIR-ENTRY END-INFO-DIR-ENTRY Copyright (C) 1989, 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011 Free Software -Foundation, Inc. +2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011, 2012 Free +Software Foundation, Inc. This is Edition 4 of `GAWK: Effective AWK Programming: A User's @@ -42,8 +42,8 @@ This file documents `awk', a program that you can use to select particular records in a file and perform operations upon them. Copyright (C) 1989, 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2000, -2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011 Free Software -Foundation, Inc. +2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010, 2011, 2012 Free +Software Foundation, Inc. This is Edition 4 of `GAWK: Effective AWK Programming: A User's @@ -1395,7 +1395,8 @@ pass to that interpreter. The operating system then runs the interpreter with the given argument and the full argument list of the executed program. The first argument in the list is the full file name of the `awk' program. The rest of the argument list contains either -options to `awk', or data files, or both. +options to `awk', or data files, or both. Note that on many systems +`awk' may be found in `/usr/bin' instead of in `/bin'. Caveat Emptor. File: gawk.info, Node: Comments, Next: Quoting, Prev: Executable Scripts, Up: Running gawk @@ -3196,6 +3197,10 @@ sequences and that are not listed in the table stand for themselves: constants are valid and work the way you want them to, using any version of `awk'.(2) + Finally, when `{' and `}' appear in regexp constants in a way that + cannot be interpreted as an interval expression (such as + `/q{a}/'), then they stand for themselves. + In regular expressions, the `*', `+', and `?' operators, as well as the braces `{' and `}', have the highest precedence, followed by concatenation, and finally by `|'. As in arithmetic, parentheses can @@ -10672,7 +10677,8 @@ with numbers. Optional parameters are enclosed in square brackets ([ ]): `atan2(Y, X)' - Return the arctangent of `Y / X' in radians. + Return the arctangent of `Y / X' in radians. You can use `pi = + atan2(0, -1)' to retrieve the value of pi. `cos(X)' Return the cosine of X, with X in radians. @@ -25558,7 +25564,7 @@ Index * coprocesses, closing: Close Files And Pipes. (line 6) * coprocesses, getline from: Getline/Coprocess. (line 6) -* cos() function: Numeric Functions. (line 14) +* cos() function: Numeric Functions. (line 15) * counting: Wc Program. (line 6) * csh utility: Statements/Lines. (line 44) * csh utility, POSIXLY_CORRECT environment variable: Options. (line 323) @@ -25919,7 +25925,7 @@ Index * exclamation point (!), !~ operator: Regexp Usage. (line 19) * exit statement: Exit Statement. (line 6) * exit status, of gawk: Exit Status. (line 6) -* exp() function: Numeric Functions. (line 17) +* exp() function: Numeric Functions. (line 18) * expand utility: Very Simple. (line 69) * expressions: Expressions. (line 6) * expressions, as patterns: Expression Patterns. (line 6) @@ -26247,7 +26253,7 @@ Index (line 26) * gawk, regular expressions, operators: GNU Regexp Operators. (line 6) -* gawk, regular expressions, precedence: Regexp Operators. (line 157) +* gawk, regular expressions, precedence: Regexp Operators. (line 161) * gawk, RT variable in <1>: Auto-set. (line 196) * gawk, RT variable in <2>: Getline/Variable/File. (line 10) @@ -26423,7 +26429,7 @@ Index * installation, VMS: VMS Installation. (line 6) * installing gawk: Installation. (line 6) * INT signal (MS-Windows): Profiling. (line 206) -* int() function: Numeric Functions. (line 22) +* int() function: Numeric Functions. (line 23) * integers: Basic Data Typing. (line 21) * integers, unsigned: Basic Data Typing. (line 30) * interacting with other programs: I/O Functions. (line 63) @@ -26592,7 +26598,7 @@ Index * localization, See internationalization, localization: I18N and L10N. (line 6) * log files, timestamps in: Time Functions. (line 6) -* log() function: Numeric Functions. (line 29) +* log() function: Numeric Functions. (line 30) * logical false/true: Truth Values. (line 6) * logical operators, See Boolean expressions: Boolean Ops. (line 6) * login information: Passwd Functions. (line 16) @@ -26724,7 +26730,7 @@ Index * numbers, hexadecimal: Nondecimal-numbers. (line 6) * numbers, NODE internal type: Internals. (line 23) * numbers, octal: Nondecimal-numbers. (line 6) -* numbers, random: Numeric Functions. (line 63) +* numbers, random: Numeric Functions. (line 64) * numbers, rounding: Round Function. (line 6) * numeric, constants: Scalar Constants. (line 6) * numeric, output format: OFMT. (line 6) @@ -26926,7 +26932,7 @@ Index * POSIX awk, OFMT variable and: OFMT. (line 27) * POSIX awk, period (.), using: Regexp Operators. (line 50) * POSIX awk, printf format strings and: Format Modifiers. (line 159) -* POSIX awk, regular expressions and: Regexp Operators. (line 157) +* 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 52) * POSIX mode: Options. (line 222) @@ -26936,7 +26942,7 @@ Index * POSIXLY_CORRECT environment variable: Options. (line 307) * precedence <1>: Precedence. (line 6) * precedence: Increment Ops. (line 61) -* precedence, regexp operators: Regexp Operators. (line 152) +* precedence, regexp operators: Regexp Operators. (line 156) * print debugger command: Viewing And Changing Data. (line 36) * print statement: Printing. (line 16) @@ -27027,12 +27033,12 @@ Index * r debugger command (alias for run): Debugger Execution Control. (line 62) * Rakitzis, Byron: History Sorting. (line 25) -* rand() function: Numeric Functions. (line 33) +* rand() function: Numeric Functions. (line 34) * random numbers, Cliff: Cliff Random Function. (line 6) * random numbers, rand()/srand() functions: Numeric Functions. - (line 33) -* random numbers, seed of: Numeric Functions. (line 63) + (line 34) +* random numbers, seed of: Numeric Functions. (line 64) * range expressions (regexps): Bracket Expressions. (line 6) * range patterns: Ranges. (line 6) * Rankin, Pat <1>: Bugs. (line 72) @@ -27102,7 +27108,7 @@ Index * regular expressions, operators, gawk: GNU Regexp Operators. (line 6) * regular expressions, operators, precedence of: Regexp Operators. - (line 152) + (line 156) * regular expressions, searching for: Egrep Program. (line 6) * relational operators, See comparison operators: Typing and Comparison. (line 9) @@ -27235,7 +27241,7 @@ Index * SIGUSR1 signal: Profiling. (line 180) * silent debugger command: Debugger Execution Control. (line 10) -* sin() function: Numeric Functions. (line 74) +* sin() function: Numeric Functions. (line 75) * single precision floating-point: Basic Data Typing. (line 36) * single quote (') <1>: Quoting. (line 31) * single quote (') <2>: Long. (line 33) @@ -27278,9 +27284,9 @@ Index * sprintf() function, OFMT variable and: User-modified. (line 124) * sprintf() function, print/printf statements and: Round Function. (line 6) -* sqrt() function: Numeric Functions. (line 77) +* sqrt() function: Numeric Functions. (line 78) * square brackets ([]): Regexp Operators. (line 55) -* srand() function: Numeric Functions. (line 81) +* srand() function: Numeric Functions. (line 82) * Stallman, Richard <1>: Glossary. (line 301) * Stallman, Richard <2>: Contributors. (line 24) * Stallman, Richard <3>: Acknowledgments. (line 18) @@ -27600,420 +27606,420 @@ Index Tag Table: -Node: Top1346 -Node: Foreword30411 -Node: Preface34756 -Ref: Preface-Footnote-137809 -Ref: Preface-Footnote-237915 -Node: History38147 -Node: Names40538 -Ref: Names-Footnote-142015 -Node: This Manual42087 -Ref: This Manual-Footnote-147025 -Node: Conventions47125 -Node: Manual History49259 -Ref: Manual History-Footnote-152529 -Ref: Manual History-Footnote-252570 -Node: How To Contribute52644 -Node: Acknowledgments53788 -Node: Getting Started58119 -Node: Running gawk60498 -Node: One-shot61684 -Node: Read Terminal62909 -Ref: Read Terminal-Footnote-164559 -Ref: Read Terminal-Footnote-264835 -Node: Long65006 -Node: Executable Scripts66382 -Ref: Executable Scripts-Footnote-168251 -Ref: Executable Scripts-Footnote-268353 -Node: Comments68804 -Node: Quoting71271 -Node: DOS Quoting75894 -Node: Sample Data Files76569 -Node: Very Simple79601 -Node: Two Rules84200 -Node: More Complex86347 -Ref: More Complex-Footnote-189277 -Node: Statements/Lines89362 -Ref: Statements/Lines-Footnote-193824 -Node: Other Features94089 -Node: When95017 -Node: Invoking Gawk97164 -Node: Command Line98549 -Node: Options99332 -Ref: Options-Footnote-1113477 -Node: Other Arguments113502 -Node: Naming Standard Input116160 -Node: Environment Variables117254 -Node: AWKPATH Variable117698 -Ref: AWKPATH Variable-Footnote-1120295 -Node: Other Environment Variables120555 -Node: Exit Status123047 -Node: Include Files123722 -Node: Obsolete127207 -Node: Undocumented127893 -Node: Regexp128134 -Node: Regexp Usage129523 -Node: Escape Sequences131549 -Node: Regexp Operators137312 -Ref: Regexp Operators-Footnote-1144509 -Ref: Regexp Operators-Footnote-2144656 -Node: Bracket Expressions144754 -Ref: table-char-classes146644 -Node: GNU Regexp Operators149167 -Node: Case-sensitivity152890 -Ref: Case-sensitivity-Footnote-1155858 -Ref: Case-sensitivity-Footnote-2156093 -Node: Leftmost Longest156201 -Node: Computed Regexps157402 -Node: Reading Files160812 -Node: Records162816 -Ref: Records-Footnote-1171490 -Node: Fields171527 -Ref: Fields-Footnote-1174560 -Node: Nonconstant Fields174646 -Node: Changing Fields176848 -Node: Field Separators182829 -Node: Default Field Splitting185458 -Node: Regexp Field Splitting186575 -Node: Single Character Fields189917 -Node: Command Line Field Separator190976 -Node: Field Splitting Summary194417 -Ref: Field Splitting Summary-Footnote-1197609 -Node: Constant Size197710 -Node: Splitting By Content202294 -Ref: Splitting By Content-Footnote-1206020 -Node: Multiple Line206060 -Ref: Multiple Line-Footnote-1211907 -Node: Getline212086 -Node: Plain Getline214302 -Node: Getline/Variable216391 -Node: Getline/File217532 -Node: Getline/Variable/File218854 -Ref: Getline/Variable/File-Footnote-1220453 -Node: Getline/Pipe220540 -Node: Getline/Variable/Pipe223100 -Node: Getline/Coprocess224207 -Node: Getline/Variable/Coprocess225450 -Node: Getline Notes226164 -Node: Getline Summary228106 -Ref: table-getline-variants228449 -Node: Read Timeout229305 -Ref: Read Timeout-Footnote-1233050 -Node: Command line directories233107 -Node: Printing233737 -Node: Print235368 -Node: Print Examples236705 -Node: Output Separators239489 -Node: OFMT241249 -Node: Printf242607 -Node: Basic Printf243513 -Node: Control Letters245052 -Node: Format Modifiers248864 -Node: Printf Examples254873 -Node: Redirection257588 -Node: Special Files264572 -Node: Special FD265105 -Ref: Special FD-Footnote-1268730 -Node: Special Network268804 -Node: Special Caveats269654 -Node: Close Files And Pipes270450 -Ref: Close Files And Pipes-Footnote-1277473 -Ref: Close Files And Pipes-Footnote-2277621 -Node: Expressions277771 -Node: Values278903 -Node: Constants279579 -Node: Scalar Constants280259 -Ref: Scalar Constants-Footnote-1281118 -Node: Nondecimal-numbers281300 -Node: Regexp Constants284359 -Node: Using Constant Regexps284834 -Node: Variables287889 -Node: Using Variables288544 -Node: Assignment Options290268 -Node: Conversion292140 -Ref: table-locale-affects297516 -Ref: Conversion-Footnote-1298140 -Node: All Operators298249 -Node: Arithmetic Ops298879 -Node: Concatenation301384 -Ref: Concatenation-Footnote-1304177 -Node: Assignment Ops304297 -Ref: table-assign-ops309285 -Node: Increment Ops310693 -Node: Truth Values and Conditions314163 -Node: Truth Values315246 -Node: Typing and Comparison316295 -Node: Variable Typing317084 -Ref: Variable Typing-Footnote-1320981 -Node: Comparison Operators321103 -Ref: table-relational-ops321513 -Node: POSIX String Comparison325062 -Ref: POSIX String Comparison-Footnote-1326018 -Node: Boolean Ops326156 -Ref: Boolean Ops-Footnote-1330234 -Node: Conditional Exp330325 -Node: Function Calls332057 -Node: Precedence335651 -Node: Locales339320 -Node: Patterns and Actions340409 -Node: Pattern Overview341463 -Node: Regexp Patterns343132 -Node: Expression Patterns343675 -Node: Ranges347360 -Node: BEGIN/END350326 -Node: Using BEGIN/END351088 -Ref: Using BEGIN/END-Footnote-1353819 -Node: I/O And BEGIN/END353925 -Node: BEGINFILE/ENDFILE356207 -Node: Empty359100 -Node: Using Shell Variables359416 -Node: Action Overview361701 -Node: Statements364058 -Node: If Statement365912 -Node: While Statement367411 -Node: Do Statement369455 -Node: For Statement370611 -Node: Switch Statement373763 -Node: Break Statement375860 -Node: Continue Statement377850 -Node: Next Statement379643 -Node: Nextfile Statement382033 -Node: Exit Statement384578 -Node: Built-in Variables386994 -Node: User-modified388089 -Ref: User-modified-Footnote-1396115 -Node: Auto-set396177 -Ref: Auto-set-Footnote-1405468 -Node: ARGC and ARGV405673 -Node: Arrays409524 -Node: Array Basics411029 -Node: Array Intro411855 -Node: Reference to Elements416173 -Node: Assigning Elements418443 -Node: Array Example418934 -Node: Scanning an Array420666 -Node: Controlling Scanning422980 -Ref: Controlling Scanning-Footnote-1427913 -Node: Delete428229 -Ref: Delete-Footnote-1430664 -Node: Numeric Array Subscripts430721 -Node: Uninitialized Subscripts432904 -Node: Multi-dimensional434532 -Node: Multi-scanning437626 -Node: Arrays of Arrays439217 -Node: Functions443862 -Node: Built-in444684 -Node: Calling Built-in445762 -Node: Numeric Functions447750 -Ref: Numeric Functions-Footnote-1451515 -Ref: Numeric Functions-Footnote-2451872 -Ref: Numeric Functions-Footnote-3451920 -Node: String Functions452189 -Ref: String Functions-Footnote-1475686 -Ref: String Functions-Footnote-2475815 -Ref: String Functions-Footnote-3476063 -Node: Gory Details476150 -Ref: table-sub-escapes477829 -Ref: table-sub-posix-92479183 -Ref: table-sub-proposed480526 -Ref: table-posix-sub481876 -Ref: table-gensub-escapes483422 -Ref: Gory Details-Footnote-1484629 -Ref: Gory Details-Footnote-2484680 -Node: I/O Functions484831 -Ref: I/O Functions-Footnote-1491486 -Node: Time Functions491633 -Ref: Time Functions-Footnote-1502525 -Ref: Time Functions-Footnote-2502593 -Ref: Time Functions-Footnote-3502751 -Ref: Time Functions-Footnote-4502862 -Ref: Time Functions-Footnote-5502974 -Ref: Time Functions-Footnote-6503201 -Node: Bitwise Functions503467 -Ref: table-bitwise-ops504025 -Ref: Bitwise Functions-Footnote-1508185 -Node: Type Functions508369 -Node: I18N Functions508839 -Node: User-defined510466 -Node: Definition Syntax511270 -Ref: Definition Syntax-Footnote-1516180 -Node: Function Example516249 -Node: Function Caveats518843 -Node: Calling A Function519264 -Node: Variable Scope520379 -Node: Pass By Value/Reference522354 -Node: Return Statement525794 -Node: Dynamic Typing528775 -Node: Indirect Calls529510 -Node: Internationalization539195 -Node: I18N and L10N540621 -Node: Explaining gettext541307 -Ref: Explaining gettext-Footnote-1546373 -Ref: Explaining gettext-Footnote-2546557 -Node: Programmer i18n546722 -Node: Translator i18n550922 -Node: String Extraction551715 -Ref: String Extraction-Footnote-1552676 -Node: Printf Ordering552762 -Ref: Printf Ordering-Footnote-1555546 -Node: I18N Portability555610 -Ref: I18N Portability-Footnote-1558059 -Node: I18N Example558122 -Ref: I18N Example-Footnote-1560757 -Node: Gawk I18N560829 -Node: Advanced Features561446 -Node: Nondecimal Data562959 -Node: Array Sorting564542 -Node: Controlling Array Traversal565239 -Node: Array Sorting Functions573476 -Ref: Array Sorting Functions-Footnote-1577150 -Ref: Array Sorting Functions-Footnote-2577243 -Node: Two-way I/O577437 -Ref: Two-way I/O-Footnote-1582869 -Node: TCP/IP Networking582939 -Node: Profiling585783 -Node: Library Functions593237 -Ref: Library Functions-Footnote-1596244 -Node: Library Names596415 -Ref: Library Names-Footnote-1599886 -Ref: Library Names-Footnote-2600106 -Node: General Functions600192 -Node: Strtonum Function601145 -Node: Assert Function604075 -Node: Round Function607401 -Node: Cliff Random Function608944 -Node: Ordinal Functions609960 -Ref: Ordinal Functions-Footnote-1613030 -Ref: Ordinal Functions-Footnote-2613282 -Node: Join Function613491 -Ref: Join Function-Footnote-1615262 -Node: Gettimeofday Function615462 -Node: Data File Management619177 -Node: Filetrans Function619809 -Node: Rewind Function623948 -Node: File Checking625335 -Node: Empty Files626429 -Node: Ignoring Assigns628659 -Node: Getopt Function630212 -Ref: Getopt Function-Footnote-1641516 -Node: Passwd Functions641719 -Ref: Passwd Functions-Footnote-1650694 -Node: Group Functions650782 -Node: Walking Arrays658866 -Node: Sample Programs660435 -Node: Running Examples661100 -Node: Clones661828 -Node: Cut Program663052 -Node: Egrep Program672897 -Ref: Egrep Program-Footnote-1680670 -Node: Id Program680780 -Node: Split Program684396 -Ref: Split Program-Footnote-1687915 -Node: Tee Program688043 -Node: Uniq Program690846 -Node: Wc Program698275 -Ref: Wc Program-Footnote-1702541 -Ref: Wc Program-Footnote-2702741 -Node: Miscellaneous Programs702833 -Node: Dupword Program704021 -Node: Alarm Program706052 -Node: Translate Program710801 -Ref: Translate Program-Footnote-1715188 -Ref: Translate Program-Footnote-2715416 -Node: Labels Program715550 -Ref: Labels Program-Footnote-1718921 -Node: Word Sorting719005 -Node: History Sorting722889 -Node: Extract Program724728 -Ref: Extract Program-Footnote-1732211 -Node: Simple Sed732339 -Node: Igawk Program735401 -Ref: Igawk Program-Footnote-1750558 -Ref: Igawk Program-Footnote-2750759 -Node: Anagram Program750897 -Node: Signature Program753965 -Node: Debugger755065 -Node: Debugging756017 -Node: Debugging Concepts756450 -Node: Debugging Terms758306 -Node: Awk Debugging760903 -Node: Sample Debugging Session761795 -Node: Debugger Invocation762315 -Node: Finding The Bug763644 -Node: List of Debugger Commands770132 -Node: Breakpoint Control771466 -Node: Debugger Execution Control775130 -Node: Viewing And Changing Data778490 -Node: Execution Stack781846 -Node: Debugger Info783313 -Node: Miscellaneous Debugger Commands787294 -Node: Readline Support792739 -Node: Limitations793570 -Node: Language History795822 -Node: V7/SVR3.1797334 -Node: SVR4799655 -Node: POSIX801097 -Node: BTL802105 -Node: POSIX/GNU802839 -Node: Common Extensions807990 -Node: Ranges and Locales809097 -Ref: Ranges and Locales-Footnote-1813701 -Node: Contributors813922 -Node: Installation818183 -Node: Gawk Distribution819077 -Node: Getting819561 -Node: Extracting820387 -Node: Distribution contents822079 -Node: Unix Installation827301 -Node: Quick Installation827918 -Node: Additional Configuration Options829880 -Node: Configuration Philosophy831357 -Node: Non-Unix Installation833699 -Node: PC Installation834157 -Node: PC Binary Installation835456 -Node: PC Compiling837304 -Node: PC Testing840248 -Node: PC Using841424 -Node: Cygwin845609 -Node: MSYS846609 -Node: VMS Installation847123 -Node: VMS Compilation847726 -Ref: VMS Compilation-Footnote-1848733 -Node: VMS Installation Details848791 -Node: VMS Running850426 -Node: VMS Old Gawk852033 -Node: Bugs852507 -Node: Other Versions856359 -Node: Notes861674 -Node: Compatibility Mode862366 -Node: Additions863149 -Node: Accessing The Source863961 -Node: Adding Code865386 -Node: New Ports871353 -Node: Dynamic Extensions875466 -Node: Internals876906 -Node: Plugin License885425 -Node: Loading Extensions886063 -Node: Sample Library887873 -Node: Internal File Description888563 -Node: Internal File Ops892278 -Ref: Internal File Ops-Footnote-1897002 -Node: Using Internal File Ops897142 -Node: Future Extensions899519 -Node: Basic Concepts902023 -Node: Basic High Level902780 -Ref: Basic High Level-Footnote-1906815 -Node: Basic Data Typing907000 -Node: Floating Point Issues911525 -Node: String Conversion Precision912608 -Ref: String Conversion Precision-Footnote-1914308 -Node: Unexpected Results914417 -Node: POSIX Floating Point Problems916243 -Ref: POSIX Floating Point Problems-Footnote-1919948 -Node: Glossary919986 -Node: Copying944962 -Node: GNU Free Documentation License982519 -Node: Index1007656 +Node: Top1352 +Node: Foreword30423 +Node: Preface34768 +Ref: Preface-Footnote-137821 +Ref: Preface-Footnote-237927 +Node: History38159 +Node: Names40550 +Ref: Names-Footnote-142027 +Node: This Manual42099 +Ref: This Manual-Footnote-147037 +Node: Conventions47137 +Node: Manual History49271 +Ref: Manual History-Footnote-152541 +Ref: Manual History-Footnote-252582 +Node: How To Contribute52656 +Node: Acknowledgments53800 +Node: Getting Started58131 +Node: Running gawk60510 +Node: One-shot61696 +Node: Read Terminal62921 +Ref: Read Terminal-Footnote-164571 +Ref: Read Terminal-Footnote-264847 +Node: Long65018 +Node: Executable Scripts66394 +Ref: Executable Scripts-Footnote-168263 +Ref: Executable Scripts-Footnote-268365 +Node: Comments68912 +Node: Quoting71379 +Node: DOS Quoting76002 +Node: Sample Data Files76677 +Node: Very Simple79709 +Node: Two Rules84308 +Node: More Complex86455 +Ref: More Complex-Footnote-189385 +Node: Statements/Lines89470 +Ref: Statements/Lines-Footnote-193932 +Node: Other Features94197 +Node: When95125 +Node: Invoking Gawk97272 +Node: Command Line98657 +Node: Options99440 +Ref: Options-Footnote-1113585 +Node: Other Arguments113610 +Node: Naming Standard Input116268 +Node: Environment Variables117362 +Node: AWKPATH Variable117806 +Ref: AWKPATH Variable-Footnote-1120403 +Node: Other Environment Variables120663 +Node: Exit Status123155 +Node: Include Files123830 +Node: Obsolete127315 +Node: Undocumented128001 +Node: Regexp128242 +Node: Regexp Usage129631 +Node: Escape Sequences131657 +Node: Regexp Operators137420 +Ref: Regexp Operators-Footnote-1144800 +Ref: Regexp Operators-Footnote-2144947 +Node: Bracket Expressions145045 +Ref: table-char-classes146935 +Node: GNU Regexp Operators149458 +Node: Case-sensitivity153181 +Ref: Case-sensitivity-Footnote-1156149 +Ref: Case-sensitivity-Footnote-2156384 +Node: Leftmost Longest156492 +Node: Computed Regexps157693 +Node: Reading Files161103 +Node: Records163107 +Ref: Records-Footnote-1171781 +Node: Fields171818 +Ref: Fields-Footnote-1174851 +Node: Nonconstant Fields174937 +Node: Changing Fields177139 +Node: Field Separators183120 +Node: Default Field Splitting185749 +Node: Regexp Field Splitting186866 +Node: Single Character Fields190208 +Node: Command Line Field Separator191267 +Node: Field Splitting Summary194708 +Ref: Field Splitting Summary-Footnote-1197900 +Node: Constant Size198001 +Node: Splitting By Content202585 +Ref: Splitting By Content-Footnote-1206311 +Node: Multiple Line206351 +Ref: Multiple Line-Footnote-1212198 +Node: Getline212377 +Node: Plain Getline214593 +Node: Getline/Variable216682 +Node: Getline/File217823 +Node: Getline/Variable/File219145 +Ref: Getline/Variable/File-Footnote-1220744 +Node: Getline/Pipe220831 +Node: Getline/Variable/Pipe223391 +Node: Getline/Coprocess224498 +Node: Getline/Variable/Coprocess225741 +Node: Getline Notes226455 +Node: Getline Summary228397 +Ref: table-getline-variants228740 +Node: Read Timeout229596 +Ref: Read Timeout-Footnote-1233341 +Node: Command line directories233398 +Node: Printing234028 +Node: Print235659 +Node: Print Examples236996 +Node: Output Separators239780 +Node: OFMT241540 +Node: Printf242898 +Node: Basic Printf243804 +Node: Control Letters245343 +Node: Format Modifiers249155 +Node: Printf Examples255164 +Node: Redirection257879 +Node: Special Files264863 +Node: Special FD265396 +Ref: Special FD-Footnote-1269021 +Node: Special Network269095 +Node: Special Caveats269945 +Node: Close Files And Pipes270741 +Ref: Close Files And Pipes-Footnote-1277764 +Ref: Close Files And Pipes-Footnote-2277912 +Node: Expressions278062 +Node: Values279194 +Node: Constants279870 +Node: Scalar Constants280550 +Ref: Scalar Constants-Footnote-1281409 +Node: Nondecimal-numbers281591 +Node: Regexp Constants284650 +Node: Using Constant Regexps285125 +Node: Variables288180 +Node: Using Variables288835 +Node: Assignment Options290559 +Node: Conversion292431 +Ref: table-locale-affects297807 +Ref: Conversion-Footnote-1298431 +Node: All Operators298540 +Node: Arithmetic Ops299170 +Node: Concatenation301675 +Ref: Concatenation-Footnote-1304468 +Node: Assignment Ops304588 +Ref: table-assign-ops309576 +Node: Increment Ops310984 +Node: Truth Values and Conditions314454 +Node: Truth Values315537 +Node: Typing and Comparison316586 +Node: Variable Typing317375 +Ref: Variable Typing-Footnote-1321272 +Node: Comparison Operators321394 +Ref: table-relational-ops321804 +Node: POSIX String Comparison325353 +Ref: POSIX String Comparison-Footnote-1326309 +Node: Boolean Ops326447 +Ref: Boolean Ops-Footnote-1330525 +Node: Conditional Exp330616 +Node: Function Calls332348 +Node: Precedence335942 +Node: Locales339611 +Node: Patterns and Actions340700 +Node: Pattern Overview341754 +Node: Regexp Patterns343423 +Node: Expression Patterns343966 +Node: Ranges347651 +Node: BEGIN/END350617 +Node: Using BEGIN/END351379 +Ref: Using BEGIN/END-Footnote-1354110 +Node: I/O And BEGIN/END354216 +Node: BEGINFILE/ENDFILE356498 +Node: Empty359391 +Node: Using Shell Variables359707 +Node: Action Overview361992 +Node: Statements364349 +Node: If Statement366203 +Node: While Statement367702 +Node: Do Statement369746 +Node: For Statement370902 +Node: Switch Statement374054 +Node: Break Statement376151 +Node: Continue Statement378141 +Node: Next Statement379934 +Node: Nextfile Statement382324 +Node: Exit Statement384869 +Node: Built-in Variables387285 +Node: User-modified388380 +Ref: User-modified-Footnote-1396406 +Node: Auto-set396468 +Ref: Auto-set-Footnote-1405759 +Node: ARGC and ARGV405964 +Node: Arrays409815 +Node: Array Basics411320 +Node: Array Intro412146 +Node: Reference to Elements416464 +Node: Assigning Elements418734 +Node: Array Example419225 +Node: Scanning an Array420957 +Node: Controlling Scanning423271 +Ref: Controlling Scanning-Footnote-1428204 +Node: Delete428520 +Ref: Delete-Footnote-1430955 +Node: Numeric Array Subscripts431012 +Node: Uninitialized Subscripts433195 +Node: Multi-dimensional434823 +Node: Multi-scanning437917 +Node: Arrays of Arrays439508 +Node: Functions444153 +Node: Built-in444975 +Node: Calling Built-in446053 +Node: Numeric Functions448041 +Ref: Numeric Functions-Footnote-1451873 +Ref: Numeric Functions-Footnote-2452230 +Ref: Numeric Functions-Footnote-3452278 +Node: String Functions452547 +Ref: String Functions-Footnote-1476044 +Ref: String Functions-Footnote-2476173 +Ref: String Functions-Footnote-3476421 +Node: Gory Details476508 +Ref: table-sub-escapes478187 +Ref: table-sub-posix-92479541 +Ref: table-sub-proposed480884 +Ref: table-posix-sub482234 +Ref: table-gensub-escapes483780 +Ref: Gory Details-Footnote-1484987 +Ref: Gory Details-Footnote-2485038 +Node: I/O Functions485189 +Ref: I/O Functions-Footnote-1491844 +Node: Time Functions491991 +Ref: Time Functions-Footnote-1502883 +Ref: Time Functions-Footnote-2502951 +Ref: Time Functions-Footnote-3503109 +Ref: Time Functions-Footnote-4503220 +Ref: Time Functions-Footnote-5503332 +Ref: Time Functions-Footnote-6503559 +Node: Bitwise Functions503825 +Ref: table-bitwise-ops504383 +Ref: Bitwise Functions-Footnote-1508543 +Node: Type Functions508727 +Node: I18N Functions509197 +Node: User-defined510824 +Node: Definition Syntax511628 +Ref: Definition Syntax-Footnote-1516538 +Node: Function Example516607 +Node: Function Caveats519201 +Node: Calling A Function519622 +Node: Variable Scope520737 +Node: Pass By Value/Reference522712 +Node: Return Statement526152 +Node: Dynamic Typing529133 +Node: Indirect Calls529868 +Node: Internationalization539553 +Node: I18N and L10N540979 +Node: Explaining gettext541665 +Ref: Explaining gettext-Footnote-1546731 +Ref: Explaining gettext-Footnote-2546915 +Node: Programmer i18n547080 +Node: Translator i18n551280 +Node: String Extraction552073 +Ref: String Extraction-Footnote-1553034 +Node: Printf Ordering553120 +Ref: Printf Ordering-Footnote-1555904 +Node: I18N Portability555968 +Ref: I18N Portability-Footnote-1558417 +Node: I18N Example558480 +Ref: I18N Example-Footnote-1561115 +Node: Gawk I18N561187 +Node: Advanced Features561804 +Node: Nondecimal Data563317 +Node: Array Sorting564900 +Node: Controlling Array Traversal565597 +Node: Array Sorting Functions573834 +Ref: Array Sorting Functions-Footnote-1577508 +Ref: Array Sorting Functions-Footnote-2577601 +Node: Two-way I/O577795 +Ref: Two-way I/O-Footnote-1583227 +Node: TCP/IP Networking583297 +Node: Profiling586141 +Node: Library Functions593595 +Ref: Library Functions-Footnote-1596602 +Node: Library Names596773 +Ref: Library Names-Footnote-1600244 +Ref: Library Names-Footnote-2600464 +Node: General Functions600550 +Node: Strtonum Function601503 +Node: Assert Function604433 +Node: Round Function607759 +Node: Cliff Random Function609302 +Node: Ordinal Functions610318 +Ref: Ordinal Functions-Footnote-1613388 +Ref: Ordinal Functions-Footnote-2613640 +Node: Join Function613849 +Ref: Join Function-Footnote-1615620 +Node: Gettimeofday Function615820 +Node: Data File Management619535 +Node: Filetrans Function620167 +Node: Rewind Function624306 +Node: File Checking625693 +Node: Empty Files626787 +Node: Ignoring Assigns629017 +Node: Getopt Function630570 +Ref: Getopt Function-Footnote-1641874 +Node: Passwd Functions642077 +Ref: Passwd Functions-Footnote-1651052 +Node: Group Functions651140 +Node: Walking Arrays659224 +Node: Sample Programs660793 +Node: Running Examples661458 +Node: Clones662186 +Node: Cut Program663410 +Node: Egrep Program673255 +Ref: Egrep Program-Footnote-1681028 +Node: Id Program681138 +Node: Split Program684754 +Ref: Split Program-Footnote-1688273 +Node: Tee Program688401 +Node: Uniq Program691204 +Node: Wc Program698633 +Ref: Wc Program-Footnote-1702899 +Ref: Wc Program-Footnote-2703099 +Node: Miscellaneous Programs703191 +Node: Dupword Program704379 +Node: Alarm Program706410 +Node: Translate Program711159 +Ref: Translate Program-Footnote-1715546 +Ref: Translate Program-Footnote-2715774 +Node: Labels Program715908 +Ref: Labels Program-Footnote-1719279 +Node: Word Sorting719363 +Node: History Sorting723247 +Node: Extract Program725086 +Ref: Extract Program-Footnote-1732569 +Node: Simple Sed732697 +Node: Igawk Program735759 +Ref: Igawk Program-Footnote-1750916 +Ref: Igawk Program-Footnote-2751117 +Node: Anagram Program751255 +Node: Signature Program754323 +Node: Debugger755423 +Node: Debugging756375 +Node: Debugging Concepts756808 +Node: Debugging Terms758664 +Node: Awk Debugging761261 +Node: Sample Debugging Session762153 +Node: Debugger Invocation762673 +Node: Finding The Bug764002 +Node: List of Debugger Commands770490 +Node: Breakpoint Control771824 +Node: Debugger Execution Control775488 +Node: Viewing And Changing Data778848 +Node: Execution Stack782204 +Node: Debugger Info783671 +Node: Miscellaneous Debugger Commands787652 +Node: Readline Support793097 +Node: Limitations793928 +Node: Language History796180 +Node: V7/SVR3.1797692 +Node: SVR4800013 +Node: POSIX801455 +Node: BTL802463 +Node: POSIX/GNU803197 +Node: Common Extensions808348 +Node: Ranges and Locales809455 +Ref: Ranges and Locales-Footnote-1814059 +Node: Contributors814280 +Node: Installation818541 +Node: Gawk Distribution819435 +Node: Getting819919 +Node: Extracting820745 +Node: Distribution contents822437 +Node: Unix Installation827659 +Node: Quick Installation828276 +Node: Additional Configuration Options830238 +Node: Configuration Philosophy831715 +Node: Non-Unix Installation834057 +Node: PC Installation834515 +Node: PC Binary Installation835814 +Node: PC Compiling837662 +Node: PC Testing840606 +Node: PC Using841782 +Node: Cygwin845967 +Node: MSYS846967 +Node: VMS Installation847481 +Node: VMS Compilation848084 +Ref: VMS Compilation-Footnote-1849091 +Node: VMS Installation Details849149 +Node: VMS Running850784 +Node: VMS Old Gawk852391 +Node: Bugs852865 +Node: Other Versions856717 +Node: Notes862032 +Node: Compatibility Mode862724 +Node: Additions863507 +Node: Accessing The Source864319 +Node: Adding Code865744 +Node: New Ports871711 +Node: Dynamic Extensions875824 +Node: Internals877264 +Node: Plugin License885783 +Node: Loading Extensions886421 +Node: Sample Library888231 +Node: Internal File Description888921 +Node: Internal File Ops892636 +Ref: Internal File Ops-Footnote-1897360 +Node: Using Internal File Ops897500 +Node: Future Extensions899877 +Node: Basic Concepts902381 +Node: Basic High Level903138 +Ref: Basic High Level-Footnote-1907173 +Node: Basic Data Typing907358 +Node: Floating Point Issues911883 +Node: String Conversion Precision912966 +Ref: String Conversion Precision-Footnote-1914666 +Node: Unexpected Results914775 +Node: POSIX Floating Point Problems916601 +Ref: POSIX Floating Point Problems-Footnote-1920306 +Node: Glossary920344 +Node: Copying945320 +Node: GNU Free Documentation License982877 +Node: Index1008014 End Tag Table |