diff options
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/gawk.info | 765 | ||||
-rw-r--r-- | doc/gawk.texi | 6 | ||||
-rw-r--r-- | doc/gawktexi.in | 4 | ||||
-rw-r--r-- | doc/it/ChangeLog | 4 | ||||
-rwxr-xr-x | doc/it/gawk.1 | 13 | ||||
-rw-r--r-- | extension/ChangeLog | 5 | ||||
-rw-r--r-- | extension/filefuncs.3am | 12 | ||||
-rw-r--r-- | extension/filefuncs.c | 18 | ||||
-rw-r--r-- | extension/fnmatch.3am | 2 | ||||
-rw-r--r-- | extension/revoutput.3am | 2 | ||||
-rw-r--r-- | extension/revtwoway.3am | 2 |
12 files changed, 426 insertions, 412 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index f719ac63..a6bd6fef 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-17 Arnold D. Robbins <arnold@skeeve.com> + + * gawktexi.in: Further fix to NONFATAL stuff. Thanks to + Antonio Giovanni Colombo for the report. + 2018-02-16 Arnold D. Robbins <arnold@skeeve.com> * gawktexi.in: Fix NONFATAL stuff to cover input redirections too. diff --git a/doc/gawk.info b/doc/gawk.info index 8d4643ee..738de093 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -10997,12 +10997,11 @@ they are not special: The following elements allow you to change 'gawk''s behavior: 'PROCINFO["NONFATAL"]' - If this element exists, then I/O errors for all output - redirections become nonfatal. *Note Nonfatal::. + If this element exists, then I/O errors for all redirections + become nonfatal. *Note Nonfatal::. - 'PROCINFO["OUTPUT_NAME", "NONFATAL"]' - Make output errors for OUTPUT_NAME be nonfatal. *Note - Nonfatal::. + 'PROCINFO["NAME", "NONFATAL"]' + Make I/O errors for NAME be nonfatal. *Note Nonfatal::. 'PROCINFO["COMMAND", "pty"]' For two-way communication to COMMAND, use a pseudo-tty instead @@ -33759,7 +33758,7 @@ Index * dark corner, field separators: Full Line Fields. (line 22) * dark corner, FILENAME variable: Getline Notes. (line 19) * dark corner, FILENAME variable <1>: Auto-set. (line 108) -* dark corner, FNR/NR variables: Auto-set. (line 390) +* dark corner, FNR/NR variables: Auto-set. (line 389) * dark corner, format-control characters: Control Letters. (line 18) * dark corner, format-control characters <1>: Control Letters. (line 93) @@ -33994,7 +33993,7 @@ Index (line 6) * differences in awk and gawk, RS/RT variables: gawk split records. (line 58) -* differences in awk and gawk, RT variable: Auto-set. (line 328) +* differences in awk and gawk, RT variable: Auto-set. (line 327) * differences in awk and gawk, single-character fields: Single Character Fields. (line 6) * differences in awk and gawk, split() function: String Functions. @@ -34002,7 +34001,7 @@ Index * differences in awk and gawk, strings: Scalar Constants. (line 20) * differences in awk and gawk, strings, storing: gawk split records. (line 76) -* differences in awk and gawk, SYMTAB variable: Auto-set. (line 332) +* differences in awk and gawk, SYMTAB variable: Auto-set. (line 331) * differences in awk and gawk, TEXTDOMAIN variable: User-modified. (line 155) * differences in awk and gawk, trunc-mod operation: Arithmetic Ops. @@ -34325,7 +34324,7 @@ Index (line 12) * FNR variable: Records. (line 6) * FNR variable <1>: Auto-set. (line 118) -* FNR variable, changing: Auto-set. (line 390) +* FNR variable, changing: Auto-set. (line 389) * for statement: For Statement. (line 6) * for statement, looping over arrays: Scanning an Array. (line 20) * fork() extension function: Extension Sample Fork. @@ -34505,13 +34504,13 @@ Index * gawk, regular expressions, precedence: Regexp Operators. (line 161) * gawk, RT variable in: awk split records. (line 124) * gawk, RT variable in <1>: Multiple Line. (line 130) -* gawk, RT variable in <2>: Auto-set. (line 328) +* gawk, RT variable in <2>: Auto-set. (line 327) * gawk, See Also awk: Preface. (line 34) * gawk, source code, obtaining: Getting. (line 6) * gawk, splitting fields and: Testing field creation. (line 6) * gawk, string-translation functions: I18N Functions. (line 6) -* gawk, SYMTAB array in: Auto-set. (line 332) +* gawk, SYMTAB array in: Auto-set. (line 331) * gawk, TEXTDOMAIN variable in: User-modified. (line 155) * gawk, timestamps: Time Functions. (line 6) * gawk, uses for: Preface. (line 34) @@ -34981,7 +34980,7 @@ Index * not Boolean-logic operator: Boolean Ops. (line 6) * NR variable: Records. (line 6) * NR variable <1>: Auto-set. (line 143) -* NR variable, changing: Auto-set. (line 390) +* NR variable, changing: Auto-set. (line 389) * null strings: awk split records. (line 114) * null strings <1>: Regexp Field Splitting. (line 43) @@ -35448,7 +35447,7 @@ Index * right shift: Bitwise Functions. (line 54) * right shift, bitwise: Bitwise Functions. (line 32) * Ritchie, Dennis: Basic Data Typing. (line 54) -* RLENGTH variable: Auto-set. (line 315) +* RLENGTH variable: Auto-set. (line 314) * RLENGTH variable, match() function and: String Functions. (line 227) * Robbins, Arnold: Command Line Field Separator. (line 71) @@ -35476,11 +35475,11 @@ Index * RS variable <1>: User-modified. (line 136) * RS variable, multiline records and: Multiple Line. (line 17) * rshift: Bitwise Functions. (line 54) -* RSTART variable: Auto-set. (line 321) +* RSTART variable: Auto-set. (line 320) * RSTART variable, match() function and: String Functions. (line 227) * RT variable: awk split records. (line 124) * RT variable <1>: Multiple Line. (line 130) -* RT variable <2>: Auto-set. (line 328) +* RT variable <2>: Auto-set. (line 327) * Rubin, Paul: History. (line 30) * Rubin, Paul <1>: Contributors. (line 16) * rule, definition of: Getting Started. (line 21) @@ -35498,7 +35497,7 @@ Index * scanning arrays: Scanning an Array. (line 6) * scanning multidimensional arrays: Multiscanning. (line 11) * Schorr, Andrew: Acknowledgments. (line 60) -* Schorr, Andrew <1>: Auto-set. (line 360) +* Schorr, Andrew <1>: Auto-set. (line 359) * Schorr, Andrew <2>: Contributors. (line 136) * Schreiber, Bert: Acknowledgments. (line 38) * Schreiber, Rita: Acknowledgments. (line 38) @@ -35584,7 +35583,7 @@ Index * sidebar, Beware The Smoke and Mirrors!: Bitwise Functions. (line 127) * sidebar, Changing FS Does Not Affect the Fields: Full Line Fields. (line 14) -* sidebar, Changing NR and FNR: Auto-set. (line 388) +* sidebar, Changing NR and FNR: Auto-set. (line 387) * sidebar, Controlling Output Buffering with system(): I/O Functions. (line 163) * sidebar, Escape Sequences for Metacharacters: Escape Sequences. @@ -35752,7 +35751,7 @@ Index * Sumner, Andrew: Other Versions. (line 73) * supplementary groups of gawk process: Auto-set. (line 271) * switch statement: Switch Statement. (line 6) -* SYMTAB array: Auto-set. (line 332) +* SYMTAB array: Auto-set. (line 331) * syntactic ambiguity: /= operator vs. /=.../ regexp constant: Assignment Ops. (line 149) * system: I/O Functions. (line 106) @@ -36216,370 +36215,370 @@ Node: Exit Statement450344 Node: Built-in Variables452747 Node: User-modified453880 Node: Auto-set461647 -Ref: Auto-set-Footnote-1477980 -Ref: Auto-set-Footnote-2478186 -Node: ARGC and ARGV478242 -Node: Pattern Action Summary482455 -Node: Arrays484885 -Node: Array Basics486214 -Node: Array Intro487058 -Ref: figure-array-elements489033 -Ref: Array Intro-Footnote-1491737 -Node: Reference to Elements491865 -Node: Assigning Elements494329 -Node: Array Example494820 -Node: Scanning an Array496579 -Node: Controlling Scanning499601 -Ref: Controlling Scanning-Footnote-1505000 -Node: Numeric Array Subscripts505316 -Node: Uninitialized Subscripts507500 -Node: Delete509119 -Ref: Delete-Footnote-1511871 -Node: Multidimensional511928 -Node: Multiscanning515023 -Node: Arrays of Arrays516614 -Node: Arrays Summary521381 -Node: Functions523474 -Node: Built-in524512 -Node: Calling Built-in525593 -Node: Numeric Functions527589 -Ref: Numeric Functions-Footnote-1531617 -Ref: Numeric Functions-Footnote-2531974 -Ref: Numeric Functions-Footnote-3532022 -Node: String Functions532294 -Ref: String Functions-Footnote-1555952 -Ref: String Functions-Footnote-2556080 -Ref: String Functions-Footnote-3556328 -Node: Gory Details556415 -Ref: table-sub-escapes558206 -Ref: table-sub-proposed559725 -Ref: table-posix-sub561088 -Ref: table-gensub-escapes562629 -Ref: Gory Details-Footnote-1563452 -Node: I/O Functions563606 -Ref: table-system-return-values570074 -Ref: I/O Functions-Footnote-1572054 -Ref: I/O Functions-Footnote-2572202 -Node: Time Functions572322 -Ref: Time Functions-Footnote-1582993 -Ref: Time Functions-Footnote-2583061 -Ref: Time Functions-Footnote-3583219 -Ref: Time Functions-Footnote-4583330 -Ref: Time Functions-Footnote-5583442 -Ref: Time Functions-Footnote-6583669 -Node: Bitwise Functions583935 -Ref: table-bitwise-ops584529 -Ref: Bitwise Functions-Footnote-1590574 -Ref: Bitwise Functions-Footnote-2590747 -Node: Type Functions590938 -Node: I18N Functions593689 -Node: User-defined595340 -Node: Definition Syntax596145 -Ref: Definition Syntax-Footnote-1601832 -Node: Function Example601903 -Ref: Function Example-Footnote-1604825 -Node: Function Caveats604847 -Node: Calling A Function605365 -Node: Variable Scope606323 -Node: Pass By Value/Reference609317 -Node: Return Statement612816 -Node: Dynamic Typing615795 -Node: Indirect Calls616725 -Ref: Indirect Calls-Footnote-1626977 -Node: Functions Summary627105 -Node: Library Functions629810 -Ref: Library Functions-Footnote-1633417 -Ref: Library Functions-Footnote-2633560 -Node: Library Names633731 -Ref: Library Names-Footnote-1637191 -Ref: Library Names-Footnote-2637414 -Node: General Functions637500 -Node: Strtonum Function638603 -Node: Assert Function641625 -Node: Round Function644951 -Node: Cliff Random Function646491 -Node: Ordinal Functions647507 -Ref: Ordinal Functions-Footnote-1650570 -Ref: Ordinal Functions-Footnote-2650822 -Node: Join Function651032 -Ref: Join Function-Footnote-1652802 -Node: Getlocaltime Function653002 -Node: Readfile Function656744 -Node: Shell Quoting658721 -Node: Data File Management660122 -Node: Filetrans Function660754 -Node: Rewind Function664850 -Node: File Checking666760 -Ref: File Checking-Footnote-1668094 -Node: Empty Files668295 -Node: Ignoring Assigns670274 -Node: Getopt Function671824 -Ref: Getopt Function-Footnote-1683293 -Node: Passwd Functions683493 -Ref: Passwd Functions-Footnote-1692332 -Node: Group Functions692420 -Ref: Group Functions-Footnote-1700318 -Node: Walking Arrays700525 -Node: Library Functions Summary703533 -Node: Library Exercises704939 -Node: Sample Programs705404 -Node: Running Examples706174 -Node: Clones706902 -Node: Cut Program708126 -Node: Egrep Program718055 -Ref: Egrep Program-Footnote-1725567 -Node: Id Program725677 -Node: Split Program729357 -Ref: Split Program-Footnote-1732815 -Node: Tee Program732944 -Node: Uniq Program735734 -Node: Wc Program743160 -Ref: Wc Program-Footnote-1747415 -Node: Miscellaneous Programs747509 -Node: Dupword Program748722 -Node: Alarm Program750752 -Node: Translate Program755607 -Ref: Translate Program-Footnote-1760172 -Node: Labels Program760442 -Ref: Labels Program-Footnote-1763793 -Node: Word Sorting763877 -Node: History Sorting767949 -Node: Extract Program769784 -Node: Simple Sed777314 -Node: Igawk Program780388 -Ref: Igawk Program-Footnote-1794719 -Ref: Igawk Program-Footnote-2794921 -Ref: Igawk Program-Footnote-3795043 -Node: Anagram Program795158 -Node: Signature Program798220 -Node: Programs Summary799467 -Node: Programs Exercises800681 -Ref: Programs Exercises-Footnote-1804810 -Node: Advanced Features804901 -Node: Nondecimal Data806891 -Node: Array Sorting808482 -Node: Controlling Array Traversal809182 -Ref: Controlling Array Traversal-Footnote-1817550 -Node: Array Sorting Functions817668 -Ref: Array Sorting Functions-Footnote-1822759 -Node: Two-way I/O822955 -Ref: Two-way I/O-Footnote-1829507 -Ref: Two-way I/O-Footnote-2829694 -Node: TCP/IP Networking829776 -Node: Profiling832894 -Ref: Profiling-Footnote-1841566 -Node: Advanced Features Summary841889 -Node: Internationalization843733 -Node: I18N and L10N845213 -Node: Explaining gettext845900 -Ref: Explaining gettext-Footnote-1851792 -Ref: Explaining gettext-Footnote-2851977 -Node: Programmer i18n852142 -Ref: Programmer i18n-Footnote-1857091 -Node: Translator i18n857140 -Node: String Extraction857934 -Ref: String Extraction-Footnote-1859066 -Node: Printf Ordering859152 -Ref: Printf Ordering-Footnote-1861938 -Node: I18N Portability862002 -Ref: I18N Portability-Footnote-1864458 -Node: I18N Example864521 -Ref: I18N Example-Footnote-1867327 -Node: Gawk I18N867400 -Node: I18N Summary868045 -Node: Debugger869386 -Node: Debugging870409 -Node: Debugging Concepts870850 -Node: Debugging Terms872659 -Node: Awk Debugging875234 -Node: Sample Debugging Session876140 -Node: Debugger Invocation876674 -Node: Finding The Bug878060 -Node: List of Debugger Commands884538 -Node: Breakpoint Control885871 -Node: Debugger Execution Control889565 -Node: Viewing And Changing Data892927 -Node: Execution Stack896301 -Node: Debugger Info897938 -Node: Miscellaneous Debugger Commands902009 -Node: Readline Support907071 -Node: Limitations907967 -Node: Debugging Summary910076 -Node: Arbitrary Precision Arithmetic911355 -Node: Computer Arithmetic912840 -Ref: table-numeric-ranges916606 -Ref: table-floating-point-ranges917099 -Ref: Computer Arithmetic-Footnote-1917757 -Node: Math Definitions917814 -Ref: table-ieee-formats921130 -Ref: Math Definitions-Footnote-1921733 -Node: MPFR features921838 -Node: FP Math Caution923556 -Ref: FP Math Caution-Footnote-1924628 -Node: Inexactness of computations924997 -Node: Inexact representation925957 -Node: Comparing FP Values927317 -Node: Errors accumulate928399 -Node: Getting Accuracy929832 -Node: Try To Round932542 -Node: Setting precision933441 -Ref: table-predefined-precision-strings934138 -Node: Setting the rounding mode935968 -Ref: table-gawk-rounding-modes936342 -Ref: Setting the rounding mode-Footnote-1940273 -Node: Arbitrary Precision Integers940452 -Ref: Arbitrary Precision Integers-Footnote-1943627 -Node: Checking for MPFR943776 -Node: POSIX Floating Point Problems945250 -Ref: POSIX Floating Point Problems-Footnote-1949121 -Node: Floating point summary949159 -Node: Dynamic Extensions951349 -Node: Extension Intro952902 -Node: Plugin License954168 -Node: Extension Mechanism Outline954965 -Ref: figure-load-extension955404 -Ref: figure-register-new-function956969 -Ref: figure-call-new-function958061 -Node: Extension API Description960123 -Node: Extension API Functions Introduction961765 -Node: General Data Types967305 -Ref: General Data Types-Footnote-1975666 -Node: Memory Allocation Functions975965 -Ref: Memory Allocation Functions-Footnote-1980175 -Node: Constructor Functions980274 -Node: Registration Functions983860 -Node: Extension Functions984545 -Node: Exit Callback Functions989760 -Node: Extension Version String991010 -Node: Input Parsers991673 -Node: Output Wrappers1004394 -Node: Two-way processors1008906 -Node: Printing Messages1011171 -Ref: Printing Messages-Footnote-11012342 -Node: Updating ERRNO1012495 -Node: Requesting Values1013234 -Ref: table-value-types-returned1013971 -Node: Accessing Parameters1014907 -Node: Symbol Table Access1016142 -Node: Symbol table by name1016654 -Node: Symbol table by cookie1018443 -Ref: Symbol table by cookie-Footnote-11022628 -Node: Cached values1022692 -Ref: Cached values-Footnote-11026228 -Node: Array Manipulation1026381 -Ref: Array Manipulation-Footnote-11027472 -Node: Array Data Types1027509 -Ref: Array Data Types-Footnote-11030167 -Node: Array Functions1030259 -Node: Flattening Arrays1034757 -Node: Creating Arrays1041733 -Node: Redirection API1046500 -Node: Extension API Variables1049333 -Node: Extension Versioning1050044 -Ref: gawk-api-version1050473 -Node: Extension GMP/MPFR Versioning1052204 -Node: Extension API Informational Variables1053832 -Node: Extension API Boilerplate1054905 -Node: Changes from API V11058879 -Node: Finding Extensions1060451 -Node: Extension Example1061010 -Node: Internal File Description1061808 -Node: Internal File Ops1065888 -Ref: Internal File Ops-Footnote-11077238 -Node: Using Internal File Ops1077378 -Ref: Using Internal File Ops-Footnote-11079761 -Node: Extension Samples1080035 -Node: Extension Sample File Functions1081564 -Node: Extension Sample Fnmatch1089213 -Node: Extension Sample Fork1090700 -Node: Extension Sample Inplace1091918 -Node: Extension Sample Ord1095135 -Node: Extension Sample Readdir1095971 -Ref: table-readdir-file-types1096860 -Node: Extension Sample Revout1097665 -Node: Extension Sample Rev2way1098254 -Node: Extension Sample Read write array1098994 -Node: Extension Sample Readfile1100936 -Node: Extension Sample Time1102031 -Node: Extension Sample API Tests1103379 -Node: gawkextlib1103871 -Node: Extension summary1106789 -Node: Extension Exercises1110491 -Node: Language History1111989 -Node: V7/SVR3.11113645 -Node: SVR41115797 -Node: POSIX1117231 -Node: BTL1118611 -Node: POSIX/GNU1119340 -Node: Feature History1125118 -Node: Common Extensions1140977 -Node: Ranges and Locales1142260 -Ref: Ranges and Locales-Footnote-11146876 -Ref: Ranges and Locales-Footnote-21146903 -Ref: Ranges and Locales-Footnote-31147138 -Node: Contributors1147359 -Node: History summary1153304 -Node: Installation1154684 -Node: Gawk Distribution1155628 -Node: Getting1156112 -Node: Extracting1157075 -Node: Distribution contents1158713 -Node: Unix Installation1165193 -Node: Quick Installation1165875 -Node: Shell Startup Files1168289 -Node: Additional Configuration Options1169378 -Node: Configuration Philosophy1171671 -Node: Non-Unix Installation1174040 -Node: PC Installation1174500 -Node: PC Binary Installation1175338 -Node: PC Compiling1175773 -Node: PC Using1176890 -Node: Cygwin1180105 -Node: MSYS1181204 -Node: VMS Installation1181705 -Node: VMS Compilation1182496 -Ref: VMS Compilation-Footnote-11183725 -Node: VMS Dynamic Extensions1183783 -Node: VMS Installation Details1185468 -Node: VMS Running1187721 -Node: VMS GNV1192000 -Node: VMS Old Gawk1192735 -Node: Bugs1193206 -Node: Bug address1193869 -Node: Usenet1196661 -Node: Maintainers1197438 -Node: Other Versions1198699 -Node: Installation summary1205461 -Node: Notes1206663 -Node: Compatibility Mode1207528 -Node: Additions1208310 -Node: Accessing The Source1209235 -Node: Adding Code1210672 -Node: New Ports1216891 -Node: Derived Files1221379 -Ref: Derived Files-Footnote-11227025 -Ref: Derived Files-Footnote-21227060 -Ref: Derived Files-Footnote-31227658 -Node: Future Extensions1227772 -Node: Implementation Limitations1228430 -Node: Extension Design1229613 -Node: Old Extension Problems1230767 -Ref: Old Extension Problems-Footnote-11232285 -Node: Extension New Mechanism Goals1232342 -Ref: Extension New Mechanism Goals-Footnote-11235706 -Node: Extension Other Design Decisions1235895 -Node: Extension Future Growth1238008 -Node: Old Extension Mechanism1238844 -Node: Notes summary1240607 -Node: Basic Concepts1241789 -Node: Basic High Level1242470 -Ref: figure-general-flow1242752 -Ref: figure-process-flow1243437 -Ref: Basic High Level-Footnote-11246738 -Node: Basic Data Typing1246923 -Node: Glossary1250251 -Node: Copying1282089 -Node: GNU Free Documentation License1319632 -Node: Index1344752 +Ref: Auto-set-Footnote-1477946 +Ref: Auto-set-Footnote-2478152 +Node: ARGC and ARGV478208 +Node: Pattern Action Summary482421 +Node: Arrays484851 +Node: Array Basics486180 +Node: Array Intro487024 +Ref: figure-array-elements488999 +Ref: Array Intro-Footnote-1491703 +Node: Reference to Elements491831 +Node: Assigning Elements494295 +Node: Array Example494786 +Node: Scanning an Array496545 +Node: Controlling Scanning499567 +Ref: Controlling Scanning-Footnote-1504966 +Node: Numeric Array Subscripts505282 +Node: Uninitialized Subscripts507466 +Node: Delete509085 +Ref: Delete-Footnote-1511837 +Node: Multidimensional511894 +Node: Multiscanning514989 +Node: Arrays of Arrays516580 +Node: Arrays Summary521347 +Node: Functions523440 +Node: Built-in524478 +Node: Calling Built-in525559 +Node: Numeric Functions527555 +Ref: Numeric Functions-Footnote-1531583 +Ref: Numeric Functions-Footnote-2531940 +Ref: Numeric Functions-Footnote-3531988 +Node: String Functions532260 +Ref: String Functions-Footnote-1555918 +Ref: String Functions-Footnote-2556046 +Ref: String Functions-Footnote-3556294 +Node: Gory Details556381 +Ref: table-sub-escapes558172 +Ref: table-sub-proposed559691 +Ref: table-posix-sub561054 +Ref: table-gensub-escapes562595 +Ref: Gory Details-Footnote-1563418 +Node: I/O Functions563572 +Ref: table-system-return-values570040 +Ref: I/O Functions-Footnote-1572020 +Ref: I/O Functions-Footnote-2572168 +Node: Time Functions572288 +Ref: Time Functions-Footnote-1582959 +Ref: Time Functions-Footnote-2583027 +Ref: Time Functions-Footnote-3583185 +Ref: Time Functions-Footnote-4583296 +Ref: Time Functions-Footnote-5583408 +Ref: Time Functions-Footnote-6583635 +Node: Bitwise Functions583901 +Ref: table-bitwise-ops584495 +Ref: Bitwise Functions-Footnote-1590540 +Ref: Bitwise Functions-Footnote-2590713 +Node: Type Functions590904 +Node: I18N Functions593655 +Node: User-defined595306 +Node: Definition Syntax596111 +Ref: Definition Syntax-Footnote-1601798 +Node: Function Example601869 +Ref: Function Example-Footnote-1604791 +Node: Function Caveats604813 +Node: Calling A Function605331 +Node: Variable Scope606289 +Node: Pass By Value/Reference609283 +Node: Return Statement612782 +Node: Dynamic Typing615761 +Node: Indirect Calls616691 +Ref: Indirect Calls-Footnote-1626943 +Node: Functions Summary627071 +Node: Library Functions629776 +Ref: Library Functions-Footnote-1633383 +Ref: Library Functions-Footnote-2633526 +Node: Library Names633697 +Ref: Library Names-Footnote-1637157 +Ref: Library Names-Footnote-2637380 +Node: General Functions637466 +Node: Strtonum Function638569 +Node: Assert Function641591 +Node: Round Function644917 +Node: Cliff Random Function646457 +Node: Ordinal Functions647473 +Ref: Ordinal Functions-Footnote-1650536 +Ref: Ordinal Functions-Footnote-2650788 +Node: Join Function650998 +Ref: Join Function-Footnote-1652768 +Node: Getlocaltime Function652968 +Node: Readfile Function656710 +Node: Shell Quoting658687 +Node: Data File Management660088 +Node: Filetrans Function660720 +Node: Rewind Function664816 +Node: File Checking666726 +Ref: File Checking-Footnote-1668060 +Node: Empty Files668261 +Node: Ignoring Assigns670240 +Node: Getopt Function671790 +Ref: Getopt Function-Footnote-1683259 +Node: Passwd Functions683459 +Ref: Passwd Functions-Footnote-1692298 +Node: Group Functions692386 +Ref: Group Functions-Footnote-1700284 +Node: Walking Arrays700491 +Node: Library Functions Summary703499 +Node: Library Exercises704905 +Node: Sample Programs705370 +Node: Running Examples706140 +Node: Clones706868 +Node: Cut Program708092 +Node: Egrep Program718021 +Ref: Egrep Program-Footnote-1725533 +Node: Id Program725643 +Node: Split Program729323 +Ref: Split Program-Footnote-1732781 +Node: Tee Program732910 +Node: Uniq Program735700 +Node: Wc Program743126 +Ref: Wc Program-Footnote-1747381 +Node: Miscellaneous Programs747475 +Node: Dupword Program748688 +Node: Alarm Program750718 +Node: Translate Program755573 +Ref: Translate Program-Footnote-1760138 +Node: Labels Program760408 +Ref: Labels Program-Footnote-1763759 +Node: Word Sorting763843 +Node: History Sorting767915 +Node: Extract Program769750 +Node: Simple Sed777280 +Node: Igawk Program780354 +Ref: Igawk Program-Footnote-1794685 +Ref: Igawk Program-Footnote-2794887 +Ref: Igawk Program-Footnote-3795009 +Node: Anagram Program795124 +Node: Signature Program798186 +Node: Programs Summary799433 +Node: Programs Exercises800647 +Ref: Programs Exercises-Footnote-1804776 +Node: Advanced Features804867 +Node: Nondecimal Data806857 +Node: Array Sorting808448 +Node: Controlling Array Traversal809148 +Ref: Controlling Array Traversal-Footnote-1817516 +Node: Array Sorting Functions817634 +Ref: Array Sorting Functions-Footnote-1822725 +Node: Two-way I/O822921 +Ref: Two-way I/O-Footnote-1829473 +Ref: Two-way I/O-Footnote-2829660 +Node: TCP/IP Networking829742 +Node: Profiling832860 +Ref: Profiling-Footnote-1841532 +Node: Advanced Features Summary841855 +Node: Internationalization843699 +Node: I18N and L10N845179 +Node: Explaining gettext845866 +Ref: Explaining gettext-Footnote-1851758 +Ref: Explaining gettext-Footnote-2851943 +Node: Programmer i18n852108 +Ref: Programmer i18n-Footnote-1857057 +Node: Translator i18n857106 +Node: String Extraction857900 +Ref: String Extraction-Footnote-1859032 +Node: Printf Ordering859118 +Ref: Printf Ordering-Footnote-1861904 +Node: I18N Portability861968 +Ref: I18N Portability-Footnote-1864424 +Node: I18N Example864487 +Ref: I18N Example-Footnote-1867293 +Node: Gawk I18N867366 +Node: I18N Summary868011 +Node: Debugger869352 +Node: Debugging870375 +Node: Debugging Concepts870816 +Node: Debugging Terms872625 +Node: Awk Debugging875200 +Node: Sample Debugging Session876106 +Node: Debugger Invocation876640 +Node: Finding The Bug878026 +Node: List of Debugger Commands884504 +Node: Breakpoint Control885837 +Node: Debugger Execution Control889531 +Node: Viewing And Changing Data892893 +Node: Execution Stack896267 +Node: Debugger Info897904 +Node: Miscellaneous Debugger Commands901975 +Node: Readline Support907037 +Node: Limitations907933 +Node: Debugging Summary910042 +Node: Arbitrary Precision Arithmetic911321 +Node: Computer Arithmetic912806 +Ref: table-numeric-ranges916572 +Ref: table-floating-point-ranges917065 +Ref: Computer Arithmetic-Footnote-1917723 +Node: Math Definitions917780 +Ref: table-ieee-formats921096 +Ref: Math Definitions-Footnote-1921699 +Node: MPFR features921804 +Node: FP Math Caution923522 +Ref: FP Math Caution-Footnote-1924594 +Node: Inexactness of computations924963 +Node: Inexact representation925923 +Node: Comparing FP Values927283 +Node: Errors accumulate928365 +Node: Getting Accuracy929798 +Node: Try To Round932508 +Node: Setting precision933407 +Ref: table-predefined-precision-strings934104 +Node: Setting the rounding mode935934 +Ref: table-gawk-rounding-modes936308 +Ref: Setting the rounding mode-Footnote-1940239 +Node: Arbitrary Precision Integers940418 +Ref: Arbitrary Precision Integers-Footnote-1943593 +Node: Checking for MPFR943742 +Node: POSIX Floating Point Problems945216 +Ref: POSIX Floating Point Problems-Footnote-1949087 +Node: Floating point summary949125 +Node: Dynamic Extensions951315 +Node: Extension Intro952868 +Node: Plugin License954134 +Node: Extension Mechanism Outline954931 +Ref: figure-load-extension955370 +Ref: figure-register-new-function956935 +Ref: figure-call-new-function958027 +Node: Extension API Description960089 +Node: Extension API Functions Introduction961731 +Node: General Data Types967271 +Ref: General Data Types-Footnote-1975632 +Node: Memory Allocation Functions975931 +Ref: Memory Allocation Functions-Footnote-1980141 +Node: Constructor Functions980240 +Node: Registration Functions983826 +Node: Extension Functions984511 +Node: Exit Callback Functions989726 +Node: Extension Version String990976 +Node: Input Parsers991639 +Node: Output Wrappers1004360 +Node: Two-way processors1008872 +Node: Printing Messages1011137 +Ref: Printing Messages-Footnote-11012308 +Node: Updating ERRNO1012461 +Node: Requesting Values1013200 +Ref: table-value-types-returned1013937 +Node: Accessing Parameters1014873 +Node: Symbol Table Access1016108 +Node: Symbol table by name1016620 +Node: Symbol table by cookie1018409 +Ref: Symbol table by cookie-Footnote-11022594 +Node: Cached values1022658 +Ref: Cached values-Footnote-11026194 +Node: Array Manipulation1026347 +Ref: Array Manipulation-Footnote-11027438 +Node: Array Data Types1027475 +Ref: Array Data Types-Footnote-11030133 +Node: Array Functions1030225 +Node: Flattening Arrays1034723 +Node: Creating Arrays1041699 +Node: Redirection API1046466 +Node: Extension API Variables1049299 +Node: Extension Versioning1050010 +Ref: gawk-api-version1050439 +Node: Extension GMP/MPFR Versioning1052170 +Node: Extension API Informational Variables1053798 +Node: Extension API Boilerplate1054871 +Node: Changes from API V11058845 +Node: Finding Extensions1060417 +Node: Extension Example1060976 +Node: Internal File Description1061774 +Node: Internal File Ops1065854 +Ref: Internal File Ops-Footnote-11077204 +Node: Using Internal File Ops1077344 +Ref: Using Internal File Ops-Footnote-11079727 +Node: Extension Samples1080001 +Node: Extension Sample File Functions1081530 +Node: Extension Sample Fnmatch1089179 +Node: Extension Sample Fork1090666 +Node: Extension Sample Inplace1091884 +Node: Extension Sample Ord1095101 +Node: Extension Sample Readdir1095937 +Ref: table-readdir-file-types1096826 +Node: Extension Sample Revout1097631 +Node: Extension Sample Rev2way1098220 +Node: Extension Sample Read write array1098960 +Node: Extension Sample Readfile1100902 +Node: Extension Sample Time1101997 +Node: Extension Sample API Tests1103345 +Node: gawkextlib1103837 +Node: Extension summary1106755 +Node: Extension Exercises1110457 +Node: Language History1111955 +Node: V7/SVR3.11113611 +Node: SVR41115763 +Node: POSIX1117197 +Node: BTL1118577 +Node: POSIX/GNU1119306 +Node: Feature History1125084 +Node: Common Extensions1140943 +Node: Ranges and Locales1142226 +Ref: Ranges and Locales-Footnote-11146842 +Ref: Ranges and Locales-Footnote-21146869 +Ref: Ranges and Locales-Footnote-31147104 +Node: Contributors1147325 +Node: History summary1153270 +Node: Installation1154650 +Node: Gawk Distribution1155594 +Node: Getting1156078 +Node: Extracting1157041 +Node: Distribution contents1158679 +Node: Unix Installation1165159 +Node: Quick Installation1165841 +Node: Shell Startup Files1168255 +Node: Additional Configuration Options1169344 +Node: Configuration Philosophy1171637 +Node: Non-Unix Installation1174006 +Node: PC Installation1174466 +Node: PC Binary Installation1175304 +Node: PC Compiling1175739 +Node: PC Using1176856 +Node: Cygwin1180071 +Node: MSYS1181170 +Node: VMS Installation1181671 +Node: VMS Compilation1182462 +Ref: VMS Compilation-Footnote-11183691 +Node: VMS Dynamic Extensions1183749 +Node: VMS Installation Details1185434 +Node: VMS Running1187687 +Node: VMS GNV1191966 +Node: VMS Old Gawk1192701 +Node: Bugs1193172 +Node: Bug address1193835 +Node: Usenet1196627 +Node: Maintainers1197404 +Node: Other Versions1198665 +Node: Installation summary1205427 +Node: Notes1206629 +Node: Compatibility Mode1207494 +Node: Additions1208276 +Node: Accessing The Source1209201 +Node: Adding Code1210638 +Node: New Ports1216857 +Node: Derived Files1221345 +Ref: Derived Files-Footnote-11226991 +Ref: Derived Files-Footnote-21227026 +Ref: Derived Files-Footnote-31227624 +Node: Future Extensions1227738 +Node: Implementation Limitations1228396 +Node: Extension Design1229579 +Node: Old Extension Problems1230733 +Ref: Old Extension Problems-Footnote-11232251 +Node: Extension New Mechanism Goals1232308 +Ref: Extension New Mechanism Goals-Footnote-11235672 +Node: Extension Other Design Decisions1235861 +Node: Extension Future Growth1237974 +Node: Old Extension Mechanism1238810 +Node: Notes summary1240573 +Node: Basic Concepts1241755 +Node: Basic High Level1242436 +Ref: figure-general-flow1242718 +Ref: figure-process-flow1243403 +Ref: Basic High Level-Footnote-11246704 +Node: Basic Data Typing1246889 +Node: Glossary1250217 +Node: Copying1282055 +Node: GNU Free Documentation License1319598 +Node: Index1344718 End Tag Table diff --git a/doc/gawk.texi b/doc/gawk.texi index d99e33bb..4d6354b4 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -15692,11 +15692,11 @@ The following elements allow you to change @command{gawk}'s behavior: @table @code @item PROCINFO["NONFATAL"] -If this element exists, then I/O errors for all output redirections become nonfatal. +If this element exists, then I/O errors for all redirections become nonfatal. @xref{Nonfatal}. -@item PROCINFO["@var{output_name}", "NONFATAL"] -Make output errors for @var{output_name} be nonfatal. +@item PROCINFO["@var{name}", "NONFATAL"] +Make I/O errors for @var{name} be nonfatal. @xref{Nonfatal}. @item PROCINFO["@var{command}", "pty"] diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 2565440d..8b969b3f 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -15013,8 +15013,8 @@ The following elements allow you to change @command{gawk}'s behavior: If this element exists, then I/O errors for all redirections become nonfatal. @xref{Nonfatal}. -@item PROCINFO["@var{output_name}", "NONFATAL"] -Make I/O errors for @var{output_name} be nonfatal. +@item PROCINFO["@var{name}", "NONFATAL"] +Make I/O errors for @var{name} be nonfatal. @xref{Nonfatal}. @item PROCINFO["@var{command}", "pty"] diff --git a/doc/it/ChangeLog b/doc/it/ChangeLog index 7eb32f67..2ba75bcd 100644 --- a/doc/it/ChangeLog +++ b/doc/it/ChangeLog @@ -1,3 +1,7 @@ +2017-02-17 Antonio Giovanni Colombo <azc100@gmail.com> + + * gawk.1: Synchronized with English version. + 2018-01-12 Arnold D. Robbins <arnold@skeeve.com> * gawktexi.in: Remove incorrect '*' on some declarations of diff --git a/doc/it/gawk.1 b/doc/it/gawk.1 index 234e82b1..b1ab35ae 100755 --- a/doc/it/gawk.1 +++ b/doc/it/gawk.1 @@ -7,7 +7,8 @@ .\"Febbraio 2014 - da versione 4.0.1e .\"Aggiornam. a gawk-4.1.2 di Antonio G. Colombo - Aprile 2015 .\"Aggiornam. a gawk-4.1.3 di Marco Curreli - revis. A.G. Colombo - Giugno 2016 -.\"Aggiornam. a gawk-4.2.0 di A.G. Colombo. - revis. M. Curreli - Dicembre 2017 +.\"Aggiornam. a gawk-4.2.0 di A.G. Colombo - revis. M. Curreli - Dicembre 2017 +.\"Aggiornam. a gawk-4.2.1 di A.G. Colombo - revis. M. Curreli - Febbraio 2018 .ds PX \s-1POSIX\s+1 .ds UX \s-1UNIX\s+1 @@ -24,7 +25,7 @@ . if \w'\(rq' .ds rq "\(rq . \} .\} -.TH GAWK 1 "Oct 01 2017" "Free Software Foundation" "Utility Commands" +.TH GAWK 1 "Feb 15 2018" "Free Software Foundation" "Utility Commands" .SH NOME gawk \- linguaggio per il riconoscimento e il trattamento di espressioni regolari @@ -1261,12 +1262,12 @@ cambiare il comportamento di .IR gawk : .TP \fBPROCINFO["NONFATAL"]\fR -Se è presente, gli errori di I/O per tutte le ridirezioni verso l'output +Se presente, gli errori di I/O per tutte le ridirezioni diventano non fatali. .TP -\fBPROCINFO["\fInome_output\fB", "NONFATAL"]\fR +\fBPROCINFO["\fInome\fB", "NONFATAL"]\fR Rendono gli errori relativi a -.I nome_output +.I nome non fatali. .TP \fBPROCINFO["\fIcomando\fB", "pty"]\fR @@ -4170,7 +4171,7 @@ Lo ringraziamo. .SH COPYING PERMISSIONS Copyright \(co 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2009, -2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017 +2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 Free Software Foundation, Inc. .PP Permission is granted to make and distribute verbatim copies of diff --git a/extension/ChangeLog b/extension/ChangeLog index 68043632..f4db473d 100644 --- a/extension/ChangeLog +++ b/extension/ChangeLog @@ -1,3 +1,8 @@ +2018-02-17 Michal Jaegermann <michal.jnn@gmail.com>. + + * filefuncs.3am, filefuncs.c, fnmatch.3am, revoutput.3am, + revtwoway.3am: Spelling and typo fixes. + 2018-02-14 Arnold D. Robbins <arnold@skeeve.com> * configure.ac: Add stuff for finding gettext. Helps in diff --git a/extension/filefuncs.3am b/extension/filefuncs.3am index 95f8bbd4..e5be1e99 100644 --- a/extension/filefuncs.3am +++ b/extension/filefuncs.3am @@ -173,10 +173,10 @@ The .B fts() function provides a hook to the .IR fts (3) -set of routines for traversing file heirarchies. +set of routines for traversing file hierarchies. Instead of returning data about one file at a time in a stream, it fills in a multi-dimensional array with data about each file and -directory encountered in the requested heirarchies. +directory encountered in the requested hierarchies. .PP The arguments are as follows: .TP @@ -211,11 +211,11 @@ This flag is mutually exclusive with .B FTS_NOCHDIR As a performance optimization, the .IR fts (3) -routines change directory as they traverse a file heirarchy. +routines change directory as they traverse a file hierarchy. This flag disables that optimization. .TP .B FTS_COMFOLLOW -Immediatly follow a symbolic link named in +Immediately follow a symbolic link named in .BR pathlist , whether or not .B FTS_LOGICAL @@ -311,11 +311,11 @@ already provides powerful array sorting facilities. While an .IR fts_read() \-like interface could have been provided, this felt less natural than simply creating a multi-dimensional array to represent the file -heirarchy and its information. +hierarchy and its information. .PP Nothing prevents AWK code from changing the predefined .BI FTS_ xx -values, but doing so is may cause strange results when +values, but doing so may cause strange results when the changed values are passed to .BR fts() . .SH BUGS diff --git a/extension/filefuncs.c b/extension/filefuncs.c index 99b5eda2..017256a4 100644 --- a/extension/filefuncs.c +++ b/extension/filefuncs.c @@ -591,7 +591,7 @@ init_filefuncs(void) } #ifdef __MINGW32__ -/* do_fts --- walk a heirarchy and fill in an array */ +/* do_fts --- walk a hierarchy and fill in an array */ /* * Usage from awk: @@ -687,10 +687,10 @@ fill_default_elements(awk_array_t element_array, const FTSENT *const fentry, awk } } -/* process --- process the heirarchy */ +/* process --- process the hierarchy */ static void -process(FTS *heirarchy, awk_array_t destarray, int seedot) +process(FTS *hierarchy, awk_array_t destarray, int seedot) { FTSENT *fentry; awk_value_t index, value; @@ -699,7 +699,7 @@ process(FTS *heirarchy, awk_array_t destarray, int seedot) /* path is full path, pathlen is length thereof */ /* name is name in directory, namelen is length thereof */ - while ((fentry = fts_read(heirarchy)) != NULL) { + while ((fentry = fts_read(hierarchy)) != NULL) { bad_ret = awk_false; switch (fentry->fts_info) { @@ -806,7 +806,7 @@ process(FTS *heirarchy, awk_array_t destarray, int seedot) } } -/* do_fts --- walk a heirarchy and fill in an array */ +/* do_fts --- walk a hierarchy and fill in an array */ /* * Usage from awk: @@ -820,7 +820,7 @@ do_fts(int nargs, awk_value_t *result, struct awk_ext_func *unused) awk_value_t pathlist, flagval, dest; awk_flat_array_t *path_array = NULL; char **pathvector = NULL; - FTS *heirarchy; + FTS *hierarchy; int flags; size_t i, count; int ret = -1; @@ -893,9 +893,9 @@ do_fts(int nargs, awk_value_t *result, struct awk_ext_func *unused) } /* let's do it! */ - if ((heirarchy = fts_open(pathvector, flags, NULL)) != NULL) { - process(heirarchy, dest.array_cookie, (flags & FTS_SEEDOT) != 0); - fts_close(heirarchy); + if ((hierarchy = fts_open(pathvector, flags, NULL)) != NULL) { + process(hierarchy, dest.array_cookie, (flags & FTS_SEEDOT) != 0); + fts_close(hierarchy); if (fts_errors == 0) ret = 0; diff --git a/extension/fnmatch.3am b/extension/fnmatch.3am index 47a97d11..d82a154d 100644 --- a/extension/fnmatch.3am +++ b/extension/fnmatch.3am @@ -70,7 +70,7 @@ flag as defined in .PP .SH NOTES Nothing prevents AWK code from changing the predefined -variabale +variable .BR FNM_NOMATCH , but doing so may cause strange results. .\" .SH BUGS diff --git a/extension/revoutput.3am b/extension/revoutput.3am index 58ac1b09..fbf33dbe 100644 --- a/extension/revoutput.3am +++ b/extension/revoutput.3am @@ -14,7 +14,7 @@ extension adds a simple output wrapper that reverses the characters in each output line. It's main purpose is to show how to write an output wrapper, although -it may be mildy amusing for the unwary. +it may be mildly amusing for the unwary. .\" .SH BUGS .SH EXAMPLE .ft CW diff --git a/extension/revtwoway.3am b/extension/revtwoway.3am index 09bfe32d..4aa71f7f 100644 --- a/extension/revtwoway.3am +++ b/extension/revtwoway.3am @@ -22,7 +22,7 @@ extension adds a simple two-way processor that reverses the characters in each line sent to it for reading back by the AWK program. It's main purpose is to show how to write a two-way extension, although -it may also be mildy amusing. +it may also be mildly amusing. .\" .SH BUGS .SH "SEE ALSO" .IR "GAWK: Effective AWK Programming" , |