diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-10-05 17:43:43 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-10-05 17:43:43 +0300 |
commit | 89668c41189fc93ec2dc9ce60c93ec0834231990 (patch) | |
tree | 4a82c97cc69bb7bec45eb1dfa54137d253a3e228 /doc | |
parent | a76844f2c53dfc24b7c27660c2dfa6d175f503e9 (diff) | |
download | egawk-89668c41189fc93ec2dc9ce60c93ec0834231990.tar.gz egawk-89668c41189fc93ec2dc9ce60c93ec0834231990.tar.bz2 egawk-89668c41189fc93ec2dc9ce60c93ec0834231990.zip |
More doc fixes.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ChangeLog | 5 | ||||
-rw-r--r-- | doc/gawk.info | 540 | ||||
-rw-r--r-- | doc/gawk.texi | 8 | ||||
-rw-r--r-- | doc/gawktexi.in | 8 |
4 files changed, 283 insertions, 278 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index 62f8e0d8..93dc0c11 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -3,6 +3,11 @@ * gawktexi.in: Minor edit related to compatiblity mode and unknown options. Thanks to Arkadiusz Drabczyk <arkadiusz@drabczyk.org> for raising the issue. + + Unrelated: + + * gawktexi.in: A number of small fixes, mostly thanks to + Antonio Columbo. 2020-10-04 Arnold D. Robbins <arnold@skeeve.com> diff --git a/doc/gawk.info b/doc/gawk.info index d37dbf3d..7fd6f1b7 100644 --- a/doc/gawk.info +++ b/doc/gawk.info @@ -17674,7 +17674,7 @@ supplied: function usage() { print("usage: cut [-f list] [-d c] [-s] [files...]") > "/dev/stderr" - print("usage: cut [-c list] [files...]") > "/dev/stderr" + print(" cut [-c list] [files...]") > "/dev/stderr" exit 1 } @@ -18441,7 +18441,7 @@ and what they do are as follows: Instead of each file containing a specified number of lines, each file should have (at most) N bytes. Supplying a trailing 'k' multiplies N by 1,024, yielding kilobytes. Supplying a trailing - 'm' mutiplies N by 1,048,576 (1,024 * 1,024) yielding megabytes. + 'm' multiplies N by 1,048,576 (1,024 * 1,024) yielding megabytes. (This option is mutually exclusive with '-l'). '-l' COUNT @@ -19124,7 +19124,7 @@ does not mandate this behavior, though. 'print_total' is true if more than one file is named on the command line: - # wc.awk --- count lines, words, characters + # wc.awk --- count lines, words, characters, bytes # Options: # -l only count lines @@ -35385,7 +35385,7 @@ Index * coprocesses <1>: Two-way I/O. (line 27) * cos: Numeric Functions. (line 16) * cosine: Numeric Functions. (line 16) -* counting words, lines, characters, and bytese: Wc Program. (line 6) +* counting words, lines, characters, and bytes: Wc Program. (line 6) * csh utility: Statements/Lines. (line 45) * csh utility, POSIXLY_CORRECT environment variable: Options. (line 406) * csh utility, |& operator, comparison with: Two-way I/O. (line 27) @@ -38218,272 +38218,272 @@ Node: Cut Program728270 Node: Egrep Program738199 Node: Id Program747210 Node: Split Program757157 -Ref: Split Program-Footnote-1766930 -Node: Tee Program767103 -Node: Uniq Program769893 -Node: Wc Program777457 -Node: Bytes vs. Characters777854 -Node: Using extensions779402 -Node: wc program780160 -Node: Miscellaneous Programs785018 -Node: Dupword Program786231 -Node: Alarm Program788261 -Node: Translate Program793116 -Ref: Translate Program-Footnote-1797681 -Node: Labels Program797951 -Ref: Labels Program-Footnote-1801302 -Node: Word Sorting801386 -Node: History Sorting805458 -Node: Extract Program807683 -Node: Simple Sed815737 -Node: Igawk Program818811 -Ref: Igawk Program-Footnote-1833142 -Ref: Igawk Program-Footnote-2833344 -Ref: Igawk Program-Footnote-3833466 -Node: Anagram Program833581 -Node: Signature Program836643 -Node: Programs Summary837890 -Node: Programs Exercises839104 -Ref: Programs Exercises-Footnote-1843234 -Node: Advanced Features843320 -Node: Nondecimal Data845310 -Node: Array Sorting846901 -Node: Controlling Array Traversal847601 -Ref: Controlling Array Traversal-Footnote-1855969 -Node: Array Sorting Functions856087 -Ref: Array Sorting Functions-Footnote-1861178 -Node: Two-way I/O861374 -Ref: Two-way I/O-Footnote-1869095 -Ref: Two-way I/O-Footnote-2869282 -Node: TCP/IP Networking869364 -Node: Profiling872482 -Node: Advanced Features Summary881796 -Node: Internationalization883640 -Node: I18N and L10N885120 -Node: Explaining gettext885807 -Ref: Explaining gettext-Footnote-1891699 -Ref: Explaining gettext-Footnote-2891884 -Node: Programmer i18n892049 -Ref: Programmer i18n-Footnote-1896998 -Node: Translator i18n897047 -Node: String Extraction897841 -Ref: String Extraction-Footnote-1898973 -Node: Printf Ordering899059 -Ref: Printf Ordering-Footnote-1901845 -Node: I18N Portability901909 -Ref: I18N Portability-Footnote-1904365 -Node: I18N Example904428 -Ref: I18N Example-Footnote-1907703 -Ref: I18N Example-Footnote-2907776 -Node: Gawk I18N907885 -Node: I18N Summary908534 -Node: Debugger909875 -Node: Debugging910875 -Node: Debugging Concepts911316 -Node: Debugging Terms913125 -Node: Awk Debugging915700 -Ref: Awk Debugging-Footnote-1916645 -Node: Sample Debugging Session916777 -Node: Debugger Invocation917311 -Node: Finding The Bug918697 -Node: List of Debugger Commands925171 -Node: Breakpoint Control926504 -Node: Debugger Execution Control930198 -Node: Viewing And Changing Data933560 -Node: Execution Stack937101 -Node: Debugger Info938738 -Node: Miscellaneous Debugger Commands942809 -Node: Readline Support947871 -Node: Limitations948767 -Node: Debugging Summary951321 -Node: Namespaces952600 -Node: Global Namespace953711 -Node: Qualified Names955109 -Node: Default Namespace956108 -Node: Changing The Namespace956849 -Node: Naming Rules958463 -Node: Internal Name Management960311 -Node: Namespace Example961353 -Node: Namespace And Features963915 -Node: Namespace Summary965350 -Node: Arbitrary Precision Arithmetic966827 -Node: Computer Arithmetic968314 -Ref: table-numeric-ranges972080 -Ref: table-floating-point-ranges972573 -Ref: Computer Arithmetic-Footnote-1973231 -Node: Math Definitions973288 -Ref: table-ieee-formats976604 -Ref: Math Definitions-Footnote-1977207 -Node: MPFR features977312 -Node: FP Math Caution979030 -Ref: FP Math Caution-Footnote-1980102 -Node: Inexactness of computations980471 -Node: Inexact representation981431 -Node: Comparing FP Values982791 -Node: Errors accumulate984032 -Node: Getting Accuracy985465 -Node: Try To Round988175 -Node: Setting precision989074 -Ref: table-predefined-precision-strings989771 -Node: Setting the rounding mode991601 -Ref: table-gawk-rounding-modes991975 -Ref: Setting the rounding mode-Footnote-1995906 -Node: Arbitrary Precision Integers996085 -Ref: Arbitrary Precision Integers-Footnote-1999260 -Node: Checking for MPFR999409 -Node: POSIX Floating Point Problems1000883 -Ref: POSIX Floating Point Problems-Footnote-11005168 -Node: Floating point summary1005206 -Node: Dynamic Extensions1007396 -Node: Extension Intro1008949 -Node: Plugin License1010215 -Node: Extension Mechanism Outline1011012 -Ref: figure-load-extension1011451 -Ref: figure-register-new-function1013016 -Ref: figure-call-new-function1014108 -Node: Extension API Description1016170 -Node: Extension API Functions Introduction1017883 -Ref: table-api-std-headers1019719 -Node: General Data Types1023968 -Ref: General Data Types-Footnote-11032598 -Node: Memory Allocation Functions1032897 -Ref: Memory Allocation Functions-Footnote-11037398 -Node: Constructor Functions1037497 -Node: API Ownership of MPFR and GMP Values1040963 -Node: Registration Functions1042276 -Node: Extension Functions1042976 -Node: Exit Callback Functions1048298 -Node: Extension Version String1049548 -Node: Input Parsers1050211 -Node: Output Wrappers1062932 -Node: Two-way processors1067444 -Node: Printing Messages1069709 -Ref: Printing Messages-Footnote-11070880 -Node: Updating ERRNO1071033 -Node: Requesting Values1071772 -Ref: table-value-types-returned1072509 -Node: Accessing Parameters1073445 -Node: Symbol Table Access1074682 -Node: Symbol table by name1075194 -Ref: Symbol table by name-Footnote-11078218 -Node: Symbol table by cookie1078346 -Ref: Symbol table by cookie-Footnote-11082531 -Node: Cached values1082595 -Ref: Cached values-Footnote-11086131 -Node: Array Manipulation1086284 -Ref: Array Manipulation-Footnote-11087375 -Node: Array Data Types1087412 -Ref: Array Data Types-Footnote-11090070 -Node: Array Functions1090162 -Node: Flattening Arrays1094660 -Node: Creating Arrays1101636 -Node: Redirection API1106403 -Node: Extension API Variables1109236 -Node: Extension Versioning1109947 -Ref: gawk-api-version1110376 -Node: Extension GMP/MPFR Versioning1112107 -Node: Extension API Informational Variables1113735 -Node: Extension API Boilerplate1114808 -Node: Changes from API V11118782 -Node: Finding Extensions1120354 -Node: Extension Example1120913 -Node: Internal File Description1121711 -Node: Internal File Ops1125791 -Ref: Internal File Ops-Footnote-11137141 -Node: Using Internal File Ops1137281 -Ref: Using Internal File Ops-Footnote-11139664 -Node: Extension Samples1139938 -Node: Extension Sample File Functions1141467 -Node: Extension Sample Fnmatch1149116 -Node: Extension Sample Fork1150603 -Node: Extension Sample Inplace1151821 -Node: Extension Sample Ord1155447 -Node: Extension Sample Readdir1156283 -Ref: table-readdir-file-types1157172 -Node: Extension Sample Revout1158239 -Node: Extension Sample Rev2way1158828 -Node: Extension Sample Read write array1159568 -Node: Extension Sample Readfile1161510 -Node: Extension Sample Time1162605 -Node: Extension Sample API Tests1164357 -Node: gawkextlib1164849 -Node: Extension summary1167767 -Node: Extension Exercises1171469 -Node: Language History1172711 -Node: V7/SVR3.11174367 -Node: SVR41176519 -Node: POSIX1177953 -Node: BTL1179334 -Node: POSIX/GNU1180063 -Node: Feature History1185841 -Node: Common Extensions1202160 -Node: Ranges and Locales1203443 -Ref: Ranges and Locales-Footnote-11208059 -Ref: Ranges and Locales-Footnote-21208086 -Ref: Ranges and Locales-Footnote-31208321 -Node: Contributors1208544 -Node: History summary1214541 -Node: Installation1215921 -Node: Gawk Distribution1216865 -Node: Getting1217349 -Node: Extracting1218312 -Node: Distribution contents1219950 -Node: Unix Installation1226430 -Node: Quick Installation1227112 -Node: Shell Startup Files1229526 -Node: Additional Configuration Options1230615 -Node: Configuration Philosophy1232930 -Node: Non-Unix Installation1235299 -Node: PC Installation1235759 -Node: PC Binary Installation1236597 -Node: PC Compiling1237032 -Node: PC Using1238149 -Node: Cygwin1241702 -Node: MSYS1242926 -Node: VMS Installation1243528 -Node: VMS Compilation1244319 -Ref: VMS Compilation-Footnote-11245548 -Node: VMS Dynamic Extensions1245606 -Node: VMS Installation Details1247291 -Node: VMS Running1249544 -Node: VMS GNV1253823 -Node: VMS Old Gawk1254558 -Node: Bugs1255029 -Node: Bug address1255692 -Node: Usenet1258674 -Node: Maintainers1259678 -Node: Other Versions1260863 -Node: Installation summary1267951 -Node: Notes1269160 -Node: Compatibility Mode1269954 -Node: Additions1270736 -Node: Accessing The Source1271661 -Node: Adding Code1273098 -Node: New Ports1279317 -Node: Derived Files1283692 -Ref: Derived Files-Footnote-11289352 -Ref: Derived Files-Footnote-21289387 -Ref: Derived Files-Footnote-31289985 -Node: Future Extensions1290099 -Node: Implementation Limitations1290757 -Node: Extension Design1291967 -Node: Old Extension Problems1293111 -Ref: Old Extension Problems-Footnote-11294629 -Node: Extension New Mechanism Goals1294686 -Ref: Extension New Mechanism Goals-Footnote-11298050 -Node: Extension Other Design Decisions1298239 -Node: Extension Future Growth1300352 -Node: Notes summary1300958 -Node: Basic Concepts1302116 -Node: Basic High Level1302797 -Ref: figure-general-flow1303079 -Ref: figure-process-flow1303764 -Ref: Basic High Level-Footnote-11307065 -Node: Basic Data Typing1307250 -Node: Glossary1310578 -Node: Copying1342463 -Node: GNU Free Documentation License1380006 -Node: Index1405126 +Ref: Split Program-Footnote-1766931 +Node: Tee Program767104 +Node: Uniq Program769894 +Node: Wc Program777458 +Node: Bytes vs. Characters777855 +Node: Using extensions779403 +Node: wc program780161 +Node: Miscellaneous Programs785026 +Node: Dupword Program786239 +Node: Alarm Program788269 +Node: Translate Program793124 +Ref: Translate Program-Footnote-1797689 +Node: Labels Program797959 +Ref: Labels Program-Footnote-1801310 +Node: Word Sorting801394 +Node: History Sorting805466 +Node: Extract Program807691 +Node: Simple Sed815745 +Node: Igawk Program818819 +Ref: Igawk Program-Footnote-1833150 +Ref: Igawk Program-Footnote-2833352 +Ref: Igawk Program-Footnote-3833474 +Node: Anagram Program833589 +Node: Signature Program836651 +Node: Programs Summary837898 +Node: Programs Exercises839112 +Ref: Programs Exercises-Footnote-1843242 +Node: Advanced Features843328 +Node: Nondecimal Data845318 +Node: Array Sorting846909 +Node: Controlling Array Traversal847609 +Ref: Controlling Array Traversal-Footnote-1855977 +Node: Array Sorting Functions856095 +Ref: Array Sorting Functions-Footnote-1861186 +Node: Two-way I/O861382 +Ref: Two-way I/O-Footnote-1869103 +Ref: Two-way I/O-Footnote-2869290 +Node: TCP/IP Networking869372 +Node: Profiling872490 +Node: Advanced Features Summary881804 +Node: Internationalization883648 +Node: I18N and L10N885128 +Node: Explaining gettext885815 +Ref: Explaining gettext-Footnote-1891707 +Ref: Explaining gettext-Footnote-2891892 +Node: Programmer i18n892057 +Ref: Programmer i18n-Footnote-1897006 +Node: Translator i18n897055 +Node: String Extraction897849 +Ref: String Extraction-Footnote-1898981 +Node: Printf Ordering899067 +Ref: Printf Ordering-Footnote-1901853 +Node: I18N Portability901917 +Ref: I18N Portability-Footnote-1904373 +Node: I18N Example904436 +Ref: I18N Example-Footnote-1907711 +Ref: I18N Example-Footnote-2907784 +Node: Gawk I18N907893 +Node: I18N Summary908542 +Node: Debugger909883 +Node: Debugging910883 +Node: Debugging Concepts911324 +Node: Debugging Terms913133 +Node: Awk Debugging915708 +Ref: Awk Debugging-Footnote-1916653 +Node: Sample Debugging Session916785 +Node: Debugger Invocation917319 +Node: Finding The Bug918705 +Node: List of Debugger Commands925179 +Node: Breakpoint Control926512 +Node: Debugger Execution Control930206 +Node: Viewing And Changing Data933568 +Node: Execution Stack937109 +Node: Debugger Info938746 +Node: Miscellaneous Debugger Commands942817 +Node: Readline Support947879 +Node: Limitations948775 +Node: Debugging Summary951329 +Node: Namespaces952608 +Node: Global Namespace953719 +Node: Qualified Names955117 +Node: Default Namespace956116 +Node: Changing The Namespace956857 +Node: Naming Rules958471 +Node: Internal Name Management960319 +Node: Namespace Example961361 +Node: Namespace And Features963923 +Node: Namespace Summary965358 +Node: Arbitrary Precision Arithmetic966835 +Node: Computer Arithmetic968322 +Ref: table-numeric-ranges972088 +Ref: table-floating-point-ranges972581 +Ref: Computer Arithmetic-Footnote-1973239 +Node: Math Definitions973296 +Ref: table-ieee-formats976612 +Ref: Math Definitions-Footnote-1977215 +Node: MPFR features977320 +Node: FP Math Caution979038 +Ref: FP Math Caution-Footnote-1980110 +Node: Inexactness of computations980479 +Node: Inexact representation981439 +Node: Comparing FP Values982799 +Node: Errors accumulate984040 +Node: Getting Accuracy985473 +Node: Try To Round988183 +Node: Setting precision989082 +Ref: table-predefined-precision-strings989779 +Node: Setting the rounding mode991609 +Ref: table-gawk-rounding-modes991983 +Ref: Setting the rounding mode-Footnote-1995914 +Node: Arbitrary Precision Integers996093 +Ref: Arbitrary Precision Integers-Footnote-1999268 +Node: Checking for MPFR999417 +Node: POSIX Floating Point Problems1000891 +Ref: POSIX Floating Point Problems-Footnote-11005176 +Node: Floating point summary1005214 +Node: Dynamic Extensions1007404 +Node: Extension Intro1008957 +Node: Plugin License1010223 +Node: Extension Mechanism Outline1011020 +Ref: figure-load-extension1011459 +Ref: figure-register-new-function1013024 +Ref: figure-call-new-function1014116 +Node: Extension API Description1016178 +Node: Extension API Functions Introduction1017891 +Ref: table-api-std-headers1019727 +Node: General Data Types1023976 +Ref: General Data Types-Footnote-11032606 +Node: Memory Allocation Functions1032905 +Ref: Memory Allocation Functions-Footnote-11037406 +Node: Constructor Functions1037505 +Node: API Ownership of MPFR and GMP Values1040971 +Node: Registration Functions1042284 +Node: Extension Functions1042984 +Node: Exit Callback Functions1048306 +Node: Extension Version String1049556 +Node: Input Parsers1050219 +Node: Output Wrappers1062940 +Node: Two-way processors1067452 +Node: Printing Messages1069717 +Ref: Printing Messages-Footnote-11070888 +Node: Updating ERRNO1071041 +Node: Requesting Values1071780 +Ref: table-value-types-returned1072517 +Node: Accessing Parameters1073453 +Node: Symbol Table Access1074690 +Node: Symbol table by name1075202 +Ref: Symbol table by name-Footnote-11078226 +Node: Symbol table by cookie1078354 +Ref: Symbol table by cookie-Footnote-11082539 +Node: Cached values1082603 +Ref: Cached values-Footnote-11086139 +Node: Array Manipulation1086292 +Ref: Array Manipulation-Footnote-11087383 +Node: Array Data Types1087420 +Ref: Array Data Types-Footnote-11090078 +Node: Array Functions1090170 +Node: Flattening Arrays1094668 +Node: Creating Arrays1101644 +Node: Redirection API1106411 +Node: Extension API Variables1109244 +Node: Extension Versioning1109955 +Ref: gawk-api-version1110384 +Node: Extension GMP/MPFR Versioning1112115 +Node: Extension API Informational Variables1113743 +Node: Extension API Boilerplate1114816 +Node: Changes from API V11118790 +Node: Finding Extensions1120362 +Node: Extension Example1120921 +Node: Internal File Description1121719 +Node: Internal File Ops1125799 +Ref: Internal File Ops-Footnote-11137149 +Node: Using Internal File Ops1137289 +Ref: Using Internal File Ops-Footnote-11139672 +Node: Extension Samples1139946 +Node: Extension Sample File Functions1141475 +Node: Extension Sample Fnmatch1149124 +Node: Extension Sample Fork1150611 +Node: Extension Sample Inplace1151829 +Node: Extension Sample Ord1155455 +Node: Extension Sample Readdir1156291 +Ref: table-readdir-file-types1157180 +Node: Extension Sample Revout1158247 +Node: Extension Sample Rev2way1158836 +Node: Extension Sample Read write array1159576 +Node: Extension Sample Readfile1161518 +Node: Extension Sample Time1162613 +Node: Extension Sample API Tests1164365 +Node: gawkextlib1164857 +Node: Extension summary1167775 +Node: Extension Exercises1171477 +Node: Language History1172719 +Node: V7/SVR3.11174375 +Node: SVR41176527 +Node: POSIX1177961 +Node: BTL1179342 +Node: POSIX/GNU1180071 +Node: Feature History1185849 +Node: Common Extensions1202168 +Node: Ranges and Locales1203451 +Ref: Ranges and Locales-Footnote-11208067 +Ref: Ranges and Locales-Footnote-21208094 +Ref: Ranges and Locales-Footnote-31208329 +Node: Contributors1208552 +Node: History summary1214549 +Node: Installation1215929 +Node: Gawk Distribution1216873 +Node: Getting1217357 +Node: Extracting1218320 +Node: Distribution contents1219958 +Node: Unix Installation1226438 +Node: Quick Installation1227120 +Node: Shell Startup Files1229534 +Node: Additional Configuration Options1230623 +Node: Configuration Philosophy1232938 +Node: Non-Unix Installation1235307 +Node: PC Installation1235767 +Node: PC Binary Installation1236605 +Node: PC Compiling1237040 +Node: PC Using1238157 +Node: Cygwin1241710 +Node: MSYS1242934 +Node: VMS Installation1243536 +Node: VMS Compilation1244327 +Ref: VMS Compilation-Footnote-11245556 +Node: VMS Dynamic Extensions1245614 +Node: VMS Installation Details1247299 +Node: VMS Running1249552 +Node: VMS GNV1253831 +Node: VMS Old Gawk1254566 +Node: Bugs1255037 +Node: Bug address1255700 +Node: Usenet1258682 +Node: Maintainers1259686 +Node: Other Versions1260871 +Node: Installation summary1267959 +Node: Notes1269168 +Node: Compatibility Mode1269962 +Node: Additions1270744 +Node: Accessing The Source1271669 +Node: Adding Code1273106 +Node: New Ports1279325 +Node: Derived Files1283700 +Ref: Derived Files-Footnote-11289360 +Ref: Derived Files-Footnote-21289395 +Ref: Derived Files-Footnote-31289993 +Node: Future Extensions1290107 +Node: Implementation Limitations1290765 +Node: Extension Design1291975 +Node: Old Extension Problems1293119 +Ref: Old Extension Problems-Footnote-11294637 +Node: Extension New Mechanism Goals1294694 +Ref: Extension New Mechanism Goals-Footnote-11298058 +Node: Extension Other Design Decisions1298247 +Node: Extension Future Growth1300360 +Node: Notes summary1300966 +Node: Basic Concepts1302124 +Node: Basic High Level1302805 +Ref: figure-general-flow1303087 +Ref: figure-process-flow1303772 +Ref: Basic High Level-Footnote-11307073 +Node: Basic Data Typing1307258 +Node: Glossary1310586 +Node: Copying1342471 +Node: GNU Free Documentation License1380014 +Node: Index1405134 End Tag Table diff --git a/doc/gawk.texi b/doc/gawk.texi index 90f90286..3229f0dd 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -25072,7 +25072,7 @@ supplied: function usage() @{ print("usage: cut [-f list] [-d c] [-s] [files...]") > "/dev/stderr" - print("usage: cut [-c list] [files...]") > "/dev/stderr" + print(" cut [-c list] [files...]") > "/dev/stderr" exit 1 @} @end group @@ -26041,7 +26041,7 @@ is four, the output files would range from @file{xaaaa} to @file{xzzzz}. Instead of each file containing a specified number of lines, each file should have (at most) @var{N} bytes. Supplying a trailing @samp{k} multiplies @var{N} by 1,024, yielding kilobytes. Supplying a trailing -@samp{m} mutiplies @var{N} by 1,048,576 (@math{1,024 @value{TIMES} 1,024}) +@samp{m} multiplies @var{N} by 1,048,576 (@math{1,024 @value{TIMES} 1,024}) yielding megabytes. (This option is mutually exclusive with @option{-l}). @item @option{-l} @var{count} @@ -26762,7 +26762,7 @@ as fast.'' Consider how to rewrite the logic to follow this suggestion. @node Wc Program @subsection Counting Things -@cindex counting words, lines, characters, and bytese +@cindex counting words, lines, characters, and bytes @cindex input files @subentry counting elements in @cindex words @subentry counting @cindex characters @subentry counting @@ -26881,7 +26881,7 @@ command line: @cindex @code{wc.awk} program @example @c file eg/prog/wc.awk -# wc.awk --- count lines, words, characters +# wc.awk --- count lines, words, characters, bytes @c endfile @ignore @c file eg/prog/wc.awk diff --git a/doc/gawktexi.in b/doc/gawktexi.in index be6f143d..802f54d1 100644 --- a/doc/gawktexi.in +++ b/doc/gawktexi.in @@ -24082,7 +24082,7 @@ supplied: function usage() @{ print("usage: cut [-f list] [-d c] [-s] [files...]") > "/dev/stderr" - print("usage: cut [-c list] [files...]") > "/dev/stderr" + print(" cut [-c list] [files...]") > "/dev/stderr" exit 1 @} @end group @@ -25051,7 +25051,7 @@ is four, the output files would range from @file{xaaaa} to @file{xzzzz}. Instead of each file containing a specified number of lines, each file should have (at most) @var{N} bytes. Supplying a trailing @samp{k} multiplies @var{N} by 1,024, yielding kilobytes. Supplying a trailing -@samp{m} mutiplies @var{N} by 1,048,576 (@math{1,024 @value{TIMES} 1,024}) +@samp{m} multiplies @var{N} by 1,048,576 (@math{1,024 @value{TIMES} 1,024}) yielding megabytes. (This option is mutually exclusive with @option{-l}). @item @option{-l} @var{count} @@ -25772,7 +25772,7 @@ as fast.'' Consider how to rewrite the logic to follow this suggestion. @node Wc Program @subsection Counting Things -@cindex counting words, lines, characters, and bytese +@cindex counting words, lines, characters, and bytes @cindex input files @subentry counting elements in @cindex words @subentry counting @cindex characters @subentry counting @@ -25891,7 +25891,7 @@ command line: @cindex @code{wc.awk} program @example @c file eg/prog/wc.awk -# wc.awk --- count lines, words, characters +# wc.awk --- count lines, words, characters, bytes @c endfile @ignore @c file eg/prog/wc.awk |