aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.info
diff options
context:
space:
mode:
Diffstat (limited to 'doc/gawk.info')
-rw-r--r--doc/gawk.info479
1 files changed, 240 insertions, 239 deletions
diff --git a/doc/gawk.info b/doc/gawk.info
index 1fd7626a..fa392334 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -19003,7 +19003,7 @@ back into a single line. That line is then printed to the output file:
}
if ($3 != curfile) {
if (curfile != "")
- filelist[curfile]++ # save to close later
+ filelist[curfile] = 1 # save to close later
curfile = $3
}
@@ -19051,8 +19051,9 @@ after the other ended up getting clobbered.) An 'END' rule then closes
all the open files when processing is finished:
END {
- for (f in filelist)
- close(filelist[f])
+ close(curfile) # close the last one
+ for (f in filelist) # close all the rest
+ close(f)
}
Finally, the function 'unexpected_eof()' prints an appropriate error
@@ -36363,241 +36364,241 @@ Ref: Labels Program-Footnote-1764674
Node: Word Sorting764758
Node: History Sorting768830
Node: Extract Program770665
-Node: Simple Sed778716
-Node: Igawk Program781790
-Ref: Igawk Program-Footnote-1796121
-Ref: Igawk Program-Footnote-2796323
-Ref: Igawk Program-Footnote-3796445
-Node: Anagram Program796560
-Node: Signature Program799622
-Node: Programs Summary800869
-Node: Programs Exercises802083
-Ref: Programs Exercises-Footnote-1806212
-Node: Advanced Features806303
-Node: Nondecimal Data808293
-Node: Array Sorting809884
-Node: Controlling Array Traversal810584
-Ref: Controlling Array Traversal-Footnote-1818952
-Node: Array Sorting Functions819070
-Ref: Array Sorting Functions-Footnote-1824161
-Node: Two-way I/O824357
-Ref: Two-way I/O-Footnote-1830909
-Ref: Two-way I/O-Footnote-2831096
-Node: TCP/IP Networking831178
-Node: Profiling834296
-Ref: Profiling-Footnote-1842968
-Node: Advanced Features Summary843291
-Node: Internationalization845135
-Node: I18N and L10N846615
-Node: Explaining gettext847302
-Ref: Explaining gettext-Footnote-1853194
-Ref: Explaining gettext-Footnote-2853379
-Node: Programmer i18n853544
-Ref: Programmer i18n-Footnote-1858493
-Node: Translator i18n858542
-Node: String Extraction859336
-Ref: String Extraction-Footnote-1860468
-Node: Printf Ordering860554
-Ref: Printf Ordering-Footnote-1863340
-Node: I18N Portability863404
-Ref: I18N Portability-Footnote-1865860
-Node: I18N Example865923
-Ref: I18N Example-Footnote-1868729
-Node: Gawk I18N868802
-Node: I18N Summary869447
-Node: Debugger870788
-Node: Debugging871811
-Node: Debugging Concepts872252
-Node: Debugging Terms874061
-Node: Awk Debugging876636
-Node: Sample Debugging Session877542
-Node: Debugger Invocation878076
-Node: Finding The Bug879462
-Node: List of Debugger Commands885940
-Node: Breakpoint Control887273
-Node: Debugger Execution Control890967
-Node: Viewing And Changing Data894329
-Node: Execution Stack897703
-Node: Debugger Info899340
-Node: Miscellaneous Debugger Commands903411
-Node: Readline Support908473
-Node: Limitations909369
-Node: Debugging Summary911478
-Node: Arbitrary Precision Arithmetic912757
-Node: Computer Arithmetic914242
-Ref: table-numeric-ranges918008
-Ref: table-floating-point-ranges918501
-Ref: Computer Arithmetic-Footnote-1919159
-Node: Math Definitions919216
-Ref: table-ieee-formats922532
-Ref: Math Definitions-Footnote-1923135
-Node: MPFR features923240
-Node: FP Math Caution924958
-Ref: FP Math Caution-Footnote-1926030
-Node: Inexactness of computations926399
-Node: Inexact representation927359
-Node: Comparing FP Values928719
-Node: Errors accumulate929801
-Node: Getting Accuracy931234
-Node: Try To Round933944
-Node: Setting precision934843
-Ref: table-predefined-precision-strings935540
-Node: Setting the rounding mode937370
-Ref: table-gawk-rounding-modes937744
-Ref: Setting the rounding mode-Footnote-1941675
-Node: Arbitrary Precision Integers941854
-Ref: Arbitrary Precision Integers-Footnote-1945029
-Node: Checking for MPFR945178
-Node: POSIX Floating Point Problems946652
-Ref: POSIX Floating Point Problems-Footnote-1950523
-Node: Floating point summary950561
-Node: Dynamic Extensions952751
-Node: Extension Intro954304
-Node: Plugin License955570
-Node: Extension Mechanism Outline956367
-Ref: figure-load-extension956806
-Ref: figure-register-new-function958371
-Ref: figure-call-new-function959463
-Node: Extension API Description961525
-Node: Extension API Functions Introduction963167
-Node: General Data Types968707
-Ref: General Data Types-Footnote-1977068
-Node: Memory Allocation Functions977367
-Ref: Memory Allocation Functions-Footnote-1981577
-Node: Constructor Functions981676
-Node: Registration Functions985262
-Node: Extension Functions985947
-Node: Exit Callback Functions991162
-Node: Extension Version String992412
-Node: Input Parsers993075
-Node: Output Wrappers1005796
-Node: Two-way processors1010308
-Node: Printing Messages1012573
-Ref: Printing Messages-Footnote-11013744
-Node: Updating ERRNO1013897
-Node: Requesting Values1014636
-Ref: table-value-types-returned1015373
-Node: Accessing Parameters1016309
-Node: Symbol Table Access1017544
-Node: Symbol table by name1018056
-Node: Symbol table by cookie1019845
-Ref: Symbol table by cookie-Footnote-11024030
-Node: Cached values1024094
-Ref: Cached values-Footnote-11027630
-Node: Array Manipulation1027783
-Ref: Array Manipulation-Footnote-11028874
-Node: Array Data Types1028911
-Ref: Array Data Types-Footnote-11031569
-Node: Array Functions1031661
-Node: Flattening Arrays1036159
-Node: Creating Arrays1043135
-Node: Redirection API1047902
-Node: Extension API Variables1050735
-Node: Extension Versioning1051446
-Ref: gawk-api-version1051875
-Node: Extension GMP/MPFR Versioning1053606
-Node: Extension API Informational Variables1055234
-Node: Extension API Boilerplate1056307
-Node: Changes from API V11060281
-Node: Finding Extensions1061853
-Node: Extension Example1062412
-Node: Internal File Description1063210
-Node: Internal File Ops1067290
-Ref: Internal File Ops-Footnote-11078640
-Node: Using Internal File Ops1078780
-Ref: Using Internal File Ops-Footnote-11081163
-Node: Extension Samples1081437
-Node: Extension Sample File Functions1082966
-Node: Extension Sample Fnmatch1090615
-Node: Extension Sample Fork1092102
-Node: Extension Sample Inplace1093320
-Node: Extension Sample Ord1096537
-Node: Extension Sample Readdir1097373
-Ref: table-readdir-file-types1098262
-Node: Extension Sample Revout1099067
-Node: Extension Sample Rev2way1099656
-Node: Extension Sample Read write array1100396
-Node: Extension Sample Readfile1102338
-Node: Extension Sample Time1103433
-Node: Extension Sample API Tests1104781
-Node: gawkextlib1105273
-Node: Extension summary1108191
-Node: Extension Exercises1111893
-Node: Language History1113391
-Node: V7/SVR3.11115047
-Node: SVR41117199
-Node: POSIX1118633
-Node: BTL1120013
-Node: POSIX/GNU1120742
-Node: Feature History1126520
-Node: Common Extensions1142379
-Node: Ranges and Locales1143662
-Ref: Ranges and Locales-Footnote-11148278
-Ref: Ranges and Locales-Footnote-21148305
-Ref: Ranges and Locales-Footnote-31148540
-Node: Contributors1148761
-Node: History summary1154706
-Node: Installation1156086
-Node: Gawk Distribution1157030
-Node: Getting1157514
-Node: Extracting1158477
-Node: Distribution contents1160115
-Node: Unix Installation1166595
-Node: Quick Installation1167277
-Node: Shell Startup Files1169691
-Node: Additional Configuration Options1170780
-Node: Configuration Philosophy1172945
-Node: Non-Unix Installation1175314
-Node: PC Installation1175774
-Node: PC Binary Installation1176612
-Node: PC Compiling1177047
-Node: PC Using1178164
-Node: Cygwin1181379
-Node: MSYS1182478
-Node: VMS Installation1182979
-Node: VMS Compilation1183770
-Ref: VMS Compilation-Footnote-11184999
-Node: VMS Dynamic Extensions1185057
-Node: VMS Installation Details1186742
-Node: VMS Running1188995
-Node: VMS GNV1193274
-Node: VMS Old Gawk1194009
-Node: Bugs1194480
-Node: Bug address1195143
-Node: Usenet1197935
-Node: Maintainers1198712
-Node: Other Versions1199973
-Node: Installation summary1206735
-Node: Notes1207937
-Node: Compatibility Mode1208802
-Node: Additions1209584
-Node: Accessing The Source1210509
-Node: Adding Code1211946
-Node: New Ports1218165
-Node: Derived Files1222653
-Ref: Derived Files-Footnote-11228299
-Ref: Derived Files-Footnote-21228334
-Ref: Derived Files-Footnote-31228932
-Node: Future Extensions1229046
-Node: Implementation Limitations1229704
-Node: Extension Design1230887
-Node: Old Extension Problems1232041
-Ref: Old Extension Problems-Footnote-11233559
-Node: Extension New Mechanism Goals1233616
-Ref: Extension New Mechanism Goals-Footnote-11236980
-Node: Extension Other Design Decisions1237169
-Node: Extension Future Growth1239282
-Node: Old Extension Mechanism1240118
-Node: Notes summary1241881
-Node: Basic Concepts1243063
-Node: Basic High Level1243744
-Ref: figure-general-flow1244026
-Ref: figure-process-flow1244711
-Ref: Basic High Level-Footnote-11248012
-Node: Basic Data Typing1248197
-Node: Glossary1251525
-Node: Copying1283363
-Node: GNU Free Documentation License1320906
-Node: Index1346026
+Node: Simple Sed778785
+Node: Igawk Program781859
+Ref: Igawk Program-Footnote-1796190
+Ref: Igawk Program-Footnote-2796392
+Ref: Igawk Program-Footnote-3796514
+Node: Anagram Program796629
+Node: Signature Program799691
+Node: Programs Summary800938
+Node: Programs Exercises802152
+Ref: Programs Exercises-Footnote-1806281
+Node: Advanced Features806372
+Node: Nondecimal Data808362
+Node: Array Sorting809953
+Node: Controlling Array Traversal810653
+Ref: Controlling Array Traversal-Footnote-1819021
+Node: Array Sorting Functions819139
+Ref: Array Sorting Functions-Footnote-1824230
+Node: Two-way I/O824426
+Ref: Two-way I/O-Footnote-1830978
+Ref: Two-way I/O-Footnote-2831165
+Node: TCP/IP Networking831247
+Node: Profiling834365
+Ref: Profiling-Footnote-1843037
+Node: Advanced Features Summary843360
+Node: Internationalization845204
+Node: I18N and L10N846684
+Node: Explaining gettext847371
+Ref: Explaining gettext-Footnote-1853263
+Ref: Explaining gettext-Footnote-2853448
+Node: Programmer i18n853613
+Ref: Programmer i18n-Footnote-1858562
+Node: Translator i18n858611
+Node: String Extraction859405
+Ref: String Extraction-Footnote-1860537
+Node: Printf Ordering860623
+Ref: Printf Ordering-Footnote-1863409
+Node: I18N Portability863473
+Ref: I18N Portability-Footnote-1865929
+Node: I18N Example865992
+Ref: I18N Example-Footnote-1868798
+Node: Gawk I18N868871
+Node: I18N Summary869516
+Node: Debugger870857
+Node: Debugging871880
+Node: Debugging Concepts872321
+Node: Debugging Terms874130
+Node: Awk Debugging876705
+Node: Sample Debugging Session877611
+Node: Debugger Invocation878145
+Node: Finding The Bug879531
+Node: List of Debugger Commands886009
+Node: Breakpoint Control887342
+Node: Debugger Execution Control891036
+Node: Viewing And Changing Data894398
+Node: Execution Stack897772
+Node: Debugger Info899409
+Node: Miscellaneous Debugger Commands903480
+Node: Readline Support908542
+Node: Limitations909438
+Node: Debugging Summary911547
+Node: Arbitrary Precision Arithmetic912826
+Node: Computer Arithmetic914311
+Ref: table-numeric-ranges918077
+Ref: table-floating-point-ranges918570
+Ref: Computer Arithmetic-Footnote-1919228
+Node: Math Definitions919285
+Ref: table-ieee-formats922601
+Ref: Math Definitions-Footnote-1923204
+Node: MPFR features923309
+Node: FP Math Caution925027
+Ref: FP Math Caution-Footnote-1926099
+Node: Inexactness of computations926468
+Node: Inexact representation927428
+Node: Comparing FP Values928788
+Node: Errors accumulate929870
+Node: Getting Accuracy931303
+Node: Try To Round934013
+Node: Setting precision934912
+Ref: table-predefined-precision-strings935609
+Node: Setting the rounding mode937439
+Ref: table-gawk-rounding-modes937813
+Ref: Setting the rounding mode-Footnote-1941744
+Node: Arbitrary Precision Integers941923
+Ref: Arbitrary Precision Integers-Footnote-1945098
+Node: Checking for MPFR945247
+Node: POSIX Floating Point Problems946721
+Ref: POSIX Floating Point Problems-Footnote-1950592
+Node: Floating point summary950630
+Node: Dynamic Extensions952820
+Node: Extension Intro954373
+Node: Plugin License955639
+Node: Extension Mechanism Outline956436
+Ref: figure-load-extension956875
+Ref: figure-register-new-function958440
+Ref: figure-call-new-function959532
+Node: Extension API Description961594
+Node: Extension API Functions Introduction963236
+Node: General Data Types968776
+Ref: General Data Types-Footnote-1977137
+Node: Memory Allocation Functions977436
+Ref: Memory Allocation Functions-Footnote-1981646
+Node: Constructor Functions981745
+Node: Registration Functions985331
+Node: Extension Functions986016
+Node: Exit Callback Functions991231
+Node: Extension Version String992481
+Node: Input Parsers993144
+Node: Output Wrappers1005865
+Node: Two-way processors1010377
+Node: Printing Messages1012642
+Ref: Printing Messages-Footnote-11013813
+Node: Updating ERRNO1013966
+Node: Requesting Values1014705
+Ref: table-value-types-returned1015442
+Node: Accessing Parameters1016378
+Node: Symbol Table Access1017613
+Node: Symbol table by name1018125
+Node: Symbol table by cookie1019914
+Ref: Symbol table by cookie-Footnote-11024099
+Node: Cached values1024163
+Ref: Cached values-Footnote-11027699
+Node: Array Manipulation1027852
+Ref: Array Manipulation-Footnote-11028943
+Node: Array Data Types1028980
+Ref: Array Data Types-Footnote-11031638
+Node: Array Functions1031730
+Node: Flattening Arrays1036228
+Node: Creating Arrays1043204
+Node: Redirection API1047971
+Node: Extension API Variables1050804
+Node: Extension Versioning1051515
+Ref: gawk-api-version1051944
+Node: Extension GMP/MPFR Versioning1053675
+Node: Extension API Informational Variables1055303
+Node: Extension API Boilerplate1056376
+Node: Changes from API V11060350
+Node: Finding Extensions1061922
+Node: Extension Example1062481
+Node: Internal File Description1063279
+Node: Internal File Ops1067359
+Ref: Internal File Ops-Footnote-11078709
+Node: Using Internal File Ops1078849
+Ref: Using Internal File Ops-Footnote-11081232
+Node: Extension Samples1081506
+Node: Extension Sample File Functions1083035
+Node: Extension Sample Fnmatch1090684
+Node: Extension Sample Fork1092171
+Node: Extension Sample Inplace1093389
+Node: Extension Sample Ord1096606
+Node: Extension Sample Readdir1097442
+Ref: table-readdir-file-types1098331
+Node: Extension Sample Revout1099136
+Node: Extension Sample Rev2way1099725
+Node: Extension Sample Read write array1100465
+Node: Extension Sample Readfile1102407
+Node: Extension Sample Time1103502
+Node: Extension Sample API Tests1104850
+Node: gawkextlib1105342
+Node: Extension summary1108260
+Node: Extension Exercises1111962
+Node: Language History1113460
+Node: V7/SVR3.11115116
+Node: SVR41117268
+Node: POSIX1118702
+Node: BTL1120082
+Node: POSIX/GNU1120811
+Node: Feature History1126589
+Node: Common Extensions1142448
+Node: Ranges and Locales1143731
+Ref: Ranges and Locales-Footnote-11148347
+Ref: Ranges and Locales-Footnote-21148374
+Ref: Ranges and Locales-Footnote-31148609
+Node: Contributors1148830
+Node: History summary1154775
+Node: Installation1156155
+Node: Gawk Distribution1157099
+Node: Getting1157583
+Node: Extracting1158546
+Node: Distribution contents1160184
+Node: Unix Installation1166664
+Node: Quick Installation1167346
+Node: Shell Startup Files1169760
+Node: Additional Configuration Options1170849
+Node: Configuration Philosophy1173014
+Node: Non-Unix Installation1175383
+Node: PC Installation1175843
+Node: PC Binary Installation1176681
+Node: PC Compiling1177116
+Node: PC Using1178233
+Node: Cygwin1181448
+Node: MSYS1182547
+Node: VMS Installation1183048
+Node: VMS Compilation1183839
+Ref: VMS Compilation-Footnote-11185068
+Node: VMS Dynamic Extensions1185126
+Node: VMS Installation Details1186811
+Node: VMS Running1189064
+Node: VMS GNV1193343
+Node: VMS Old Gawk1194078
+Node: Bugs1194549
+Node: Bug address1195212
+Node: Usenet1198004
+Node: Maintainers1198781
+Node: Other Versions1200042
+Node: Installation summary1206804
+Node: Notes1208006
+Node: Compatibility Mode1208871
+Node: Additions1209653
+Node: Accessing The Source1210578
+Node: Adding Code1212015
+Node: New Ports1218234
+Node: Derived Files1222722
+Ref: Derived Files-Footnote-11228368
+Ref: Derived Files-Footnote-21228403
+Ref: Derived Files-Footnote-31229001
+Node: Future Extensions1229115
+Node: Implementation Limitations1229773
+Node: Extension Design1230956
+Node: Old Extension Problems1232110
+Ref: Old Extension Problems-Footnote-11233628
+Node: Extension New Mechanism Goals1233685
+Ref: Extension New Mechanism Goals-Footnote-11237049
+Node: Extension Other Design Decisions1237238
+Node: Extension Future Growth1239351
+Node: Old Extension Mechanism1240187
+Node: Notes summary1241950
+Node: Basic Concepts1243132
+Node: Basic High Level1243813
+Ref: figure-general-flow1244095
+Ref: figure-process-flow1244780
+Ref: Basic High Level-Footnote-11248081
+Node: Basic Data Typing1248266
+Node: Glossary1251594
+Node: Copying1283432
+Node: GNU Free Documentation License1320975
+Node: Index1346095

End Tag Table