gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-992


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-992-g2489318
Date: Thu, 10 Nov 2016 03:52:18 +0000 (UTC)

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-4.1-stable has been updated
       via  2489318970a3b82d8fe537dab91508d254e54bdc (commit)
      from  4c6da6a47c9663b6cca1a4de13090d803a497038 (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2489318970a3b82d8fe537dab91508d254e54bdc

commit 2489318970a3b82d8fe537dab91508d254e54bdc
Author: Arnold D. Robbins <address@hidden>
Date:   Thu Nov 10 05:52:04 2016 +0200

    Fix doc on dcngettext.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index ef5d295..3eb66ed 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2016-11-10         Arnold D. Robbins     <address@hidden>
+
+       * gawktexi.in: Fix example use of dcngegttext.
+       Thanks to Sergey Tselikh <address@hidden>
+       for the report.
+
 2016-11-08         Arnold D. Robbins     <address@hidden>
 
        * gawktexi.in, wordlist: Typo fix. ECBDIC --> EBCDIC.
diff --git a/doc/gawk.info b/doc/gawk.info
index 6b0bd09..c103f36 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -20373,10 +20373,12 @@ File: gawk.info,  Node: Programmer i18n,  Next: 
Translator i18n,  Prev: Explaini
 
           if (groggy)
               message = dcngettext("%d customer disturbing me\n",
-                                   "%d customers disturbing me\n", "adminprog")
+                                   "%d customers disturbing me\n",
+                                   ncustomers, "adminprog")
           else
               message = dcngettext("enjoying %d customer\n",
-                                   "enjoying %d customers\n", "adminprog")
+                                   "enjoying %d customers\n",
+                                   ncustomers, "adminprog")
           printf(message, ncustomers)
 
   4. During development, you might want to put the '.gmo' file in a
@@ -33389,7 +33391,7 @@ Index
 * LC_CTYPE locale category:              Explaining gettext.  (line  98)
 * LC_MESSAGES locale category:           Explaining gettext.  (line  88)
 * LC_MESSAGES locale category, bindtextdomain() function (gawk): Programmer 
i18n.
-                                                              (line 101)
+                                                              (line 103)
 * LC_MONETARY locale category:           Explaining gettext.  (line 104)
 * LC_NUMERIC locale category:            Explaining gettext.  (line 108)
 * LC_TIME locale category:               Explaining gettext.  (line 112)
@@ -34959,205 +34961,205 @@ Node: Explaining gettext817368
 Ref: Explaining gettext-Footnote-1823260
 Ref: Explaining gettext-Footnote-2823445
 Node: Programmer i18n823610
