[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4986-gfbfbeb2f

From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4986-gfbfbeb2f
Date: Thu, 2 Feb 2023 12:01:58 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, gawk-5.2-stable has been updated
       via  fbfbeb2f94eab404794d3b94f6d9279193f3f3ba (commit)
      from  240307290f243028846ed200c27e22f8bd6dc114 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit fbfbeb2f94eab404794d3b94f6d9279193f3f3ba
Author: Arnold D. Robbins <>
Date:   Thu Feb 2 18:58:04 2023 +0200

    Fix getopt.awk long option handling.

diff --git a/awklib/eg/lib/getopt.awk b/awklib/eg/lib/getopt.awk
index 69944f3f..1cf205ba 100644
--- a/awklib/eg/lib/getopt.awk
+++ b/awklib/eg/lib/getopt.awk
@@ -78,7 +78,7 @@ function getopt(argc, argv, options, longopts,    thisopt, i, 
             return "?"
-        if (substr(longopts, i+1+length(thisopt), 1) == ":") {
+        if (substr(longopts, i-1+RLENGTH, 1) == ":") {
             if (j > 0)
                 Optarg = substr(argv[Optind], j + 1)
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 8bc9c2dc..183e5d65 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,10 @@
+2023-02-02         Arnold D. Robbins     <>
+       * (Getopt Function): Fix for parsing long
+       options; first option if it took an argument didn't work.
+       Thanks to Przemek Kitszel <>
+       for the report and fix.
 2023-01-22         Arnold D. Robbins     <>
        * (Persistent Memory): Document that root can't
diff --git a/doc/ b/doc/
index ea8ce5e0..3bd67bea 100644
--- a/doc/
+++ b/doc/
@@ -17127,7 +17127,7 @@ might possibly be in ‘longopts’ (if ‘longopts’ 
is not specified, this
 test will also fail).  In case of an error, we possibly print an error
 message and then return ‘"?"’.  Continuing on:
-             if (substr(longopts, i+1+length(thisopt), 1) == ":") {
+             if (substr(longopts, i-1+RLENGTH, 1) == ":") {
                  if (j > 0)
                      Optarg = substr(argv[Optind], j + 1)
@@ -39606,300 +39606,300 @@ Ref: File Checking-Footnote-1722934
 Node: Empty Files723141
 Node: Ignoring Assigns725208
 Node: Getopt Function726782
-Ref: Getopt Function-Footnote-1742624
-Node: Passwd Functions742836
-Ref: Passwd Functions-Footnote-1752018
-Node: Group Functions752106
-Ref: Group Functions-Footnote-1760244
-Node: Walking Arrays760457
-Node: Library Functions Summary763505
-Node: Library Exercises764929
-Node: Sample Programs765416
-Node: Running Examples766198
-Node: Clones766950
-Node: Cut Program768222
-Node: Egrep Program778663
-Node: Id Program787980
-Node: Split Program798094
-Ref: Split Program-Footnote-1808329
-Node: Tee Program808516
-Node: Uniq Program811425
-Node: Wc Program819290
-Node: Bytes vs. Characters819685
-Node: Using extensions821287
-Node: wc program822067
-Node: Miscellaneous Programs827073
-Node: Dupword Program828302
-Node: Alarm Program830365
-Node: Translate Program835278
-Ref: Translate Program-Footnote-1840019
-Node: Labels Program840297
-Ref: Labels Program-Footnote-1843738
-Node: Word Sorting843830
-Node: History Sorting848024
-Node: Extract Program850299
-Node: Simple Sed858568
-Node: Igawk Program861784
-Ref: Igawk Program-Footnote-1877031
-Ref: Igawk Program-Footnote-2877237
-Ref: Igawk Program-Footnote-3877367
-Node: Anagram Program877494
-Node: Signature Program880590
-Node: Programs Summary881842
-Node: Programs Exercises883100
-Ref: Programs Exercises-Footnote-1887416
-Node: Advanced Features887502
-Node: Nondecimal Data889996
-Node: Boolean Typed Values891626
-Node: Array Sorting893601
-Node: Controlling Array Traversal894330
-Ref: Controlling Array Traversal-Footnote-1902837
-Node: Array Sorting Functions902959
-Ref: Array Sorting Functions-Footnote-1909078
-Node: Two-way I/O909286
-Ref: Two-way I/O-Footnote-1917281
-Ref: Two-way I/O-Footnote-2917472
-Node: TCP/IP Networking917554
-Node: Profiling920734
-Node: Persistent Memory930444
-Ref: Persistent Memory-Footnote-1939402
-Node: Extension Philosophy939533
-Node: Advanced Features Summary941068
-Node: Internationalization943338
-Node: I18N and L10N945044
-Node: Explaining gettext945739
-Ref: Explaining gettext-Footnote-1951892
-Ref: Explaining gettext-Footnote-2952087
-Node: Programmer i18n952252
-Ref: Programmer i18n-Footnote-1957365
-Node: Translator i18n957414
-Node: String Extraction958250
-Ref: String Extraction-Footnote-1959428
-Node: Printf Ordering959526
-Ref: Printf Ordering-Footnote-1962388
-Node: I18N Portability962456
-Ref: I18N Portability-Footnote-1965030
-Node: I18N Example965101
-Ref: I18N Example-Footnote-1968501
-Ref: I18N Example-Footnote-2968577
-Node: Gawk I18N968694
-Node: I18N Summary969350
-Node: Debugger970751
-Node: Debugging971775
-Node: Debugging Concepts972224
-Node: Debugging Terms974050
-Node: Awk Debugging976663
-Ref: Awk Debugging-Footnote-1977640
-Node: Sample Debugging Session977780
-Node: Debugger Invocation978332
-Node: Finding The Bug979961
-Node: List of Debugger Commands986647
-Node: Breakpoint Control988024
-Node: Debugger Execution Control991856
-Node: Viewing And Changing Data995336
-Node: Execution Stack999074
-Node: Debugger Info1000755
-Node: Miscellaneous Debugger Commands1005054
-Node: Readline Support1010307
-Node: Limitations1011253
-Node: Debugging Summary1013897
-Node: Namespaces1015200
-Node: Global Namespace1016327
-Node: Qualified Names1017772
-Node: Default Namespace1018807
-Node: Changing The Namespace1019582
-Node: Naming Rules1021276
-Node: Internal Name Management1023191
-Node: Namespace Example1024261
-Node: Namespace And Features1026844
-Node: Namespace Summary1028301
-Node: Arbitrary Precision Arithmetic1029814
-Node: Computer Arithmetic1031333
-Ref: table-numeric-ranges1035150
-Ref: table-floating-point-ranges1035648
-Ref: Computer Arithmetic-Footnote-11036307
-Node: Math Definitions1036366
-Ref: table-ieee-formats1039411
-Node: MPFR features1039985
-Node: MPFR On Parole1040438
-Ref: MPFR On Parole-Footnote-11041282
-Node: MPFR Intro1041441
-Node: FP Math Caution1043131
-Ref: FP Math Caution-Footnote-11044205
-Node: Inexactness of computations1044582
-Node: Inexact representation1045613
-Node: Comparing FP Values1046996
-Node: Errors accumulate1048254
-Node: Strange values1049721
-Ref: Strange values-Footnote-11052387
-Node: Getting Accuracy1052492
-Node: Try To Round1055229
-Node: Setting precision1056136
-Ref: table-predefined-precision-strings1056841
-Node: Setting the rounding mode1058726
-Ref: table-gawk-rounding-modes1059108
-Ref: Setting the rounding mode-Footnote-11063166
-Node: Arbitrary Precision Integers1063349
-Ref: Arbitrary Precision Integers-Footnote-11066561
-Node: Checking for MPFR1066717
-Node: POSIX Floating Point Problems1068207
-Ref: POSIX Floating Point Problems-Footnote-11073071
-Node: Floating point summary1073109
-Node: Dynamic Extensions1075373
-Node: Extension Intro1076972
-Node: Plugin License1078280
-Node: Extension Mechanism Outline1079093
-Ref: figure-load-extension1079544
-Ref: figure-register-new-function1081124
-Ref: figure-call-new-function1082229
-Node: Extension API Description1084348
-Node: Extension API Functions Introduction1086077
-Ref: table-api-std-headers1087975
-Node: General Data Types1092439
-Ref: General Data Types-Footnote-11101607
-Node: Memory Allocation Functions1101922
-Ref: Memory Allocation Functions-Footnote-11106647
-Node: Constructor Functions1106746
-Node: API Ownership of MPFR and GMP Values1110651
-Node: Registration Functions1112212
-Node: Extension Functions1112916
-Node: Exit Callback Functions1118492
-Node: Extension Version String1119811
-Node: Input Parsers1120506
-Node: Output Wrappers1133880
-Node: Two-way processors1138588
-Node: Printing Messages1140949
-Ref: Printing Messages-Footnote-11142163
-Node: Updating ERRNO1142318
-Node: Requesting Values1143117
-Ref: table-value-types-returned1143870
-Node: Accessing Parameters1144979
-Node: Symbol Table Access1146263
-Node: Symbol table by name1146779
-Ref: Symbol table by name-Footnote-11149990
-Node: Symbol table by cookie1150122
-Ref: Symbol table by cookie-Footnote-11154403
-Node: Cached values1154467
-Ref: Cached values-Footnote-11158111
-Node: Array Manipulation1158268
-Ref: Array Manipulation-Footnote-11159371
-Node: Array Data Types1159408
-Ref: Array Data Types-Footnote-11162230
-Node: Array Functions1162330
-Node: Flattening Arrays1167359
-Node: Creating Arrays1174411
-Node: Redirection API1179261
-Node: Extension API Variables1182282
-Node: Extension Versioning1183007
-Ref: gawk-api-version1183444
-Node: Extension GMP/MPFR Versioning1185232
-Node: Extension API Informational Variables1186938
-Node: Extension API Boilerplate1188099
-Node: Changes from API V11192235
-Node: Finding Extensions1193869
-Node: Extension Example1194444
-Node: Internal File Description1195268
-Node: Internal File Ops1199592
-Ref: Internal File Ops-Footnote-11211150
-Node: Using Internal File Ops1211298
-Ref: Using Internal File Ops-Footnote-11213729
-Node: Extension Samples1214007
-Node: Extension Sample File Functions1215576
-Node: Extension Sample Fnmatch1223714
-Node: Extension Sample Fork1225309
-Node: Extension Sample Inplace1226585
-Node: Extension Sample Ord1230257
-Node: Extension Sample Readdir1231133
-Ref: table-readdir-file-types1232030
-Node: Extension Sample Revout1233168
-Node: Extension Sample Rev2way1233765
-Node: Extension Sample Read write array1234517
-Node: Extension Sample Readfile1237791
-Node: Extension Sample Time1238922
-Node: Extension Sample API Tests1241212
-Node: gawkextlib1241720
-Node: Extension summary1244756
-Node: Extension Exercises1248614
-Node: Language History1249892
-Node: V7/SVR3.11251606
-Node: SVR41253956
-Node: POSIX1255488
-Node: BTL1256913
-Node: POSIX/GNU1257682
-Node: Feature History1264213
-Node: Common Extensions1283278
-Node: Ranges and Locales1284647
-Ref: Ranges and Locales-Footnote-11289448
-Ref: Ranges and Locales-Footnote-21289475
-Ref: Ranges and Locales-Footnote-31289714
-Node: Contributors1289937
-Node: History summary1296142
-Node: Installation1297588
-Node: Gawk Distribution1298552
-Node: Getting1299044
-Node: Extracting1300043
-Node: Distribution contents1301755
-Node: Unix Installation1309835
-Node: Quick Installation1310657
-Node: Compiling with MPFR1313203
-Node: Shell Startup Files1313909
-Node: Additional Configuration Options1315066
-Node: Configuration Philosophy1317453
-Node: Compiling from Git1319955
-Node: Building the Documentation1320514
-Node: Non-Unix Installation1321926
-Node: PC Installation1322402
-Node: PC Binary Installation1323275
-Node: PC Compiling1324180
-Node: PC Using1325358
-Node: Cygwin1329086
-Node: MSYS1330342
-Node: OpenVMS Installation1330974
-Node: OpenVMS Compilation1331655
-Ref: OpenVMS Compilation-Footnote-11333138
-Node: OpenVMS Dynamic Extensions1333200
-Node: OpenVMS Installation Details1334836
-Node: OpenVMS Running1337271
-Node: OpenVMS GNV1341408
-Node: Bugs1342163
-Node: Bug definition1343087
-Node: Bug address1346738
-Node: Usenet1350329
-Node: Performance bugs1351560
-Node: Asking for help1354578
-Node: Maintainers1356569
-Node: Other Versions1357596
-Node: Installation summary1366528
-Node: Notes1367912
-Node: Compatibility Mode1368722
-Node: Additions1369544
-Node: Accessing The Source1370489
-Node: Adding Code1372024
-Node: New Ports1379160
-Node: Derived Files1383670
-Ref: Derived Files-Footnote-11389517
-Ref: Derived Files-Footnote-21389552
-Ref: Derived Files-Footnote-31390169
-Node: Future Extensions1390283
-Node: Implementation Limitations1390955
-Node: Extension Design1392197
-Node: Old Extension Problems1393361
-Ref: Old Extension Problems-Footnote-11394937
-Node: Extension New Mechanism Goals1394998
-Ref: Extension New Mechanism Goals-Footnote-11398494
-Node: Extension Other Design Decisions1398695
-Node: Extension Future Growth1400894
-Node: Notes summary1401518
-Node: Basic Concepts1402731
-Node: Basic High Level1403416
-Ref: figure-general-flow1403698
-Ref: figure-process-flow1404400
-Ref: Basic High Level-Footnote-11407796
-Node: Basic Data Typing1407985
-Node: Glossary1411403
-Node: Copying1444525
-Node: GNU Free Documentation License1482286
-Node: Index1507609
+Ref: Getopt Function-Footnote-1742616
+Node: Passwd Functions742828
+Ref: Passwd Functions-Footnote-1752010
+Node: Group Functions752098
+Ref: Group Functions-Footnote-1760236
+Node: Walking Arrays760449
+Node: Library Functions Summary763497
+Node: Library Exercises764921
+Node: Sample Programs765408
+Node: Running Examples766190
+Node: Clones766942
+Node: Cut Program768214
+Node: Egrep Program778655
+Node: Id Program787972
+Node: Split Program798086
+Ref: Split Program-Footnote-1808321
+Node: Tee Program808508
+Node: Uniq Program811417
+Node: Wc Program819282
+Node: Bytes vs. Characters819677
+Node: Using extensions821279
+Node: wc program822059
+Node: Miscellaneous Programs827065
+Node: Dupword Program828294
+Node: Alarm Program830357
+Node: Translate Program835270
+Ref: Translate Program-Footnote-1840011
+Node: Labels Program840289
+Ref: Labels Program-Footnote-1843730
+Node: Word Sorting843822
+Node: History Sorting848016
+Node: Extract Program850291
+Node: Simple Sed858560
+Node: Igawk Program861776
+Ref: Igawk Program-Footnote-1877023
+Ref: Igawk Program-Footnote-2877229
+Ref: Igawk Program-Footnote-3877359
+Node: Anagram Program877486
+Node: Signature Program880582
+Node: Programs Summary881834
+Node: Programs Exercises883092
+Ref: Programs Exercises-Footnote-1887408
+Node: Advanced Features887494
+Node: Nondecimal Data889988
+Node: Boolean Typed Values891618
+Node: Array Sorting893593
+Node: Controlling Array Traversal894322
+Ref: Controlling Array Traversal-Footnote-1902829
+Node: Array Sorting Functions902951
+Ref: Array Sorting Functions-Footnote-1909070
+Node: Two-way I/O909278
+Ref: Two-way I/O-Footnote-1917273
+Ref: Two-way I/O-Footnote-2917464
+Node: TCP/IP Networking917546
+Node: Profiling920726
+Node: Persistent Memory930436
+Ref: Persistent Memory-Footnote-1939394
+Node: Extension Philosophy939525
+Node: Advanced Features Summary941060
+Node: Internationalization943330
+Node: I18N and L10N945036
+Node: Explaining gettext945731
+Ref: Explaining gettext-Footnote-1951884
+Ref: Explaining gettext-Footnote-2952079
+Node: Programmer i18n952244
+Ref: Programmer i18n-Footnote-1957357
+Node: Translator i18n957406
+Node: String Extraction958242
+Ref: String Extraction-Footnote-1959420
+Node: Printf Ordering959518
+Ref: Printf Ordering-Footnote-1962380
+Node: I18N Portability962448
+Ref: I18N Portability-Footnote-1965022
+Node: I18N Example965093
+Ref: I18N Example-Footnote-1968493
+Ref: I18N Example-Footnote-2968569
+Node: Gawk I18N968686
+Node: I18N Summary969342
+Node: Debugger970743
+Node: Debugging971767
+Node: Debugging Concepts972216
+Node: Debugging Terms974042
+Node: Awk Debugging976655
+Ref: Awk Debugging-Footnote-1977632
+Node: Sample Debugging Session977772
+Node: Debugger Invocation978324
+Node: Finding The Bug979953
+Node: List of Debugger Commands986639
+Node: Breakpoint Control988016
+Node: Debugger Execution Control991848
+Node: Viewing And Changing Data995328
+Node: Execution Stack999066
+Node: Debugger Info1000747
+Node: Miscellaneous Debugger Commands1005046
+Node: Readline Support1010299
+Node: Limitations1011245
+Node: Debugging Summary1013889
+Node: Namespaces1015192
+Node: Global Namespace1016319
+Node: Qualified Names1017764
+Node: Default Namespace1018799
+Node: Changing The Namespace1019574
+Node: Naming Rules1021268
+Node: Internal Name Management1023183
+Node: Namespace Example1024253
+Node: Namespace And Features1026836
+Node: Namespace Summary1028293
+Node: Arbitrary Precision Arithmetic1029806
+Node: Computer Arithmetic1031325
+Ref: table-numeric-ranges1035142
+Ref: table-floating-point-ranges1035640
+Ref: Computer Arithmetic-Footnote-11036299
+Node: Math Definitions1036358
+Ref: table-ieee-formats1039403
+Node: MPFR features1039977
+Node: MPFR On Parole1040430
+Ref: MPFR On Parole-Footnote-11041274
+Node: MPFR Intro1041433
+Node: FP Math Caution1043123
+Ref: FP Math Caution-Footnote-11044197
+Node: Inexactness of computations1044574
+Node: Inexact representation1045605
+Node: Comparing FP Values1046988
+Node: Errors accumulate1048246
+Node: Strange values1049713
+Ref: Strange values-Footnote-11052379
+Node: Getting Accuracy1052484
+Node: Try To Round1055221
+Node: Setting precision1056128
+Ref: table-predefined-precision-strings1056833
+Node: Setting the rounding mode1058718
+Ref: table-gawk-rounding-modes1059100
+Ref: Setting the rounding mode-Footnote-11063158
+Node: Arbitrary Precision Integers1063341
+Ref: Arbitrary Precision Integers-Footnote-11066553
+Node: Checking for MPFR1066709
+Node: POSIX Floating Point Problems1068199
+Ref: POSIX Floating Point Problems-Footnote-11073063
+Node: Floating point summary1073101
+Node: Dynamic Extensions1075365
+Node: Extension Intro1076964
+Node: Plugin License1078272
+Node: Extension Mechanism Outline1079085
+Ref: figure-load-extension1079536
+Ref: figure-register-new-function1081116
+Ref: figure-call-new-function1082221
+Node: Extension API Description1084340
+Node: Extension API Functions Introduction1086069
+Ref: table-api-std-headers1087967
+Node: General Data Types1092431
+Ref: General Data Types-Footnote-11101599
+Node: Memory Allocation Functions1101914
+Ref: Memory Allocation Functions-Footnote-11106639
+Node: Constructor Functions1106738
+Node: API Ownership of MPFR and GMP Values1110643
+Node: Registration Functions1112204
+Node: Extension Functions1112908
+Node: Exit Callback Functions1118484
+Node: Extension Version String1119803
+Node: Input Parsers1120498
+Node: Output Wrappers1133872
+Node: Two-way processors1138580
+Node: Printing Messages1140941
+Ref: Printing Messages-Footnote-11142155
+Node: Updating ERRNO1142310
+Node: Requesting Values1143109
+Ref: table-value-types-returned1143862
+Node: Accessing Parameters1144971
+Node: Symbol Table Access1146255
+Node: Symbol table by name1146771
+Ref: Symbol table by name-Footnote-11149982
+Node: Symbol table by cookie1150114
+Ref: Symbol table by cookie-Footnote-11154395
+Node: Cached values1154459
+Ref: Cached values-Footnote-11158103
+Node: Array Manipulation1158260
+Ref: Array Manipulation-Footnote-11159363
+Node: Array Data Types1159400
+Ref: Array Data Types-Footnote-11162222
+Node: Array Functions1162322
+Node: Flattening Arrays1167351
+Node: Creating Arrays1174403
+Node: Redirection API1179253
+Node: Extension API Variables1182274
+Node: Extension Versioning1182999
+Ref: gawk-api-version1183436
+Node: Extension GMP/MPFR Versioning1185224
+Node: Extension API Informational Variables1186930
+Node: Extension API Boilerplate1188091
+Node: Changes from API V11192227
+Node: Finding Extensions1193861
+Node: Extension Example1194436
+Node: Internal File Description1195260
+Node: Internal File Ops1199584
+Ref: Internal File Ops-Footnote-11211142
+Node: Using Internal File Ops1211290
+Ref: Using Internal File Ops-Footnote-11213721
+Node: Extension Samples1213999
+Node: Extension Sample File Functions1215568
+Node: Extension Sample Fnmatch1223706
+Node: Extension Sample Fork1225301
+Node: Extension Sample Inplace1226577
+Node: Extension Sample Ord1230249
+Node: Extension Sample Readdir1231125
+Ref: table-readdir-file-types1232022
+Node: Extension Sample Revout1233160
+Node: Extension Sample Rev2way1233757
+Node: Extension Sample Read write array1234509
+Node: Extension Sample Readfile1237783
+Node: Extension Sample Time1238914
+Node: Extension Sample API Tests1241204
+Node: gawkextlib1241712
+Node: Extension summary1244748
+Node: Extension Exercises1248606
+Node: Language History1249884
+Node: V7/SVR3.11251598
+Node: SVR41253948
+Node: POSIX1255480
+Node: BTL1256905
+Node: POSIX/GNU1257674
+Node: Feature History1264205
+Node: Common Extensions1283270
+Node: Ranges and Locales1284639
+Ref: Ranges and Locales-Footnote-11289440
+Ref: Ranges and Locales-Footnote-21289467
+Ref: Ranges and Locales-Footnote-31289706
+Node: Contributors1289929
+Node: History summary1296134
+Node: Installation1297580
+Node: Gawk Distribution1298544
+Node: Getting1299036
+Node: Extracting1300035
+Node: Distribution contents1301747
+Node: Unix Installation1309827
+Node: Quick Installation1310649
+Node: Compiling with MPFR1313195
+Node: Shell Startup Files1313901
+Node: Additional Configuration Options1315058
+Node: Configuration Philosophy1317445
+Node: Compiling from Git1319947
+Node: Building the Documentation1320506
+Node: Non-Unix Installation1321918
+Node: PC Installation1322394
+Node: PC Binary Installation1323267
+Node: PC Compiling1324172
+Node: PC Using1325350
+Node: Cygwin1329078
+Node: MSYS1330334
+Node: OpenVMS Installation1330966
+Node: OpenVMS Compilation1331647
+Ref: OpenVMS Compilation-Footnote-11333130
+Node: OpenVMS Dynamic Extensions1333192
+Node: OpenVMS Installation Details1334828
+Node: OpenVMS Running1337263
+Node: OpenVMS GNV1341400
+Node: Bugs1342155
+Node: Bug definition1343079
+Node: Bug address1346730
+Node: Usenet1350321
+Node: Performance bugs1351552
+Node: Asking for help1354570
+Node: Maintainers1356561
+Node: Other Versions1357588
+Node: Installation summary1366520
+Node: Notes1367904
+Node: Compatibility Mode1368714
+Node: Additions1369536
+Node: Accessing The Source1370481
+Node: Adding Code1372016
+Node: New Ports1379152
+Node: Derived Files1383662
+Ref: Derived Files-Footnote-11389509
+Ref: Derived Files-Footnote-21389544
+Ref: Derived Files-Footnote-31390161
+Node: Future Extensions1390275
+Node: Implementation Limitations1390947
+Node: Extension Design1392189
+Node: Old Extension Problems1393353
+Ref: Old Extension Problems-Footnote-11394929
+Node: Extension New Mechanism Goals1394990
+Ref: Extension New Mechanism Goals-Footnote-11398486
+Node: Extension Other Design Decisions1398687
+Node: Extension Future Growth1400886
+Node: Notes summary1401510
+Node: Basic Concepts1402723
+Node: Basic High Level1403408
+Ref: figure-general-flow1403690
+Ref: figure-process-flow1404392
+Ref: Basic High Level-Footnote-11407788
+Node: Basic Data Typing1407977
+Node: Glossary1411395
+Node: Copying1444517
+Node: GNU Free Documentation License1482278
+Node: Index1507601
 End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index ab71a529..07afa6b4 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -24312,7 +24312,7 @@ print an error message and then return @code{"?"}. 
Continuing on:
 @c file eg/lib/getopt.awk
-        if (substr(longopts, i+1+length(thisopt), 1) == ":") @{
+        if (substr(longopts, i-1+RLENGTH, 1) == ":") @{
             if (j > 0)
                 Optarg = substr(argv[Optind], j + 1)
diff --git a/doc/ b/doc/
index d5d13128..158395b4 100644
--- a/doc/
+++ b/doc/
@@ -23267,7 +23267,7 @@ print an error message and then return @code{"?"}. 
Continuing on:
 @c file eg/lib/getopt.awk
-        if (substr(longopts, i+1+length(thisopt), 1) == ":") @{
+        if (substr(longopts, i-1+RLENGTH, 1) == ":") @{
             if (j > 0)
                 Optarg = substr(argv[Optind], j + 1)


Summary of changes:
 awklib/eg/lib/getopt.awk |   2 +-
 doc/ChangeLog            |   7 +
 doc/            | 590 +++++++++++++++++++++++------------------------
 doc/gawk.texi            |   2 +-
 doc/          |   2 +-
 5 files changed, 305 insertions(+), 298 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]