aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awklib/eg/lib/div.awk2
-rw-r--r--doc/ChangeLog5
-rw-r--r--doc/gawk.info294
-rw-r--r--doc/gawk.texi2
-rw-r--r--doc/gawktexi.in2
5 files changed, 155 insertions, 150 deletions
diff --git a/awklib/eg/lib/div.awk b/awklib/eg/lib/div.awk
index 9d919288..5939024d 100644
--- a/awklib/eg/lib/div.awk
+++ b/awklib/eg/lib/div.awk
@@ -4,7 +4,7 @@
# Arnold Robbins, arnold@skeeve.com, Public Domain
# July, 2014
-function div(numerator, denominator, result, i)
+function div(numerator, denominator, result)
{
split("", result)
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 552ece4e..2ea78c54 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2014-10-02 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Fix braino in awk version of div function.
+ Thanks to Katie Wasserman for the catch.
+
2014-10-01 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: More fixes after reading through the MS.
diff --git a/doc/gawk.info b/doc/gawk.info
index d6faeeea..45c99146 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -22369,7 +22369,7 @@ user-defined function:
# div --- do integer division
- function div(numerator, denominator, result, i)
+ function div(numerator, denominator, result)
{
split("", result)
@@ -34709,151 +34709,151 @@ Node: Setting the rounding mode895668
Ref: table-gawk-rounding-modes896032
Ref: Setting the rounding mode-Footnote-1899486
Node: Arbitrary Precision Integers899665
-Ref: Arbitrary Precision Integers-Footnote-1904575
-Node: POSIX Floating Point Problems904724
-Ref: POSIX Floating Point Problems-Footnote-1908600
-Node: Floating point summary908638
-Node: Dynamic Extensions910830
-Node: Extension Intro912382
-Node: Plugin License913648
-Node: Extension Mechanism Outline914445
-Ref: figure-load-extension914873
-Ref: figure-register-new-function916353
-Ref: figure-call-new-function917357
-Node: Extension API Description919343
-Node: Extension API Functions Introduction920793
-Node: General Data Types925629
-Ref: General Data Types-Footnote-1931316
-Node: Memory Allocation Functions931615
-Ref: Memory Allocation Functions-Footnote-1934445
-Node: Constructor Functions934541
-Node: Registration Functions936275
-Node: Extension Functions936960
-Node: Exit Callback Functions939256
-Node: Extension Version String940504
-Node: Input Parsers941154
-Node: Output Wrappers950969
-Node: Two-way processors955485
-Node: Printing Messages957689
-Ref: Printing Messages-Footnote-1958766
-Node: Updating `ERRNO'958918
-Node: Requesting Values959658
-Ref: table-value-types-returned960386
-Node: Accessing Parameters961344
-Node: Symbol Table Access962575
-Node: Symbol table by name963089
-Node: Symbol table by cookie965069
-Ref: Symbol table by cookie-Footnote-1969208
-Node: Cached values969271
-Ref: Cached values-Footnote-1972775
-Node: Array Manipulation972866
-Ref: Array Manipulation-Footnote-1973964
-Node: Array Data Types974003
-Ref: Array Data Types-Footnote-1976660
-Node: Array Functions976752
-Node: Flattening Arrays980606
-Node: Creating Arrays987493
-Node: Extension API Variables992260
-Node: Extension Versioning992896
-Node: Extension API Informational Variables994797
-Node: Extension API Boilerplate995885
-Node: Finding Extensions999701
-Node: Extension Example1000261
-Node: Internal File Description1001033
-Node: Internal File Ops1005100
-Ref: Internal File Ops-Footnote-11016758
-Node: Using Internal File Ops1016898
-Ref: Using Internal File Ops-Footnote-11019281
-Node: Extension Samples1019554
-Node: Extension Sample File Functions1021078
-Node: Extension Sample Fnmatch1028680
-Node: Extension Sample Fork1030162
-Node: Extension Sample Inplace1031375
-Node: Extension Sample Ord1033050
-Node: Extension Sample Readdir1033886
-Ref: table-readdir-file-types1034742
-Node: Extension Sample Revout1035553
-Node: Extension Sample Rev2way1036144
-Node: Extension Sample Read write array1036885
-Node: Extension Sample Readfile1038824
-Node: Extension Sample Time1039919
-Node: Extension Sample API Tests1041268
-Node: gawkextlib1041759
-Node: Extension summary1044409
-Node: Extension Exercises1048091
-Node: Language History1048813
-Node: V7/SVR3.11050470
-Node: SVR41052651
-Node: POSIX1054096
-Node: BTL1055485
-Node: POSIX/GNU1056219
-Node: Feature History1061848
-Node: Common Extensions1074939
-Node: Ranges and Locales1076263
-Ref: Ranges and Locales-Footnote-11080902
-Ref: Ranges and Locales-Footnote-21080929
-Ref: Ranges and Locales-Footnote-31081163
-Node: Contributors1081384
-Node: History summary1086924
-Node: Installation1088293
-Node: Gawk Distribution1089249
-Node: Getting1089733
-Node: Extracting1090557
-Node: Distribution contents1092199
-Node: Unix Installation1097969
-Node: Quick Installation1098586
-Node: Additional Configuration Options1101017
-Node: Configuration Philosophy1102757
-Node: Non-Unix Installation1105108
-Node: PC Installation1105566
-Node: PC Binary Installation1106892
-Node: PC Compiling1108740
-Ref: PC Compiling-Footnote-11111761
-Node: PC Testing1111866
-Node: PC Using1113042
-Node: Cygwin1117157
-Node: MSYS1117980
-Node: VMS Installation1118478
-Node: VMS Compilation1119270
-Ref: VMS Compilation-Footnote-11120492
-Node: VMS Dynamic Extensions1120550
-Node: VMS Installation Details1122234
-Node: VMS Running1124486
-Node: VMS GNV1127327
-Node: VMS Old Gawk1128056
-Node: Bugs1128526
-Node: Other Versions1132496
-Node: Installation summary1138709
-Node: Notes1139765
-Node: Compatibility Mode1140630
-Node: Additions1141412
-Node: Accessing The Source1142337
-Node: Adding Code1143773
-Node: New Ports1149945
-Node: Derived Files1154426
-Ref: Derived Files-Footnote-11159901
-Ref: Derived Files-Footnote-21159935
-Ref: Derived Files-Footnote-31160531
-Node: Future Extensions1160645
-Node: Implementation Limitations1161251
-Node: Extension Design1162499
-Node: Old Extension Problems1163653
-Ref: Old Extension Problems-Footnote-11165170
-Node: Extension New Mechanism Goals1165227
-Ref: Extension New Mechanism Goals-Footnote-11168587
-Node: Extension Other Design Decisions1168776
-Node: Extension Future Growth1170884
-Node: Old Extension Mechanism1171720
-Node: Notes summary1173482
-Node: Basic Concepts1174668
-Node: Basic High Level1175349
-Ref: figure-general-flow1175621
-Ref: figure-process-flow1176220
-Ref: Basic High Level-Footnote-11179449
-Node: Basic Data Typing1179634
-Node: Glossary1182962
-Node: Copying1208120
-Node: GNU Free Documentation License1245676
-Node: Index1270812
+Ref: Arbitrary Precision Integers-Footnote-1904569
+Node: POSIX Floating Point Problems904718
+Ref: POSIX Floating Point Problems-Footnote-1908594
+Node: Floating point summary908632
+Node: Dynamic Extensions910824
+Node: Extension Intro912376
+Node: Plugin License913642
+Node: Extension Mechanism Outline914439
+Ref: figure-load-extension914867
+Ref: figure-register-new-function916347
+Ref: figure-call-new-function917351
+Node: Extension API Description919337
+Node: Extension API Functions Introduction920787
+Node: General Data Types925623
+Ref: General Data Types-Footnote-1931310
+Node: Memory Allocation Functions931609
+Ref: Memory Allocation Functions-Footnote-1934439
+Node: Constructor Functions934535
+Node: Registration Functions936269
+Node: Extension Functions936954
+Node: Exit Callback Functions939250
+Node: Extension Version String940498
+Node: Input Parsers941148
+Node: Output Wrappers950963
+Node: Two-way processors955479
+Node: Printing Messages957683
+Ref: Printing Messages-Footnote-1958760
+Node: Updating `ERRNO'958912
+Node: Requesting Values959652
+Ref: table-value-types-returned960380
+Node: Accessing Parameters961338
+Node: Symbol Table Access962569
+Node: Symbol table by name963083
+Node: Symbol table by cookie965063
+Ref: Symbol table by cookie-Footnote-1969202
+Node: Cached values969265
+Ref: Cached values-Footnote-1972769
+Node: Array Manipulation972860
+Ref: Array Manipulation-Footnote-1973958
+Node: Array Data Types973997
+Ref: Array Data Types-Footnote-1976654
+Node: Array Functions976746
+Node: Flattening Arrays980600
+Node: Creating Arrays987487
+Node: Extension API Variables992254
+Node: Extension Versioning992890
+Node: Extension API Informational Variables994791
+Node: Extension API Boilerplate995879
+Node: Finding Extensions999695
+Node: Extension Example1000255
+Node: Internal File Description1001027
+Node: Internal File Ops1005094
+Ref: Internal File Ops-Footnote-11016752
+Node: Using Internal File Ops1016892
+Ref: Using Internal File Ops-Footnote-11019275
+Node: Extension Samples1019548
+Node: Extension Sample File Functions1021072
+Node: Extension Sample Fnmatch1028674
+Node: Extension Sample Fork1030156
+Node: Extension Sample Inplace1031369
+Node: Extension Sample Ord1033044
+Node: Extension Sample Readdir1033880
+Ref: table-readdir-file-types1034736
+Node: Extension Sample Revout1035547
+Node: Extension Sample Rev2way1036138
+Node: Extension Sample Read write array1036879
+Node: Extension Sample Readfile1038818
+Node: Extension Sample Time1039913
+Node: Extension Sample API Tests1041262
+Node: gawkextlib1041753
+Node: Extension summary1044403
+Node: Extension Exercises1048085
+Node: Language History1048807
+Node: V7/SVR3.11050464
+Node: SVR41052645
+Node: POSIX1054090
+Node: BTL1055479
+Node: POSIX/GNU1056213
+Node: Feature History1061842
+Node: Common Extensions1074933
+Node: Ranges and Locales1076257
+Ref: Ranges and Locales-Footnote-11080896
+Ref: Ranges and Locales-Footnote-21080923
+Ref: Ranges and Locales-Footnote-31081157
+Node: Contributors1081378
+Node: History summary1086918
+Node: Installation1088287
+Node: Gawk Distribution1089243
+Node: Getting1089727
+Node: Extracting1090551
+Node: Distribution contents1092193
+Node: Unix Installation1097963
+Node: Quick Installation1098580
+Node: Additional Configuration Options1101011
+Node: Configuration Philosophy1102751
+Node: Non-Unix Installation1105102
+Node: PC Installation1105560
+Node: PC Binary Installation1106886
+Node: PC Compiling1108734
+Ref: PC Compiling-Footnote-11111755
+Node: PC Testing1111860
+Node: PC Using1113036
+Node: Cygwin1117151
+Node: MSYS1117974
+Node: VMS Installation1118472
+Node: VMS Compilation1119264
+Ref: VMS Compilation-Footnote-11120486
+Node: VMS Dynamic Extensions1120544
+Node: VMS Installation Details1122228
+Node: VMS Running1124480
+Node: VMS GNV1127321
+Node: VMS Old Gawk1128050
+Node: Bugs1128520
+Node: Other Versions1132490
+Node: Installation summary1138703
+Node: Notes1139759
+Node: Compatibility Mode1140624
+Node: Additions1141406
+Node: Accessing The Source1142331
+Node: Adding Code1143767
+Node: New Ports1149939
+Node: Derived Files1154420
+Ref: Derived Files-Footnote-11159895
+Ref: Derived Files-Footnote-21159929
+Ref: Derived Files-Footnote-31160525
+Node: Future Extensions1160639
+Node: Implementation Limitations1161245
+Node: Extension Design1162493
+Node: Old Extension Problems1163647
+Ref: Old Extension Problems-Footnote-11165164
+Node: Extension New Mechanism Goals1165221
+Ref: Extension New Mechanism Goals-Footnote-11168581
+Node: Extension Other Design Decisions1168770
+Node: Extension Future Growth1170878
+Node: Old Extension Mechanism1171714
+Node: Notes summary1173476
+Node: Basic Concepts1174662
+Node: Basic High Level1175343
+Ref: figure-general-flow1175615
+Ref: figure-process-flow1176214
+Ref: Basic High Level-Footnote-11179443
+Node: Basic Data Typing1179628
+Node: Glossary1182956
+Node: Copying1208114
+Node: GNU Free Documentation License1245670
+Node: Index1270806

End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 5315422f..880439c7 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -30990,7 +30990,7 @@ using this user-defined function:
@end ignore
@c file eg/lib/div.awk
-function div(numerator, denominator, result, i)
+function div(numerator, denominator, result)
@{
split("", result)
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 2600011f..b5d2a7fe 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -30084,7 +30084,7 @@ using this user-defined function:
@end ignore
@c file eg/lib/div.awk
-function div(numerator, denominator, result, i)
+function div(numerator, denominator, result)
@{
split("", result)