-Ref: Programmer i18n-Footnote-1828465
-Node: Translator i18n828514
-Node: String Extraction829308
-Ref: String Extraction-Footnote-1830440
-Node: Printf Ordering830526
-Ref: Printf Ordering-Footnote-1833312
-Node: I18N Portability833376
-Ref: I18N Portability-Footnote-1835832
-Node: I18N Example835895
-Ref: I18N Example-Footnote-1838701
-Node: Gawk I18N838774
-Node: I18N Summary839419
-Node: Debugger840760
-Node: Debugging841782
-Node: Debugging Concepts842223
-Node: Debugging Terms844032
-Node: Awk Debugging846607
-Node: Sample Debugging Session847513
-Node: Debugger Invocation848047
-Node: Finding The Bug849433
-Node: List of Debugger Commands855911
-Node: Breakpoint Control857244
-Node: Debugger Execution Control860938
-Node: Viewing And Changing Data864300
-Node: Execution Stack867674
-Node: Debugger Info869311
-Node: Miscellaneous Debugger Commands873382
-Node: Readline Support878470
-Node: Limitations879366
-Node: Debugging Summary881475
-Node: Arbitrary Precision Arithmetic882648
-Node: Computer Arithmetic884064
-Ref: table-numeric-ranges887655
-Ref: Computer Arithmetic-Footnote-1888377
-Node: Math Definitions888434
-Ref: table-ieee-formats891748
-Ref: Math Definitions-Footnote-1892351
-Node: MPFR features892456
-Node: FP Math Caution894173
-Ref: FP Math Caution-Footnote-1895245
-Node: Inexactness of computations895614
-Node: Inexact representation896574
-Node: Comparing FP Values897934
-Node: Errors accumulate899016
-Node: Getting Accuracy900449
-Node: Try To Round903159
-Node: Setting precision904058
-Ref: table-predefined-precision-strings904755
-Node: Setting the rounding mode906585
-Ref: table-gawk-rounding-modes906959
-Ref: Setting the rounding mode-Footnote-1910367
-Node: Arbitrary Precision Integers910546
-Ref: Arbitrary Precision Integers-Footnote-1913530
-Node: POSIX Floating Point Problems913679
-Ref: POSIX Floating Point Problems-Footnote-1917561
-Node: Floating point summary917599
-Node: Dynamic Extensions919789
-Node: Extension Intro921342
-Node: Plugin License922608
-Node: Extension Mechanism Outline923405
-Ref: figure-load-extension923844
-Ref: figure-register-new-function925409
-Ref: figure-call-new-function926501
-Node: Extension API Description928563
-Node: Extension API Functions Introduction930011
-Node: General Data Types934823
-Ref: General Data Types-Footnote-1940778
-Node: Memory Allocation Functions941077
-Ref: Memory Allocation Functions-Footnote-1943922
-Node: Constructor Functions944021
-Node: Registration Functions945766
-Node: Extension Functions946451
-Node: Exit Callback Functions948750
-Node: Extension Version String950000
-Node: Input Parsers950663
-Node: Output Wrappers960545
-Node: Two-way processors965057
-Node: Printing Messages967322
-Ref: Printing Messages-Footnote-1968396
-Node: Updating ERRNO968549
-Node: Requesting Values969288
-Ref: table-value-types-returned970025
-Node: Accessing Parameters970908
-Node: Symbol Table Access972143
-Node: Symbol table by name972655
-Node: Symbol table by cookie974676
-Ref: Symbol table by cookie-Footnote-1978828
-Node: Cached values978892
-Ref: Cached values-Footnote-1982399
-Node: Array Manipulation982490
-Ref: Array Manipulation-Footnote-1983589
-Node: Array Data Types983626
-Ref: Array Data Types-Footnote-1986284
-Node: Array Functions986376
-Node: Flattening Arrays990234
-Node: Creating Arrays997142
-Node: Extension API Variables1001911
-Node: Extension Versioning1002547
-Ref: gawk-api-version1002984
-Node: Extension API Informational Variables1004740
-Node: Extension API Boilerplate1005804
-Node: Finding Extensions1009618
-Node: Extension Example1010177
-Node: Internal File Description1010975
-Node: Internal File Ops1015055
-Ref: Internal File Ops-Footnote-11026817
-Node: Using Internal File Ops1026957
-Ref: Using Internal File Ops-Footnote-11029340
-Node: Extension Samples1029614
-Node: Extension Sample File Functions1031143
-Node: Extension Sample Fnmatch1038792
-Node: Extension Sample Fork1040279
-Node: Extension Sample Inplace1041497
-Node: Extension Sample Ord1044707
-Node: Extension Sample Readdir1045543
-Ref: table-readdir-file-types1046432
-Node: Extension Sample Revout1047237
-Node: Extension Sample Rev2way1047826
-Node: Extension Sample Read write array1048566
-Node: Extension Sample Readfile1050508
-Node: Extension Sample Time1051603
-Node: Extension Sample API Tests1052951
-Node: gawkextlib1053443
-Node: Extension summary1055867
-Node: Extension Exercises1059559
-Node: Language History1061057
-Node: V7/SVR3.11062713
-Node: SVR41064865
-Node: POSIX1066299
-Node: BTL1067678
-Node: POSIX/GNU1068407
-Node: Feature History1073928
-Node: Common Extensions1087257
-Node: Ranges and Locales1088540
-Ref: Ranges and Locales-Footnote-11093156
-Ref: Ranges and Locales-Footnote-21093183
-Ref: Ranges and Locales-Footnote-31093418
-Node: Contributors1093639
-Node: History summary1099199
-Node: Installation1100579
-Node: Gawk Distribution1101523
-Node: Getting1102007
-Node: Extracting1102968
-Node: Distribution contents1104606
-Node: Unix Installation1110348
-Node: Quick Installation1110964
-Node: Additional Configuration Options1113391
-Node: Configuration Philosophy1115195
-Node: Non-Unix Installation1117564
-Node: PC Installation1118024
-Node: PC Binary Installation1118862
-Node: PC Compiling1119297
-Node: PC Using1120414
-Node: Cygwin1123459
-Node: MSYS1124229
-Node: VMS Installation1124730
-Node: VMS Compilation1125521
-Ref: VMS Compilation-Footnote-11126750
-Node: VMS Dynamic Extensions1126808
-Node: VMS Installation Details1128493
-Node: VMS Running1130746
-Node: VMS GNV1135025
-Node: VMS Old Gawk1135760
-Node: Bugs1136231
-Node: Bug address1136894
-Node: Usenet1139291
-Node: Maintainers1140066
-Node: Other Versions1141442
-Node: Installation summary1148026
-Node: Notes1149061
-Node: Compatibility Mode1149926
-Node: Additions1150708
-Node: Accessing The Source1151633
-Node: Adding Code1153068
-Node: New Ports1159287
-Node: Derived Files1163775
-Ref: Derived Files-Footnote-11169260
-Ref: Derived Files-Footnote-21169295
-Ref: Derived Files-Footnote-31169893
-Node: Future Extensions1170007
-Node: Implementation Limitations1170665
-Node: Extension Design1171848
-Node: Old Extension Problems1173002
-Ref: Old Extension Problems-Footnote-11174520
-Node: Extension New Mechanism Goals1174577
-Ref: Extension New Mechanism Goals-Footnote-11177941
-Node: Extension Other Design Decisions1178130
-Node: Extension Future Growth1180243
-Node: Old Extension Mechanism1181079
-Node: Notes summary1182842
-Node: Basic Concepts1184024
-Node: Basic High Level1184705
-Ref: figure-general-flow1184987
-Ref: figure-process-flow1185672
-Ref: Basic High Level-Footnote-11188973
-Node: Basic Data Typing1189158
-Node: Glossary1192486
-Node: Copying1224433
-Node: GNU Free Documentation License1261972
-Node: Index1287090
+Ref: Programmer i18n-Footnote-1828559
+Node: Translator i18n828608
+Node: String Extraction829402
+Ref: String Extraction-Footnote-1830534
+Node: Printf Ordering830620
+Ref: Printf Ordering-Footnote-1833406
+Node: I18N Portability833470
+Ref: I18N Portability-Footnote-1835926
+Node: I18N Example835989
+Ref: I18N Example-Footnote-1838795
+Node: Gawk I18N838868
+Node: I18N Summary839513
+Node: Debugger840854
+Node: Debugging841876
+Node: Debugging Concepts842317
+Node: Debugging Terms844126
+Node: Awk Debugging846701
+Node: Sample Debugging Session847607
+Node: Debugger Invocation848141
+Node: Finding The Bug849527
+Node: List of Debugger Commands856005
+Node: Breakpoint Control857338
+Node: Debugger Execution Control861032
+Node: Viewing And Changing Data864394
+Node: Execution Stack867768
+Node: Debugger Info869405
+Node: Miscellaneous Debugger Commands873476
+Node: Readline Support878564
+Node: Limitations879460
+Node: Debugging Summary881569
+Node: Arbitrary Precision Arithmetic882742
+Node: Computer Arithmetic884158
+Ref: table-numeric-ranges887749
+Ref: Computer Arithmetic-Footnote-1888471
+Node: Math Definitions888528
+Ref: table-ieee-formats891842
+Ref: Math Definitions-Footnote-1892445
+Node: MPFR features892550
+Node: FP Math Caution894267
+Ref: FP Math Caution-Footnote-1895339
+Node: Inexactness of computations895708
+Node: Inexact representation896668
+Node: Comparing FP Values898028
+Node: Errors accumulate899110
+Node: Getting Accuracy900543
+Node: Try To Round903253
+Node: Setting precision904152
+Ref: table-predefined-precision-strings904849
+Node: Setting the rounding mode906679
+Ref: table-gawk-rounding-modes907053
+Ref: Setting the rounding mode-Footnote-1910461
+Node: Arbitrary Precision Integers910640
+Ref: Arbitrary Precision Integers-Footnote-1913624
+Node: POSIX Floating Point Problems913773
+Ref: POSIX Floating Point Problems-Footnote-1917655
+Node: Floating point summary917693
+Node: Dynamic Extensions919883
+Node: Extension Intro921436
+Node: Plugin License922702
+Node: Extension Mechanism Outline923499
+Ref: figure-load-extension923938
+Ref: figure-register-new-function925503
+Ref: figure-call-new-function926595
+Node: Extension API Description928657
+Node: Extension API Functions Introduction930105
+Node: General Data Types934917
+Ref: General Data Types-Footnote-1940872
+Node: Memory Allocation Functions941171
+Ref: Memory Allocation Functions-Footnote-1944016
+Node: Constructor Functions944115
+Node: Registration Functions945860
+Node: Extension Functions946545
+Node: Exit Callback Functions948844
+Node: Extension Version String950094
+Node: Input Parsers950757
+Node: Output Wrappers960639
+Node: Two-way processors965151
+Node: Printing Messages967416
+Ref: Printing Messages-Footnote-1968490
+Node: Updating ERRNO968643
+Node: Requesting Values969382
+Ref: table-value-types-returned970119
+Node: Accessing Parameters971002
+Node: Symbol Table Access972237
+Node: Symbol table by name972749
+Node: Symbol table by cookie974770
+Ref: Symbol table by cookie-Footnote-1978922
+Node: Cached values978986
+Ref: Cached values-Footnote-1982493
+Node: Array Manipulation982584
+Ref: Array Manipulation-Footnote-1983683
+Node: Array Data Types983720
+Ref: Array Data Types-Footnote-1986378
+Node: Array Functions986470
+Node: Flattening Arrays990328
+Node: Creating Arrays997236
+Node: Extension API Variables1002005
+Node: Extension Versioning1002641
+Ref: gawk-api-version1003078
+Node: Extension API Informational Variables1004834
+Node: Extension API Boilerplate1005898
+Node: Finding Extensions1009712
+Node: Extension Example1010271
+Node: Internal File Description1011069
+Node: Internal File Ops1015149
+Ref: Internal File Ops-Footnote-11026911
+Node: Using Internal File Ops1027051
+Ref: Using Internal File Ops-Footnote-11029434
+Node: Extension Samples1029708
+Node: Extension Sample File Functions1031237
+Node: Extension Sample Fnmatch1038886
+Node: Extension Sample Fork1040373
+Node: Extension Sample Inplace1041591
+Node: Extension Sample Ord1044801
+Node: Extension Sample Readdir1045637
+Ref: table-readdir-file-types1046526
+Node: Extension Sample Revout1047331
+Node: Extension Sample Rev2way1047920
+Node: Extension Sample Read write array1048660
+Node: Extension Sample Readfile1050602
+Node: Extension Sample Time1051697
+Node: Extension Sample API Tests1053045
+Node: gawkextlib1053537
+Node: Extension summary1055961
+Node: Extension Exercises1059653
+Node: Language History1061151
+Node: V7/SVR3.11062807
+Node: SVR41064959
+Node: POSIX1066393
+Node: BTL1067772
+Node: POSIX/GNU1068501
+Node: Feature History1074022
+Node: Common Extensions1087351
+Node: Ranges and Locales1088634
+Ref: Ranges and Locales-Footnote-11093250
+Ref: Ranges and Locales-Footnote-21093277
+Ref: Ranges and Locales-Footnote-31093512
+Node: Contributors1093733
+Node: History summary1099293
+Node: Installation1100673
+Node: Gawk Distribution1101617
+Node: Getting1102101
+Node: Extracting1103062
+Node: Distribution contents1104700
+Node: Unix Installation1110442
+Node: Quick Installation1111058
+Node: Additional Configuration Options1113485
+Node: Configuration Philosophy1115289
+Node: Non-Unix Installation1117658
+Node: PC Installation1118118
+Node: PC Binary Installation1118956
+Node: PC Compiling1119391
+Node: PC Using1120508
+Node: Cygwin1123553
+Node: MSYS1124323
+Node: VMS Installation1124824
+Node: VMS Compilation1125615
+Ref: VMS Compilation-Footnote-11126844
+Node: VMS Dynamic Extensions1126902
+Node: VMS Installation Details1128587
+Node: VMS Running1130840
+Node: VMS GNV1135119
+Node: VMS Old Gawk1135854
+Node: Bugs1136325
+Node: Bug address1136988
+Node: Usenet1139385
+Node: Maintainers1140160
+Node: Other Versions1141536
+Node: Installation summary1148120
+Node: Notes1149155
+Node: Compatibility Mode1150020
+Node: Additions1150802
+Node: Accessing The Source1151727
+Node: Adding Code1153162
+Node: New Ports1159381
+Node: Derived Files1163869
+Ref: Derived Files-Footnote-11169354
+Ref: Derived Files-Footnote-21169389
+Ref: Derived Files-Footnote-31169987
+Node: Future Extensions1170101
+Node: Implementation Limitations1170759
+Node: Extension Design1171942
+Node: Old Extension Problems1173096
+Ref: Old Extension Problems-Footnote-11174614
+Node: Extension New Mechanism Goals1174671
+Ref: Extension New Mechanism Goals-Footnote-11178035
+Node: Extension Other Design Decisions1178224
+Node: Extension Future Growth1180337
+Node: Old Extension Mechanism1181173
+Node: Notes summary1182936
+Node: Basic Concepts1184118
+Node: Basic High Level1184799
+Ref: figure-general-flow1185081
+Ref: figure-process-flow1185766
+Ref: Basic High Level-Footnote-11189067
+Node: Basic Data Typing1189252
+Node: Glossary1192580
+Node: Copying1224527
+Node: GNU Free Documentation License1262066
+Node: Index1287184
 
 End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 2cfe858..fdf9521 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -28460,10 +28460,12 @@ This example would be better done with 
