[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5526-g5292ce3f
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5526-g5292ce3f |
Date: |
Thu, 12 Sep 2024 01:47:54 -0400 (EDT) |
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.3-stable has been updated
via 5292ce3f3295deaf73e3bd4f8919c4f8aebdfa05 (commit)
from be27eecbd1c0ecda837ee9c8616b363fefc121ea (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=5292ce3f3295deaf73e3bd4f8919c4f8aebdfa05
commit 5292ce3f3295deaf73e3bd4f8919c4f8aebdfa05
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Thu Sep 12 08:47:34 2024 +0300
Add two exercises for egrep to the manual.
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 403c94ba..dc757096 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-12 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawk.texi (Programs Exercises): Add two exercises related
+ to egrep.
+
2024-09-10 Arnold D. Robbins <arnold@skeeve.com>
* gawk.texi (Other Versions): Add info about`wak'.
diff --git a/doc/gawk.info b/doc/gawk.info
index 4176805b..2c72be5b 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -21449,18 +21449,28 @@ File: gawk.info, Node: Programs Exercises, Prev:
Programs Summary, Up: Sample
also mentioned that this solution has a bug: the translated line is
output, and not the original one. Fix this problem.
- 3. The POSIX version of âidâ takes options that control which
+ 3. POSIX versions of âgrepâ accept a â-Fâ option which causes
âgrepâ
+ to match fixed strings. Add support for this to âegrep.awkâ.
+
+ 4. Similarly, POSIX versions of âgrepâ allow you to provide multiple
+ patterns to match, in either of two ways. You may provide a quoted
+ string on the command line where the patterns are separated by
+ newlines. Or you may use the â-fâ option to provide a file
+ containing the patterns, one per line. Implement both of these
+ features.
+
+ 5. The POSIX version of âidâ takes options that control which
information is printed. Modify the âawkâ version (*note Id
Program::) to accept the same arguments and perform in the same
way.
- 4. The âsplit.awkâ program (*note Split Program::) assumes that
+ 6. The âsplit.awkâ program (*note Split Program::) assumes that
letters are contiguous in the character set, which isn't true for
EBCDIC systems. Fix this problem. (Hint: Consider a different way
to work through the alphabet, without relying on âord()â and
âchr()â.)
- 5. In âuniq.awkâ (*note Uniq Program::, the logic for choosing which
+ 7. In âuniq.awkâ (*note Uniq Program::, the logic for choosing which
lines to print represents a âstate machineâ, which is "a device
which can be in one of a set number of stable conditions depending
on its previous condition and on the present values of its
@@ -21470,21 +21480,21 @@ File: gawk.info, Node: Programs Exercises, Prev:
Programs Summary, Up: Sample
where you would use this, just as fast." Rewrite the logic to
follow this suggestion.
- 6. Why can't the âwc.awkâ program (*note Wc Program::) just use the
+ 8. Why can't the âwc.awkâ program (*note Wc Program::) just use the
value of âFNRâ in âendfile()â? Hint: Examine the code in *note
Filetrans Function::.
- 7. Manipulation of individual characters in the âtranslateâ program
+ 9. Manipulation of individual characters in the âtranslateâ program
(*note Translate Program::) is painful using standard âawkâ
functions. Given that âgawkâ can split strings into individual
characters using â""â as the separator, how might you use this
feature to simplify the program?
- 8. The âextract.awkâ program (*note Extract Program::) was written
+ 10. The âextract.awkâ program (*note Extract Program::) was written
before âgawkâ had the âgensub()â function. Use it to simplify the
code.
- 9. Compare the performance of the âawksed.awkâ program (*note Simple
+ 11. Compare the performance of the âawksed.awkâ program (*note Simple
Sed::) with the more straightforward:
BEGIN {
@@ -21495,16 +21505,16 @@ File: gawk.info, Node: Programs Exercises, Prev:
Programs Summary, Up: Sample
{ gsub(pat, repl); print }
- 10. What are the advantages and disadvantages of âawksed.awkâ versus
+ 12. What are the advantages and disadvantages of âawksed.awkâ versus
the real âsedâ utility?
- 11. In *note Igawk Program::, we mentioned that not trying to save the
+ 13. In *note Igawk Program::, we mentioned that not trying to save the
line read with âgetlineâ in the âpathto()â function when testing
for the file's accessibility for use with the main program
simplifies things considerably. What problem does this engender
though?
- 12. As an additional example of the idea that it is not always
+ 14. As an additional example of the idea that it is not always
necessary to add new features to a program, consider the idea of
having two files in a directory in the search path:
@@ -21526,7 +21536,7 @@ File: gawk.info, Node: Programs Exercises, Prev:
Programs Summary, Up: Sample
â@includeâ directives for the desired library functions. Make this
change.
- 13. Modify âanagram.awkâ (*note Anagram Program::), to avoid the use
+ 15. Modify âanagram.awkâ (*note Anagram Program::), to avoid the use
of the external âsortâ utility.
---------- Footnotes ----------
@@ -37576,7 +37586,7 @@ Index
(line 6)
* directories, searching, for source files: AWKPATH Variable. (line 6)
* directories, searching, for source files <1>: Programs Exercises.
- (line 70)
+ (line 80)
* disable breakpoint: Breakpoint Control. (line 69)
* disable debugger command: Breakpoint Control. (line 69)
* display debugger command: Viewing And Changing Data.
@@ -37972,7 +37982,7 @@ Index
* files, reading, multiline records: Multiple Line. (line 6)
* files, searching for regular expressions: Egrep Program. (line 6)
* files, skipping: File Checking. (line 6)
-* files, source, search path for: Programs Exercises. (line 70)
+* files, source, search path for: Programs Exercises. (line 80)
* files, splitting: Split Program. (line 6)
* files, Texinfo, extracting programs from: Extract Program. (line 6)
* find substring in string: String Functions. (line 174)
@@ -38502,7 +38512,7 @@ Index
* Kernighan, Brian, quotes <2>: Getline/Pipe. (line 6)
* Kernighan, Brian, quotes <3>: Concatenation. (line 6)
* Kernighan, Brian, quotes <4>: Library Functions. (line 12)
-* Kernighan, Brian, quotes <5>: Programs Exercises. (line 26)
+* Kernighan, Brian, quotes <5>: Programs Exercises. (line 36)
* kill command, dynamic profiling: Profiling. (line 194)
* knights, jedi: Undocumented. (line 6)
* Kwok, Conrad: Contributors. (line 35)
@@ -39353,12 +39363,12 @@ Index
* Schreiber, Rita: Acknowledgments. (line 38)
* search and replace in strings: String Functions. (line 98)
* search for substring: String Functions. (line 174)
-* search paths: Programs Exercises. (line 70)
+* search paths: Programs Exercises. (line 80)
* search paths <1>: PC Using. (line 12)
* search paths <2>: OpenVMS Running. (line 50)
* search paths, for loadable extensions: AWKLIBPATH Variable. (line 6)
* search paths, for source files: AWKPATH Variable. (line 6)
-* search paths, for source files <1>: Programs Exercises. (line 70)
+* search paths, for source files <1>: Programs Exercises. (line 80)
* search paths, for source files <2>: PC Using. (line 12)
* search paths, for source files <3>: OpenVMS Running. (line 50)
* searching, files for regular expressions: Egrep Program. (line 6)
@@ -39546,7 +39556,7 @@ Index
* source code, QuikTrim Awk: Other Versions. (line 184)
* source code, Solaris awk: Other Versions. (line 106)
* source file, show in debugger: Debugger Info. (line 37)
-* source files, search path for: Programs Exercises. (line 70)
+* source files, search path for: Programs Exercises. (line 80)
* sparse arrays: Array Intro. (line 78)
* Spencer, Henry: Glossary. (line 16)
* Spengler, Egon: Gory Details. (line 6)
@@ -40309,260 +40319,260 @@ Node: Anagram Program895290
Node: Signature Program898376
Node: Programs Summary899626
Node: Programs Exercises900880
-Ref: Programs Exercises-Footnote-1905182
-Node: Advanced Features905268
-Node: Nondecimal Data907749
-Node: Boolean Typed Values909379
-Node: Array Sorting911336
-Node: Controlling Array Traversal912065
-Ref: Controlling Array Traversal-Footnote-1920568
-Node: Array Sorting Functions920690
-Ref: Array Sorting Functions-Footnote-1926787
-Node: Two-way I/O926995
-Ref: Two-way I/O-Footnote-1934966
-Ref: Two-way I/O-Footnote-2935157
-Node: TCP/IP Networking935239
-Node: Profiling938407
-Node: Persistent Memory948077
-Ref: Persistent Memory-Footnote-1957649
-Node: Extension Philosophy957780
-Node: Advanced Features Summary959307
-Node: Internationalization961573
-Node: I18N and L10N963275
-Node: Explaining gettext963970
-Ref: Explaining gettext-Footnote-1970106
-Ref: Explaining gettext-Footnote-2970299
-Node: Programmer i18n970464
-Ref: Programmer i18n-Footnote-1975576
-Node: Translator i18n975625
-Node: String Extraction976455
-Ref: String Extraction-Footnote-1977631
-Node: Printf Ordering977729
-Ref: Printf Ordering-Footnote-1980587
-Node: I18N Portability980655
-Ref: I18N Portability-Footnote-1983215
-Node: I18N Example983282
-Ref: I18N Example-Footnote-1986676
-Ref: I18N Example-Footnote-2986749
-Node: Gawk I18N986866
-Node: I18N Summary987520
-Node: Debugger988917
-Node: Debugging989937
-Node: Debugging Concepts990386
-Node: Debugging Terms992203
-Node: Awk Debugging994806
-Ref: Awk Debugging-Footnote-1995779
-Node: Sample Debugging Session995915
-Node: Debugger Invocation996465
-Node: Finding The Bug998090
-Node: List of Debugger Commands1004722
-Node: Breakpoint Control1006099
-Node: Debugger Execution Control1009921
-Node: Viewing And Changing Data1013395
-Node: Execution Stack1017129
-Node: Debugger Info1018810
-Node: Miscellaneous Debugger Commands1023105
-Node: Readline Support1028346
-Node: Limitations1029290
-Node: Debugging Summary1031914
-Node: Namespaces1033213
-Node: Global Namespace1034340
-Node: Qualified Names1035774
-Node: Default Namespace1036809
-Node: Changing The Namespace1037582
-Node: Naming Rules1039264
-Node: Internal Name Management1041219
-Node: Namespace Example1042289
-Node: Namespace And Features1044866
-Node: Namespace Summary1046321
-Node: Arbitrary Precision Arithmetic1047832
-Node: Computer Arithmetic1049351
-Ref: table-numeric-ranges1053276
-Ref: table-floating-point-ranges1053773
-Ref: Computer Arithmetic-Footnote-11054431
-Node: Math Definitions1054488
-Ref: table-ieee-formats1057520
-Node: MPFR features1058093
-Node: MPFR On Parole1058546
-Ref: MPFR On Parole-Footnote-11059387
-Node: MPFR Intro1059546
-Node: FP Math Caution1061230
-Ref: FP Math Caution-Footnote-11062302
-Node: Inexactness of computations1062675
-Node: Inexact representation1063706
-Node: Comparing FP Values1065087
-Node: Errors accumulate1066345
-Node: Strange values1067810
-Ref: Strange values-Footnote-11070464
-Node: Getting Accuracy1070569
-Node: Try To Round1073306
-Node: Setting precision1074213
-Ref: table-predefined-precision-strings1074918
-Node: Setting the rounding mode1076802
-Ref: table-gawk-rounding-modes1077184
-Ref: Setting the rounding mode-Footnote-11081236
-Node: Arbitrary Precision Integers1081419
-Ref: Arbitrary Precision Integers-Footnote-11084629
-Node: Checking for MPFR1084782
-Node: POSIX Floating Point Problems1086272
-Ref: POSIX Floating Point Problems-Footnote-11091092
-Node: Floating point summary1091130
-Node: Dynamic Extensions1093386
-Node: Extension Intro1094983
-Node: Plugin License1096285
-Node: Extension Mechanism Outline1097098
-Ref: figure-load-extension1097549
-Ref: figure-register-new-function1099127
-Ref: figure-call-new-function1100236
-Node: Extension API Description1102351
-Node: Extension API Functions Introduction1104080
-Ref: table-api-std-headers1105974
-Node: General Data Types1110415
-Ref: General Data Types-Footnote-11119561
-Node: Memory Allocation Functions1119864
-Ref: Memory Allocation Functions-Footnote-11124581
-Node: Constructor Functions1124680
-Node: API Ownership of MPFR and GMP Values1128581
-Node: Registration Functions1130134
-Node: Extension Functions1130838
-Node: Exit Callback Functions1136412
-Node: Extension Version String1137726
-Node: Input Parsers1138421
-Node: Output Wrappers1153040
-Node: Two-way processors1157882
-Node: Printing Messages1160235
-Ref: Printing Messages-Footnote-11161446
-Node: Updating ERRNO1161599
-Node: Requesting Values1162398
-Ref: table-value-types-returned1163151
-Node: Accessing Parameters1165210
-Node: Symbol Table Access1166491
-Node: Symbol table by name1167003
-Ref: Symbol table by name-Footnote-11170204
-Node: Symbol table by cookie1170336
-Ref: Symbol table by cookie-Footnote-11174605
-Node: Cached values1174669
-Ref: Cached values-Footnote-11178301
-Node: Array Manipulation1178458
-Ref: Array Manipulation-Footnote-11179557
-Node: Array Data Types1179594
-Ref: Array Data Types-Footnote-11182412
-Node: Array Functions1182508
-Node: Flattening Arrays1187537
-Node: Creating Arrays1194585
-Node: Redirection API1199427
-Node: Extension API Variables1202444
-Node: Extension Versioning1203167
-Ref: gawk-api-version1203596
-Node: Extension GMP/MPFR Versioning1205383
-Node: Extension API Informational Variables1207087
-Node: Extension API Boilerplate1208340
-Node: Changes from API V11212470
-Node: Finding Extensions1214102
-Node: Extension Example1214677
-Node: Internal File Description1215499
-Node: Internal File Ops1219791
-Ref: Internal File Ops-Footnote-11231341
-Node: Using Internal File Ops1231489
-Ref: Using Internal File Ops-Footnote-11233922
-Node: Extension Samples1234200
-Node: Extension Sample File Functions1235769
-Node: Extension Sample Fnmatch1243894
-Node: Extension Sample Fork1245489
-Node: Extension Sample Inplace1246765
-Node: Extension Sample Ord1250867
-Node: Extension Sample Readdir1251743
-Ref: table-readdir-file-types1252532
-Node: Extension Sample Revout1253888
-Node: Extension Sample Rev2way1254485
-Node: Extension Sample Read write array1255237
-Node: Extension Sample Readfile1258511
-Node: Extension Sample Time1259642
-Node: Extension Sample API Tests1261642
-Node: gawkextlib1262150
-Node: Extension summary1265182
-Node: Extension Exercises1269030
-Node: Language History1270300
-Node: V7/SVR3.11272012
-Node: SVR41274362
-Node: POSIX1275894
-Node: BTL1277319
-Node: POSIX/GNU1278086
-Ref: Gawk Extension Functions1281476
-Node: Feature History1284900
-Node: Common Extensions1304741
-Node: Ranges and Locales1306216
-Ref: Ranges and Locales-Footnote-11311001
-Ref: Ranges and Locales-Footnote-21311028
-Ref: Ranges and Locales-Footnote-31311263
-Node: Contributors1311486
-Node: History summary1317677
-Node: Installation1319119
-Node: Gawk Distribution1320083
-Node: Getting1320575
-Node: Extracting1321574
-Node: Distribution contents1323280
-Node: Unix Installation1331170
-Node: Quick Installation1331990
-Node: Compiling with MPFR1334530
-Node: Shell Startup Files1335236
-Node: Additional Configuration Options1336393
-Node: Configuration Philosophy1338776
-Node: Compiling from Git1341276
-Node: Building the Documentation1341835
-Node: Non-Unix Installation1343247
-Node: PC Installation1343723
-Node: PC Binary Installation1344592
-Node: PC Compiling1345485
-Node: PC Using1346663
-Node: Cygwin1350379
-Node: MSYS1351631
-Node: OpenVMS Installation1352257
-Node: OpenVMS Compilation1352938
-Ref: OpenVMS Compilation-Footnote-11354421
-Node: OpenVMS Dynamic Extensions1354479
-Node: OpenVMS Installation Details1356115
-Node: OpenVMS Running1358546
-Node: OpenVMS GNV1362683
-Node: Bugs1363438
-Node: Bug definition1364358
-Node: Bug address1367959
-Node: Usenet1371528
-Node: Performance bugs1372741
-Node: Asking for help1375745
-Node: Maintainers1377732
-Node: Other Versions1378759
-Node: Installation summary1388748
-Node: Notes1390130
-Node: Compatibility Mode1390940
-Node: Additions1391762
-Node: Accessing The Source1392707
-Node: Adding Code1394238
-Node: New Ports1401349
-Node: Derived Files1405852
-Ref: Derived Files-Footnote-11411663
-Ref: Derived Files-Footnote-21411698
-Ref: Derived Files-Footnote-31412309
-Node: Future Extensions1412423
-Node: Implementation Limitations1413093
-Node: Extension Design1414335
-Node: Old Extension Problems1415495
-Ref: Old Extension Problems-Footnote-11417067
-Node: Extension New Mechanism Goals1417128
-Ref: Extension New Mechanism Goals-Footnote-11420598
-Node: Extension Other Design Decisions1420799
-Node: Extension Future Growth1422996
-Node: Notes summary1423616
-Node: Basic Concepts1424826
-Node: Basic High Level1425511
-Ref: figure-general-flow1425793
-Ref: figure-process-flow1426495
-Ref: Basic High Level-Footnote-11429865
-Node: Basic Data Typing1430054
-Node: Glossary1433462
-Node: Copying1466340
-Node: GNU Free Documentation License1503898
-Node: Index1529021
+Ref: Programs Exercises-Footnote-1905709
+Node: Advanced Features905795
+Node: Nondecimal Data908276
+Node: Boolean Typed Values909906
+Node: Array Sorting911863
+Node: Controlling Array Traversal912592
+Ref: Controlling Array Traversal-Footnote-1921095
+Node: Array Sorting Functions921217
+Ref: Array Sorting Functions-Footnote-1927314
+Node: Two-way I/O927522
+Ref: Two-way I/O-Footnote-1935493
+Ref: Two-way I/O-Footnote-2935684
+Node: TCP/IP Networking935766
+Node: Profiling938934
+Node: Persistent Memory948604
+Ref: Persistent Memory-Footnote-1958176
+Node: Extension Philosophy958307
+Node: Advanced Features Summary959834
+Node: Internationalization962100
+Node: I18N and L10N963802
+Node: Explaining gettext964497
+Ref: Explaining gettext-Footnote-1970633
+Ref: Explaining gettext-Footnote-2970826
+Node: Programmer i18n970991
+Ref: Programmer i18n-Footnote-1976103
+Node: Translator i18n976152
+Node: String Extraction976982
+Ref: String Extraction-Footnote-1978158
+Node: Printf Ordering978256
+Ref: Printf Ordering-Footnote-1981114
+Node: I18N Portability981182
+Ref: I18N Portability-Footnote-1983742
+Node: I18N Example983809
+Ref: I18N Example-Footnote-1987203
+Ref: I18N Example-Footnote-2987276
+Node: Gawk I18N987393
+Node: I18N Summary988047
+Node: Debugger989444
+Node: Debugging990464
+Node: Debugging Concepts990913
+Node: Debugging Terms992730
+Node: Awk Debugging995333
+Ref: Awk Debugging-Footnote-1996306
+Node: Sample Debugging Session996442
+Node: Debugger Invocation996992
+Node: Finding The Bug998617
+Node: List of Debugger Commands1005249
+Node: Breakpoint Control1006626
+Node: Debugger Execution Control1010448
+Node: Viewing And Changing Data1013922
+Node: Execution Stack1017656
+Node: Debugger Info1019337
+Node: Miscellaneous Debugger Commands1023632
+Node: Readline Support1028873
+Node: Limitations1029817
+Node: Debugging Summary1032441
+Node: Namespaces1033740
+Node: Global Namespace1034867
+Node: Qualified Names1036301
+Node: Default Namespace1037336
+Node: Changing The Namespace1038109
+Node: Naming Rules1039791
+Node: Internal Name Management1041746
+Node: Namespace Example1042816
+Node: Namespace And Features1045393
+Node: Namespace Summary1046848
+Node: Arbitrary Precision Arithmetic1048359
+Node: Computer Arithmetic1049878
+Ref: table-numeric-ranges1053803
+Ref: table-floating-point-ranges1054300
+Ref: Computer Arithmetic-Footnote-11054958
+Node: Math Definitions1055015
+Ref: table-ieee-formats1058047
+Node: MPFR features1058620
+Node: MPFR On Parole1059073
+Ref: MPFR On Parole-Footnote-11059914
+Node: MPFR Intro1060073
+Node: FP Math Caution1061757
+Ref: FP Math Caution-Footnote-11062829
+Node: Inexactness of computations1063202
+Node: Inexact representation1064233
+Node: Comparing FP Values1065614
+Node: Errors accumulate1066872
+Node: Strange values1068337
+Ref: Strange values-Footnote-11070991
+Node: Getting Accuracy1071096
+Node: Try To Round1073833
+Node: Setting precision1074740
+Ref: table-predefined-precision-strings1075445
+Node: Setting the rounding mode1077329
+Ref: table-gawk-rounding-modes1077711
+Ref: Setting the rounding mode-Footnote-11081763
+Node: Arbitrary Precision Integers1081946
+Ref: Arbitrary Precision Integers-Footnote-11085156
+Node: Checking for MPFR1085309
+Node: POSIX Floating Point Problems1086799
+Ref: POSIX Floating Point Problems-Footnote-11091619
+Node: Floating point summary1091657
+Node: Dynamic Extensions1093913
+Node: Extension Intro1095510
+Node: Plugin License1096812
+Node: Extension Mechanism Outline1097625
+Ref: figure-load-extension1098076
+Ref: figure-register-new-function1099654
+Ref: figure-call-new-function1100763
+Node: Extension API Description1102878
+Node: Extension API Functions Introduction1104607
+Ref: table-api-std-headers1106501
+Node: General Data Types1110942
+Ref: General Data Types-Footnote-11120088
+Node: Memory Allocation Functions1120391
+Ref: Memory Allocation Functions-Footnote-11125108
+Node: Constructor Functions1125207
+Node: API Ownership of MPFR and GMP Values1129108
+Node: Registration Functions1130661
+Node: Extension Functions1131365
+Node: Exit Callback Functions1136939
+Node: Extension Version String1138253
+Node: Input Parsers1138948
+Node: Output Wrappers1153567
+Node: Two-way processors1158409
+Node: Printing Messages1160762
+Ref: Printing Messages-Footnote-11161973
+Node: Updating ERRNO1162126
+Node: Requesting Values1162925
+Ref: table-value-types-returned1163678
+Node: Accessing Parameters1165737
+Node: Symbol Table Access1167018
+Node: Symbol table by name1167530
+Ref: Symbol table by name-Footnote-11170731
+Node: Symbol table by cookie1170863
+Ref: Symbol table by cookie-Footnote-11175132
+Node: Cached values1175196
+Ref: Cached values-Footnote-11178828
+Node: Array Manipulation1178985
+Ref: Array Manipulation-Footnote-11180084
+Node: Array Data Types1180121
+Ref: Array Data Types-Footnote-11182939
+Node: Array Functions1183035
+Node: Flattening Arrays1188064
+Node: Creating Arrays1195112
+Node: Redirection API1199954
+Node: Extension API Variables1202971
+Node: Extension Versioning1203694
+Ref: gawk-api-version1204123
+Node: Extension GMP/MPFR Versioning1205910
+Node: Extension API Informational Variables1207614
+Node: Extension API Boilerplate1208867
+Node: Changes from API V11212997
+Node: Finding Extensions1214629
+Node: Extension Example1215204
+Node: Internal File Description1216026
+Node: Internal File Ops1220318
+Ref: Internal File Ops-Footnote-11231868
+Node: Using Internal File Ops1232016
+Ref: Using Internal File Ops-Footnote-11234449
+Node: Extension Samples1234727
+Node: Extension Sample File Functions1236296
+Node: Extension Sample Fnmatch1244421
+Node: Extension Sample Fork1246016
+Node: Extension Sample Inplace1247292
+Node: Extension Sample Ord1251394
+Node: Extension Sample Readdir1252270
+Ref: table-readdir-file-types1253059
+Node: Extension Sample Revout1254415
+Node: Extension Sample Rev2way1255012
+Node: Extension Sample Read write array1255764
+Node: Extension Sample Readfile1259038
+Node: Extension Sample Time1260169
+Node: Extension Sample API Tests1262169
+Node: gawkextlib1262677
+Node: Extension summary1265709
+Node: Extension Exercises1269557
+Node: Language History1270827
+Node: V7/SVR3.11272539
+Node: SVR41274889
+Node: POSIX1276421
+Node: BTL1277846
+Node: POSIX/GNU1278613
+Ref: Gawk Extension Functions1282003
+Node: Feature History1285427
+Node: Common Extensions1305268
+Node: Ranges and Locales1306743
+Ref: Ranges and Locales-Footnote-11311528
+Ref: Ranges and Locales-Footnote-21311555
+Ref: Ranges and Locales-Footnote-31311790
+Node: Contributors1312013
+Node: History summary1318204
+Node: Installation1319646
+Node: Gawk Distribution1320610
+Node: Getting1321102
+Node: Extracting1322101
+Node: Distribution contents1323807
+Node: Unix Installation1331697
+Node: Quick Installation1332517
+Node: Compiling with MPFR1335057
+Node: Shell Startup Files1335763
+Node: Additional Configuration Options1336920
+Node: Configuration Philosophy1339303
+Node: Compiling from Git1341803
+Node: Building the Documentation1342362
+Node: Non-Unix Installation1343774
+Node: PC Installation1344250
+Node: PC Binary Installation1345119
+Node: PC Compiling1346012
+Node: PC Using1347190
+Node: Cygwin1350906
+Node: MSYS1352158
+Node: OpenVMS Installation1352784
+Node: OpenVMS Compilation1353465
+Ref: OpenVMS Compilation-Footnote-11354948
+Node: OpenVMS Dynamic Extensions1355006
+Node: OpenVMS Installation Details1356642
+Node: OpenVMS Running1359073
+Node: OpenVMS GNV1363210
+Node: Bugs1363965
+Node: Bug definition1364885
+Node: Bug address1368486
+Node: Usenet1372055
+Node: Performance bugs1373268
+Node: Asking for help1376272
+Node: Maintainers1378259
+Node: Other Versions1379286
+Node: Installation summary1389275
+Node: Notes1390657
+Node: Compatibility Mode1391467
+Node: Additions1392289
+Node: Accessing The Source1393234
+Node: Adding Code1394765
+Node: New Ports1401876
+Node: Derived Files1406379
+Ref: Derived Files-Footnote-11412190
+Ref: Derived Files-Footnote-21412225
+Ref: Derived Files-Footnote-31412836
+Node: Future Extensions1412950
+Node: Implementation Limitations1413620
+Node: Extension Design1414862
+Node: Old Extension Problems1416022
+Ref: Old Extension Problems-Footnote-11417594
+Node: Extension New Mechanism Goals1417655
+Ref: Extension New Mechanism Goals-Footnote-11421125
+Node: Extension Other Design Decisions1421326
+Node: Extension Future Growth1423523
+Node: Notes summary1424143
+Node: Basic Concepts1425353
+Node: Basic High Level1426038
+Ref: figure-general-flow1426320
+Ref: figure-process-flow1427022
+Ref: Basic High Level-Footnote-11430392
+Node: Basic Data Typing1430581
+Node: Glossary1433989
+Node: Copying1466867
+Node: GNU Free Documentation License1504425
+Node: Index1529548
End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index a305ac2d..7493006c 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -29013,6 +29013,20 @@ we also mentioned that this solution has a bug: the
translated line is
output, and not the original one. Fix this problem.
@c Exercise: Fix this, w/array and new line as key to original line
+@item
+POSIX versions of @command{grep} accept a @option{-F} option which
+causes @command{grep} to match fixed strings. Add support for
+this to @file{egrep.awk}.
+
+@item
+Similarly, POSIX versions of @command{grep} allow you to
+provide multiple patterns to match, in either of two ways.
+You may provide a quoted string on the command line where
+the patterns are separated by newlines. Or you may use the
+@option{-f} option to provide a file containing the patterns,
+one per line.
+Implement both of these features.
+
@item
The POSIX version of @command{id} takes options that control which
information is printed. Modify the @command{awk} version
-----------------------------------------------------------------------
Summary of changes:
doc/ChangeLog | 5 +
doc/gawk.info | 552 ++++++++++++++++++++++++++++++----------------------------
doc/gawk.texi | 14 ++
3 files changed, 300 insertions(+), 271 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5526-g5292ce3f,
Arnold Robbins <=