diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2023-04-04 08:49:36 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2023-04-04 08:49:36 +0300 |
commit | 0dc720c325bd76dc6bebc48cd151905e73ff7ce6 (patch) | |
tree | 68c199f14a09934fd199cae862907c258681fe09 /doc | |
parent | fd162a7fd6a5e87894856e9772eb3ecf8acc0d45 (diff) | |
parent | 5d6a270d4929e7b24d7cd41c59d75bcd1c93a868 (diff) | |
download | gawk-0dc720c325bd76dc6bebc48cd151905e73ff7ce6.tar.gz |
Merge branch 'gawk-5.2-stable'
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 6 | ||||
-rw-r--r-- | doc/gawk.info | 768 | ||||
-rw-r--r-- | doc/gawk.texi | 6 | ||||
-rw-r--r-- | doc/gawktexi.in | 6 |
4 files changed, 396 insertions, 390 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 3eec94f8..5225862a 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,9 @@ +2023-04-04 Arnold D. Robbins <arnold@skeeve.com> + + * gawktexi.in (Controlling Scanning): Fix the logic in the example. + Thanks to Walter Bächi <privor@xn--walter-bchi-s8a.ch> + for the report. + 2023-04-03 Arnold D. Robbins <arnold@skeeve.com> * gawktexi.in (Dynamic Typing): Small formatting fix. diff --git a/doc/gawk.info b/doc/gawk.info index 4c12ac6f..754378a5 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -12540,10 +12540,10 @@ traversal: restore the value: ... - if ("sorted_in" in PROCINFO) { + if ("sorted_in" in PROCINFO) save_sorted = PROCINFO["sorted_in"] - PROCINFO["sorted_in"] = "@val_str_desc" # or whatever - } + + PROCINFO["sorted_in"] = "@val_str_desc" # or whatever ... if (save_sorted) PROCINFO["sorted_in"] = save_sorted @@ -39809,387 +39809,387 @@ Node: Assigning Elements543083 Node: Array Example543578 Node: Scanning an Array545547 Node: Controlling Scanning548644 -Ref: Controlling Scanning-Footnote-1555307 -Node: Numeric Array Subscripts555631 -Node: Uninitialized Subscripts557905 -Node: Delete559584 -Ref: Delete-Footnote-1562398 -Node: Multidimensional562455 -Node: Multiscanning565660 -Node: Arrays of Arrays567332 -Node: Arrays Summary572232 -Node: Functions574421 -Node: Built-in575481 -Node: Calling Built-in576670 -Node: Boolean Functions578717 -Node: Numeric Functions579287 -Ref: Numeric Functions-Footnote-1583480 -Ref: Numeric Functions-Footnote-2584164 -Ref: Numeric Functions-Footnote-3584216 -Node: String Functions584492 -Ref: String Functions-Footnote-1610723 -Ref: String Functions-Footnote-2610857 -Ref: String Functions-Footnote-3611117 -Node: Gory Details611204 -Ref: table-sub-escapes613111 -Ref: table-sub-proposed614757 -Ref: table-posix-sub616267 -Ref: table-gensub-escapes617955 -Ref: Gory Details-Footnote-1618889 -Node: I/O Functions619043 -Ref: table-system-return-values625730 -Ref: I/O Functions-Footnote-1627901 -Ref: I/O Functions-Footnote-2628049 -Node: Time Functions628169 -Ref: Time Functions-Footnote-1639325 -Ref: Time Functions-Footnote-2639401 -Ref: Time Functions-Footnote-3639563 -Ref: Time Functions-Footnote-4639674 -Ref: Time Functions-Footnote-5639792 -Ref: Time Functions-Footnote-6640027 -Node: Bitwise Functions640309 -Ref: table-bitwise-ops640911 -Ref: Bitwise Functions-Footnote-1647165 -Ref: Bitwise Functions-Footnote-2647344 -Node: Type Functions647541 -Node: I18N Functions651134 -Node: User-defined652877 -Node: Definition Syntax653697 -Ref: Definition Syntax-Footnote-1659525 -Node: Function Example659602 -Ref: Function Example-Footnote-1662581 -Node: Function Calling662603 -Node: Calling A Function663197 -Node: Variable Scope664167 -Node: Pass By Value/Reference667221 -Node: Function Caveats669953 -Ref: Function Caveats-Footnote-1672048 -Node: Return Statement672172 -Node: Dynamic Typing675227 -Node: Indirect Calls677619 -Node: Functions Summary688778 -Node: Library Functions691555 -Ref: Library Functions-Footnote-1695103 -Ref: Library Functions-Footnote-2695246 -Node: Library Names695421 -Ref: Library Names-Footnote-1699215 -Ref: Library Names-Footnote-2699442 -Node: General Functions699538 -Node: Strtonum Function700732 -Node: Assert Function703814 -Node: Round Function707266 -Node: Cliff Random Function708844 -Node: Ordinal Functions709877 -Ref: Ordinal Functions-Footnote-1712986 -Ref: Ordinal Functions-Footnote-2713238 -Node: Join Function713452 -Ref: Join Function-Footnote-1715255 -Node: Getlocaltime Function715459 -Node: Readfile Function719233 -Node: Shell Quoting721262 -Node: Isnumeric Function722718 -Node: Data File Management724130 -Node: Filetrans Function724762 -Node: Rewind Function729056 -Node: File Checking731035 -Ref: File Checking-Footnote-1732407 -Node: Empty Files732614 -Node: Ignoring Assigns734681 -Node: Getopt Function736255 -Ref: Getopt Function-Footnote-1752089 -Node: Passwd Functions752301 -Ref: Passwd Functions-Footnote-1761483 -Node: Group Functions761571 -Ref: Group Functions-Footnote-1769709 -Node: Walking Arrays769922 -Node: Library Functions Summary772970 -Node: Library Exercises774394 -Node: Sample Programs774881 -Node: Running Examples775663 -Node: Clones776415 -Node: Cut Program777687 -Node: Egrep Program788128 -Node: Id Program797445 -Node: Split Program807559 -Ref: Split Program-Footnote-1817794 -Node: Tee Program817981 -Node: Uniq Program820890 -Node: Wc Program828755 -Node: Bytes vs. Characters829150 -Node: Using extensions830752 -Node: wc program831532 -Node: Miscellaneous Programs836538 -Node: Dupword Program837767 -Node: Alarm Program839830 -Node: Translate Program844743 -Ref: Translate Program-Footnote-1849484 -Node: Labels Program849762 -Ref: Labels Program-Footnote-1853203 -Node: Word Sorting853295 -Node: History Sorting857489 -Node: Extract Program859764 -Node: Simple Sed868033 -Node: Igawk Program871249 -Ref: Igawk Program-Footnote-1886496 -Ref: Igawk Program-Footnote-2886702 -Ref: Igawk Program-Footnote-3886832 -Node: Anagram Program886959 -Node: Signature Program890055 -Node: Programs Summary891307 -Node: Programs Exercises892565 -Ref: Programs Exercises-Footnote-1896881 -Node: Advanced Features896967 -Node: Nondecimal Data899461 -Node: Boolean Typed Values901091 -Node: Array Sorting903066 -Node: Controlling Array Traversal903795 -Ref: Controlling Array Traversal-Footnote-1912302 -Node: Array Sorting Functions912424 -Ref: Array Sorting Functions-Footnote-1918543 -Node: Two-way I/O918751 -Ref: Two-way I/O-Footnote-1926746 -Ref: Two-way I/O-Footnote-2926937 -Node: TCP/IP Networking927019 -Node: Profiling930199 -Node: Persistent Memory939909 -Ref: Persistent Memory-Footnote-1948867 -Node: Extension Philosophy948998 -Node: Advanced Features Summary950533 -Node: Internationalization952803 -Node: I18N and L10N954509 -Node: Explaining gettext955204 -Ref: Explaining gettext-Footnote-1961357 -Ref: Explaining gettext-Footnote-2961552 -Node: Programmer i18n961717 -Ref: Programmer i18n-Footnote-1966830 -Node: Translator i18n966879 -Node: String Extraction967715 -Ref: String Extraction-Footnote-1968893 -Node: Printf Ordering968991 -Ref: Printf Ordering-Footnote-1971853 -Node: I18N Portability971921 -Ref: I18N Portability-Footnote-1974495 -Node: I18N Example974566 -Ref: I18N Example-Footnote-1977966 -Ref: I18N Example-Footnote-2978042 -Node: Gawk I18N978159 -Node: I18N Summary978815 -Node: Debugger980216 -Node: Debugging981240 -Node: Debugging Concepts981689 -Node: Debugging Terms983515 -Node: Awk Debugging986128 -Ref: Awk Debugging-Footnote-1987105 -Node: Sample Debugging Session987245 -Node: Debugger Invocation987797 -Node: Finding The Bug989426 -Node: List of Debugger Commands996112 -Node: Breakpoint Control997489 -Node: Debugger Execution Control1001321 -Node: Viewing And Changing Data1004801 -Node: Execution Stack1008539 -Node: Debugger Info1010220 -Node: Miscellaneous Debugger Commands1014519 -Node: Readline Support1019772 -Node: Limitations1020718 -Node: Debugging Summary1023362 -Node: Namespaces1024665 -Node: Global Namespace1025792 -Node: Qualified Names1027237 -Node: Default Namespace1028272 -Node: Changing The Namespace1029047 -Node: Naming Rules1030741 -Node: Internal Name Management1032656 -Node: Namespace Example1033726 -Node: Namespace And Features1036309 -Node: Namespace Summary1037766 -Node: Arbitrary Precision Arithmetic1039279 -Node: Computer Arithmetic1040798 -Ref: table-numeric-ranges1044615 -Ref: table-floating-point-ranges1045113 -Ref: Computer Arithmetic-Footnote-11045772 -Node: Math Definitions1045831 -Ref: table-ieee-formats1048876 -Node: MPFR features1049450 -Node: MPFR On Parole1049903 -Ref: MPFR On Parole-Footnote-11050747 -Node: MPFR Intro1050906 -Node: FP Math Caution1052596 -Ref: FP Math Caution-Footnote-11053670 -Node: Inexactness of computations1054047 -Node: Inexact representation1055078 -Node: Comparing FP Values1056461 -Node: Errors accumulate1057719 -Node: Strange values1059186 -Ref: Strange values-Footnote-11061852 -Node: Getting Accuracy1061957 -Node: Try To Round1064694 -Node: Setting precision1065601 -Ref: table-predefined-precision-strings1066306 -Node: Setting the rounding mode1068191 -Ref: table-gawk-rounding-modes1068573 -Ref: Setting the rounding mode-Footnote-11072631 -Node: Arbitrary Precision Integers1072814 -Ref: Arbitrary Precision Integers-Footnote-11076026 -Node: Checking for MPFR1076182 -Node: POSIX Floating Point Problems1077672 -Ref: POSIX Floating Point Problems-Footnote-11082536 -Node: Floating point summary1082574 -Node: Dynamic Extensions1084838 -Node: Extension Intro1086437 -Node: Plugin License1087745 -Node: Extension Mechanism Outline1088558 -Ref: figure-load-extension1089009 -Ref: figure-register-new-function1090594 -Ref: figure-call-new-function1091704 -Node: Extension API Description1093828 -Node: Extension API Functions Introduction1095557 -Ref: table-api-std-headers1097455 -Node: General Data Types1101919 -Ref: General Data Types-Footnote-11111087 -Node: Memory Allocation Functions1111402 -Ref: Memory Allocation Functions-Footnote-11116127 -Node: Constructor Functions1116226 -Node: API Ownership of MPFR and GMP Values1120131 -Node: Registration Functions1121692 -Node: Extension Functions1122396 -Node: Exit Callback Functions1127972 -Node: Extension Version String1129291 -Node: Input Parsers1129986 -Node: Output Wrappers1144630 -Node: Two-way processors1149478 -Node: Printing Messages1151839 -Ref: Printing Messages-Footnote-11153053 -Node: Updating ERRNO1153208 -Node: Requesting Values1154007 -Ref: table-value-types-returned1154760 -Node: Accessing Parameters1155869 -Node: Symbol Table Access1157153 -Node: Symbol table by name1157669 -Ref: Symbol table by name-Footnote-11160880 -Node: Symbol table by cookie1161012 -Ref: Symbol table by cookie-Footnote-11165293 -Node: Cached values1165357 -Ref: Cached values-Footnote-11169001 -Node: Array Manipulation1169158 -Ref: Array Manipulation-Footnote-11170261 -Node: Array Data Types1170298 -Ref: Array Data Types-Footnote-11173120 -Node: Array Functions1173220 -Node: Flattening Arrays1178249 -Node: Creating Arrays1185301 -Node: Redirection API1190151 -Node: Extension API Variables1193172 -Node: Extension Versioning1193897 -Ref: gawk-api-version1194334 -Node: Extension GMP/MPFR Versioning1196122 -Node: Extension API Informational Variables1197828 -Node: Extension API Boilerplate1198989 -Node: Changes from API V11203125 -Node: Finding Extensions1204759 -Node: Extension Example1205334 -Node: Internal File Description1206158 -Node: Internal File Ops1210482 -Ref: Internal File Ops-Footnote-11222040 -Node: Using Internal File Ops1222188 -Ref: Using Internal File Ops-Footnote-11224619 -Node: Extension Samples1224897 -Node: Extension Sample File Functions1226466 -Node: Extension Sample Fnmatch1234604 -Node: Extension Sample Fork1236199 -Node: Extension Sample Inplace1237475 -Node: Extension Sample Ord1241147 -Node: Extension Sample Readdir1242023 -Ref: table-readdir-file-types1242920 -Node: Extension Sample Revout1244058 -Node: Extension Sample Rev2way1244655 -Node: Extension Sample Read write array1245407 -Node: Extension Sample Readfile1248681 -Node: Extension Sample Time1249812 -Node: Extension Sample API Tests1252102 -Node: gawkextlib1252610 -Node: Extension summary1255646 -Node: Extension Exercises1259504 -Node: Language History1260782 -Node: V7/SVR3.11262496 -Node: SVR41264846 -Node: POSIX1266378 -Node: BTL1267803 -Node: POSIX/GNU1268572 -Node: Feature History1275103 -Node: Common Extensions1294670 -Node: Ranges and Locales1296147 -Ref: Ranges and Locales-Footnote-11300948 -Ref: Ranges and Locales-Footnote-21300975 -Ref: Ranges and Locales-Footnote-31301214 -Node: Contributors1301437 -Node: History summary1307642 -Node: Installation1309088 -Node: Gawk Distribution1310052 -Node: Getting1310544 -Node: Extracting1311543 -Node: Distribution contents1313255 -Node: Unix Installation1321335 -Node: Quick Installation1322157 -Node: Compiling with MPFR1324703 -Node: Shell Startup Files1325409 -Node: Additional Configuration Options1326566 -Node: Configuration Philosophy1328953 -Node: Compiling from Git1331455 -Node: Building the Documentation1332014 -Node: Non-Unix Installation1333426 -Node: PC Installation1333902 -Node: PC Binary Installation1334775 -Node: PC Compiling1335680 -Node: PC Using1336858 -Node: Cygwin1340586 -Node: MSYS1341842 -Node: OpenVMS Installation1342474 -Node: OpenVMS Compilation1343155 -Ref: OpenVMS Compilation-Footnote-11344638 -Node: OpenVMS Dynamic Extensions1344700 -Node: OpenVMS Installation Details1346336 -Node: OpenVMS Running1348771 -Node: OpenVMS GNV1352908 -Node: Bugs1353663 -Node: Bug definition1354587 -Node: Bug address1358238 -Node: Usenet1361829 -Node: Performance bugs1363060 -Node: Asking for help1366078 -Node: Maintainers1368069 -Node: Other Versions1369096 -Node: Installation summary1378028 -Node: Notes1379412 -Node: Compatibility Mode1380222 -Node: Additions1381044 -Node: Accessing The Source1381989 -Node: Adding Code1383524 -Node: New Ports1390660 -Node: Derived Files1395170 -Ref: Derived Files-Footnote-11401017 -Ref: Derived Files-Footnote-21401052 -Ref: Derived Files-Footnote-31401669 -Node: Future Extensions1401783 -Node: Implementation Limitations1402455 -Node: Extension Design1403697 -Node: Old Extension Problems1404861 -Ref: Old Extension Problems-Footnote-11406437 -Node: Extension New Mechanism Goals1406498 -Ref: Extension New Mechanism Goals-Footnote-11409994 -Node: Extension Other Design Decisions1410195 -Node: Extension Future Growth1412394 -Node: Notes summary1413018 -Node: Basic Concepts1414231 -Node: Basic High Level1414916 -Ref: figure-general-flow1415198 -Ref: figure-process-flow1415905 -Ref: Basic High Level-Footnote-11419306 -Node: Basic Data Typing1419495 -Node: Glossary1422913 -Node: Copying1456035 -Node: GNU Free Documentation License1493796 -Node: Index1519119 +Ref: Controlling Scanning-Footnote-1555290 +Node: Numeric Array Subscripts555614 +Node: Uninitialized Subscripts557888 +Node: Delete559567 +Ref: Delete-Footnote-1562381 +Node: Multidimensional562438 +Node: Multiscanning565643 +Node: Arrays of Arrays567315 +Node: Arrays Summary572215 +Node: Functions574404 +Node: Built-in575464 +Node: Calling Built-in576653 +Node: Boolean Functions578700 +Node: Numeric Functions579270 +Ref: Numeric Functions-Footnote-1583463 +Ref: Numeric Functions-Footnote-2584147 +Ref: Numeric Functions-Footnote-3584199 +Node: String Functions584475 +Ref: String Functions-Footnote-1610706 +Ref: String Functions-Footnote-2610840 +Ref: String Functions-Footnote-3611100 +Node: Gory Details611187 +Ref: table-sub-escapes613094 +Ref: table-sub-proposed614740 +Ref: table-posix-sub616250 +Ref: table-gensub-escapes617938 +Ref: Gory Details-Footnote-1618872 +Node: I/O Functions619026 +Ref: table-system-return-values625713 +Ref: I/O Functions-Footnote-1627884 +Ref: I/O Functions-Footnote-2628032 +Node: Time Functions628152 +Ref: Time Functions-Footnote-1639308 +Ref: Time Functions-Footnote-2639384 +Ref: Time Functions-Footnote-3639546 +Ref: Time Functions-Footnote-4639657 +Ref: Time Functions-Footnote-5639775 +Ref: Time Functions-Footnote-6640010 +Node: Bitwise Functions640292 +Ref: table-bitwise-ops640894 +Ref: Bitwise Functions-Footnote-1647148 +Ref: Bitwise Functions-Footnote-2647327 +Node: Type Functions647524 +Node: I18N Functions651117 +Node: User-defined652860 +Node: Definition Syntax653680 +Ref: Definition Syntax-Footnote-1659508 +Node: Function Example659585 +Ref: Function Example-Footnote-1662564 +Node: Function Calling662586 +Node: Calling A Function663180 +Node: Variable Scope664150 +Node: Pass By Value/Reference667204 +Node: Function Caveats669936 +Ref: Function Caveats-Footnote-1672031 +Node: Return Statement672155 +Node: Dynamic Typing675210 +Node: Indirect Calls677602 +Node: Functions Summary688761 +Node: Library Functions691538 +Ref: Library Functions-Footnote-1695086 +Ref: Library Functions-Footnote-2695229 +Node: Library Names695404 +Ref: Library Names-Footnote-1699198 +Ref: Library Names-Footnote-2699425 +Node: General Functions699521 +Node: Strtonum Function700715 +Node: Assert Function703797 +Node: Round Function707249 +Node: Cliff Random Function708827 +Node: Ordinal Functions709860 +Ref: Ordinal Functions-Footnote-1712969 +Ref: Ordinal Functions-Footnote-2713221 +Node: Join Function713435 +Ref: Join Function-Footnote-1715238 +Node: Getlocaltime Function715442 +Node: Readfile Function719216 +Node: Shell Quoting721245 +Node: Isnumeric Function722701 +Node: Data File Management724113 +Node: Filetrans Function724745 +Node: Rewind Function729039 +Node: File Checking731018 +Ref: File Checking-Footnote-1732390 +Node: Empty Files732597 +Node: Ignoring Assigns734664 +Node: Getopt Function736238 +Ref: Getopt Function-Footnote-1752072 +Node: Passwd Functions752284 +Ref: Passwd Functions-Footnote-1761466 +Node: Group Functions761554 +Ref: Group Functions-Footnote-1769692 +Node: Walking Arrays769905 +Node: Library Functions Summary772953 +Node: Library Exercises774377 +Node: Sample Programs774864 +Node: Running Examples775646 +Node: Clones776398 +Node: Cut Program777670 +Node: Egrep Program788111 +Node: Id Program797428 +Node: Split Program807542 +Ref: Split Program-Footnote-1817777 +Node: Tee Program817964 +Node: Uniq Program820873 +Node: Wc Program828738 +Node: Bytes vs. Characters829133 +Node: Using extensions830735 +Node: wc program831515 +Node: Miscellaneous Programs836521 +Node: Dupword Program837750 +Node: Alarm Program839813 +Node: Translate Program844726 +Ref: Translate Program-Footnote-1849467 +Node: Labels Program849745 +Ref: Labels Program-Footnote-1853186 +Node: Word Sorting853278 +Node: History Sorting857472 +Node: Extract Program859747 +Node: Simple Sed868016 +Node: Igawk Program871232 +Ref: Igawk Program-Footnote-1886479 +Ref: Igawk Program-Footnote-2886685 +Ref: Igawk Program-Footnote-3886815 +Node: Anagram Program886942 +Node: Signature Program890038 +Node: Programs Summary891290 +Node: Programs Exercises892548 +Ref: Programs Exercises-Footnote-1896864 +Node: Advanced Features896950 +Node: Nondecimal Data899444 +Node: Boolean Typed Values901074 +Node: Array Sorting903049 +Node: Controlling Array Traversal903778 +Ref: Controlling Array Traversal-Footnote-1912285 +Node: Array Sorting Functions912407 +Ref: Array Sorting Functions-Footnote-1918526 +Node: Two-way I/O918734 +Ref: Two-way I/O-Footnote-1926729 +Ref: Two-way I/O-Footnote-2926920 +Node: TCP/IP Networking927002 +Node: Profiling930182 +Node: Persistent Memory939892 +Ref: Persistent Memory-Footnote-1948850 +Node: Extension Philosophy948981 +Node: Advanced Features Summary950516 +Node: Internationalization952786 +Node: I18N and L10N954492 +Node: Explaining gettext955187 +Ref: Explaining gettext-Footnote-1961340 +Ref: Explaining gettext-Footnote-2961535 +Node: Programmer i18n961700 +Ref: Programmer i18n-Footnote-1966813 +Node: Translator i18n966862 +Node: String Extraction967698 +Ref: String Extraction-Footnote-1968876 +Node: Printf Ordering968974 +Ref: Printf Ordering-Footnote-1971836 +Node: I18N Portability971904 +Ref: I18N Portability-Footnote-1974478 +Node: I18N Example974549 +Ref: I18N Example-Footnote-1977949 +Ref: I18N Example-Footnote-2978025 +Node: Gawk I18N978142 +Node: I18N Summary978798 +Node: Debugger980199 +Node: Debugging981223 +Node: Debugging Concepts981672 +Node: Debugging Terms983498 +Node: Awk Debugging986111 +Ref: Awk Debugging-Footnote-1987088 +Node: Sample Debugging Session987228 +Node: Debugger Invocation987780 +Node: Finding The Bug989409 +Node: List of Debugger Commands996095 +Node: Breakpoint Control997472 +Node: Debugger Execution Control1001304 +Node: Viewing And Changing Data1004784 +Node: Execution Stack1008522 +Node: Debugger Info1010203 +Node: Miscellaneous Debugger Commands1014502 +Node: Readline Support1019755 +Node: Limitations1020701 +Node: Debugging Summary1023345 +Node: Namespaces1024648 +Node: Global Namespace1025775 +Node: Qualified Names1027220 +Node: Default Namespace1028255 +Node: Changing The Namespace1029030 +Node: Naming Rules1030724 +Node: Internal Name Management1032639 +Node: Namespace Example1033709 +Node: Namespace And Features1036292 +Node: Namespace Summary1037749 +Node: Arbitrary Precision Arithmetic1039262 +Node: Computer Arithmetic1040781 +Ref: table-numeric-ranges1044598 +Ref: table-floating-point-ranges1045096 +Ref: Computer Arithmetic-Footnote-11045755 +Node: Math Definitions1045814 +Ref: table-ieee-formats1048859 +Node: MPFR features1049433 +Node: MPFR On Parole1049886 +Ref: MPFR On Parole-Footnote-11050730 +Node: MPFR Intro1050889 +Node: FP Math Caution1052579 +Ref: FP Math Caution-Footnote-11053653 +Node: Inexactness of computations1054030 +Node: Inexact representation1055061 +Node: Comparing FP Values1056444 +Node: Errors accumulate1057702 +Node: Strange values1059169 +Ref: Strange values-Footnote-11061835 +Node: Getting Accuracy1061940 +Node: Try To Round1064677 +Node: Setting precision1065584 +Ref: table-predefined-precision-strings1066289 +Node: Setting the rounding mode1068174 +Ref: table-gawk-rounding-modes1068556 +Ref: Setting the rounding mode-Footnote-11072614 +Node: Arbitrary Precision Integers1072797 +Ref: Arbitrary Precision Integers-Footnote-11076009 +Node: Checking for MPFR1076165 +Node: POSIX Floating Point Problems1077655 +Ref: POSIX Floating Point Problems-Footnote-11082519 +Node: Floating point summary1082557 +Node: Dynamic Extensions1084821 +Node: Extension Intro1086420 +Node: Plugin License1087728 +Node: Extension Mechanism Outline1088541 +Ref: figure-load-extension1088992 +Ref: figure-register-new-function1090577 +Ref: figure-call-new-function1091687 +Node: Extension API Description1093811 +Node: Extension API Functions Introduction1095540 +Ref: table-api-std-headers1097438 +Node: General Data Types1101902 +Ref: General Data Types-Footnote-11111070 +Node: Memory Allocation Functions1111385 +Ref: Memory Allocation Functions-Footnote-11116110 +Node: Constructor Functions1116209 +Node: API Ownership of MPFR and GMP Values1120114 +Node: Registration Functions1121675 +Node: Extension Functions1122379 +Node: Exit Callback Functions1127955 +Node: Extension Version String1129274 +Node: Input Parsers1129969 +Node: Output Wrappers1144613 +Node: Two-way processors1149461 +Node: Printing Messages1151822 +Ref: Printing Messages-Footnote-11153036 +Node: Updating ERRNO1153191 +Node: Requesting Values1153990 +Ref: table-value-types-returned1154743 +Node: Accessing Parameters1155852 +Node: Symbol Table Access1157136 +Node: Symbol table by name1157652 +Ref: Symbol table by name-Footnote-11160863 +Node: Symbol table by cookie1160995 +Ref: Symbol table by cookie-Footnote-11165276 +Node: Cached values1165340 +Ref: Cached values-Footnote-11168984 +Node: Array Manipulation1169141 +Ref: Array Manipulation-Footnote-11170244 +Node: Array Data Types1170281 +Ref: Array Data Types-Footnote-11173103 +Node: Array Functions1173203 +Node: Flattening Arrays1178232 +Node: Creating Arrays1185284 +Node: Redirection API1190134 +Node: Extension API Variables1193155 +Node: Extension Versioning1193880 +Ref: gawk-api-version1194317 +Node: Extension GMP/MPFR Versioning1196105 +Node: Extension API Informational Variables1197811 +Node: Extension API Boilerplate1198972 +Node: Changes from API V11203108 +Node: Finding Extensions1204742 +Node: Extension Example1205317 +Node: Internal File Description1206141 +Node: Internal File Ops1210465 +Ref: Internal File Ops-Footnote-11222023 +Node: Using Internal File Ops1222171 +Ref: Using Internal File Ops-Footnote-11224602 +Node: Extension Samples1224880 +Node: Extension Sample File Functions1226449 +Node: Extension Sample Fnmatch1234587 +Node: Extension Sample Fork1236182 +Node: Extension Sample Inplace1237458 +Node: Extension Sample Ord1241130 +Node: Extension Sample Readdir1242006 +Ref: table-readdir-file-types1242903 +Node: Extension Sample Revout1244041 +Node: Extension Sample Rev2way1244638 +Node: Extension Sample Read write array1245390 +Node: Extension Sample Readfile1248664 +Node: Extension Sample Time1249795 +Node: Extension Sample API Tests1252085 +Node: gawkextlib1252593 +Node: Extension summary1255629 +Node: Extension Exercises1259487 +Node: Language History1260765 +Node: V7/SVR3.11262479 +Node: SVR41264829 +Node: POSIX1266361 +Node: BTL1267786 +Node: POSIX/GNU1268555 +Node: Feature History1275086 +Node: Common Extensions1294653 +Node: Ranges and Locales1296130 +Ref: Ranges and Locales-Footnote-11300931 +Ref: Ranges and Locales-Footnote-21300958 +Ref: Ranges and Locales-Footnote-31301197 +Node: Contributors1301420 +Node: History summary1307625 +Node: Installation1309071 +Node: Gawk Distribution1310035 +Node: Getting1310527 +Node: Extracting1311526 +Node: Distribution contents1313238 +Node: Unix Installation1321318 +Node: Quick Installation1322140 +Node: Compiling with MPFR1324686 +Node: Shell Startup Files1325392 +Node: Additional Configuration Options1326549 +Node: Configuration Philosophy1328936 +Node: Compiling from Git1331438 +Node: Building the Documentation1331997 +Node: Non-Unix Installation1333409 +Node: PC Installation1333885 +Node: PC Binary Installation1334758 +Node: PC Compiling1335663 +Node: PC Using1336841 +Node: Cygwin1340569 +Node: MSYS1341825 +Node: OpenVMS Installation1342457 +Node: OpenVMS Compilation1343138 +Ref: OpenVMS Compilation-Footnote-11344621 +Node: OpenVMS Dynamic Extensions1344683 +Node: OpenVMS Installation Details1346319 +Node: OpenVMS Running1348754 +Node: OpenVMS GNV1352891 +Node: Bugs1353646 +Node: Bug definition1354570 +Node: Bug address1358221 +Node: Usenet1361812 +Node: Performance bugs1363043 +Node: Asking for help1366061 +Node: Maintainers1368052 +Node: Other Versions1369079 +Node: Installation summary1378011 +Node: Notes1379395 +Node: Compatibility Mode1380205 +Node: Additions1381027 +Node: Accessing The Source1381972 +Node: Adding Code1383507 +Node: New Ports1390643 +Node: Derived Files1395153 +Ref: Derived Files-Footnote-11401000 +Ref: Derived Files-Footnote-21401035 +Ref: Derived Files-Footnote-31401652 +Node: Future Extensions1401766 +Node: Implementation Limitations1402438 +Node: Extension Design1403680 +Node: Old Extension Problems1404844 +Ref: Old Extension Problems-Footnote-11406420 +Node: Extension New Mechanism Goals1406481 +Ref: Extension New Mechanism Goals-Footnote-11409977 +Node: Extension Other Design Decisions1410178 +Node: Extension Future Growth1412377 +Node: Notes summary1413001 +Node: Basic Concepts1414214 +Node: Basic High Level1414899 +Ref: figure-general-flow1415181 +Ref: figure-process-flow1415888 +Ref: Basic High Level-Footnote-11419289 +Node: Basic Data Typing1419478 +Node: Glossary1422896 +Node: Copying1456018 +Node: GNU Free Documentation License1493779 +Node: Index1519102 End Tag Table diff --git a/doc/gawk.texi b/doc/gawk.texi index ddfde2b2..54ac53b3 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -18017,10 +18017,10 @@ own code, you should see if it's defined and save and restore the value: @example @dots{} -if ("sorted_in" in PROCINFO) @{ +if ("sorted_in" in PROCINFO) save_sorted = PROCINFO["sorted_in"] - PROCINFO["sorted_in"] = "@@val_str_desc" # or whatever -@} + +PROCINFO["sorted_in"] = "@@val_str_desc" # or whatever @dots{} if (save_sorted) PROCINFO["sorted_in"] = save_sorted diff --git a/doc/gawktexi.in b/doc/gawktexi.in index 356cd142..01c37578 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -17200,10 +17200,10 @@ own code, you should see if it's defined and save and restore the value: @example @dots{} -if ("sorted_in" in PROCINFO) @{ +if ("sorted_in" in PROCINFO) save_sorted = PROCINFO["sorted_in"] - PROCINFO["sorted_in"] = "@@val_str_desc" # or whatever -@} + +PROCINFO["sorted_in"] = "@@val_str_desc" # or whatever @dots{} if (save_sorted) PROCINFO["sorted_in"] = save_sorted |