@code{dcngettext()}:
 @example
 if (groggy)
     message = dcngettext("%d customer disturbing me\n",
-                         "%d customers disturbing me\n", "adminprog")
+                         "%d customers disturbing me\n",
+                         ncustomers, "adminprog")
 else
     message = dcngettext("enjoying %d customer\n",
-                         "enjoying %d customers\n", "adminprog")
+                         "enjoying %d customers\n",
+                         ncustomers, "adminprog")
 printf(message, ncustomers)
 @end example
 
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 2848697..9ad5d3c 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -27551,10 +27551,12 @@ This example would be better done with 
@code{dcngettext()}:
 @example
 if (groggy)
     message = dcngettext("%d customer disturbing me\n",
-                         "%d customers disturbing me\n", "adminprog")
+                         "%d customers disturbing me\n",
+                         ncustomers, "adminprog")
 else
     message = dcngettext("enjoying %d customer\n",
-                         "enjoying %d customers\n", "adminprog")
+                         "enjoying %d customers\n",
+                         ncustomers, "adminprog")
 printf(message, ncustomers)
 @end example
 

-----------------------------------------------------------------------

Summary of changes:
 doc/ChangeLog   |    6 +
 doc/gawk.info   |  408 ++++++++++++++++++++++++++++---------------------------
 doc/gawk.texi   |    6 +-
 doc/gawktexi.in |    6 +-
 4 files changed, 219 insertions(+), 207 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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