aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gawk.texi
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-08-26 21:35:37 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-08-26 21:35:37 +0300
commit3a2e4e1b409d87ade30d3ad2976695235347f13b (patch)
treea556b87c9bbfbb2fb8522493ed2d9ed92c99691f /doc/gawk.texi
parent12e05615041147de61658bda8f5e7d5a4acd87c3 (diff)
parenta5847cb0a97b093cd0f23b65c72370af836c9748 (diff)
downloadegawk-3a2e4e1b409d87ade30d3ad2976695235347f13b.tar.gz
egawk-3a2e4e1b409d87ade30d3ad2976695235347f13b.tar.bz2
egawk-3a2e4e1b409d87ade30d3ad2976695235347f13b.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'doc/gawk.texi')
-rw-r--r--doc/gawk.texi44
1 files changed, 12 insertions, 32 deletions
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 40e5c428..b418d4cf 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -575,9 +575,7 @@ particular records in a file and perform operations upon them.
* Command-line directories:: What happens if you put a directory on
the command line.
* Input Summary:: Input summary.
-@ifclear FOR_PRINT
* Input Exercises:: Exercises.
-@end ifclear
* Print:: The @code{print} statement.
* Print Examples:: Simple examples of @code{print}
statements.
@@ -602,9 +600,7 @@ particular records in a file and perform operations upon them.
* Close Files And Pipes:: Closing Input and Output Files and
Pipes.
* Output Summary:: Output summary.
-@ifclear FOR_PRINT
* Output Exercises:: Exercises.
-@end ifclear
* Values:: Constants, Variables, and Regular
Expressions.
* Constants:: String, numeric and regexp constants.
@@ -791,9 +787,7 @@ particular records in a file and perform operations upon them.
information.
* Walking Arrays:: A function to walk arrays of arrays.
* Library Functions Summary:: Summary of library functions.
-@ifclear FOR_PRINT
* Library Exercises:: Exercises.
-@end ifclear
* Running Examples:: How to run these examples.
* Clones:: Clones of common utilities.
* Cut Program:: The @command{cut} utility.
@@ -824,9 +818,7 @@ particular records in a file and perform operations upon them.
* Signature Program:: People do amazing things with too much
time on their hands.
* Programs Summary:: Summary of programs.
-@ifclear FOR_PRINT
* Programs Exercises:: Exercises.
-@end ifclear
* Nondecimal Data:: Allowing nondecimal input data.
* Array Sorting:: Facilities for controlling array
traversal and sorting arrays.
@@ -948,9 +940,7 @@ particular records in a file and perform operations upon them.
and @code{sleep()}.
* gawkextlib:: The @code{gawkextlib} project.
* Extension summary:: Extension summary.
-@ifclear FOR_PRINT
* Extension Exercises:: Exercises.
-@end ifclear
* V7/SVR3.1:: The major changes between V7 and
System V Release 3.1.
* SVR4:: Minor changes between System V
@@ -3195,8 +3185,8 @@ features that haven't been covered yet, so don't worry if you don't
understand all the details:
@example
-LC_ALL=C ls -l | awk '$6 == "Nov" @{ sum += $5 @}
- END @{ print sum @}'
+ls -l | awk '$6 == "Nov" @{ sum += $5 @}
+ END @{ print sum @}'
@end example
@cindex @command{ls} utility
@@ -6128,9 +6118,7 @@ used with it do not have to be named on the @command{awk} command line
* Command-line directories:: What happens if you put a directory on the
command line.
* Input Summary:: Input summary.
-@ifclear FOR_PRINT
* Input Exercises:: Exercises.
-@end ifclear
@end menu
@node Records
@@ -8676,7 +8664,7 @@ Directories on the command line are fatal for standard @command{awk};
@end itemize
-@ifclear FOR_PRINT
+@c EXCLUDE START
@node Input Exercises
@section Exercises
@@ -8696,7 +8684,7 @@ starts later on the same line.
Write a program that does handle multiple comments on the line.
@end enumerate
-@end ifclear
+@c EXCLUDE END
@node Printing
@chapter Printing Output
@@ -8738,9 +8726,7 @@ and discusses the @code{close()} built-in function.
descriptors.
* Close Files And Pipes:: Closing Input and Output Files and Pipes.
* Output Summary:: Output summary.
-@ifclear FOR_PRINT
* Output Exercises:: Exercises.
-@end ifclear
@end menu
@node Print
@@ -10251,7 +10237,7 @@ communications.
@end itemize
-@ifclear FOR_PRINT
+@c EXCLUDE START
@node Output Exercises
@section Exercises
@@ -10281,7 +10267,7 @@ BEGIN @{ print "Serious error detected!" > /dev/stderr @}
@end example
@end enumerate
-@end ifclear
+@c EXCLUDE END
@c ENDOFRANGE prnt
@@ -20321,9 +20307,7 @@ comparisons use only lowercase letters.
* Group Functions:: Functions for getting group information.
* Walking Arrays:: A function to walk arrays of arrays.
* Library Functions Summary:: Summary of library functions.
-@ifclear FOR_PRINT
* Library Exercises:: Exercises.
-@end ifclear
@end menu
@node Library Names
@@ -22740,7 +22724,7 @@ A simple function to traverse an array of arrays to any depth.
@end itemize
-@ifclear FOR_PRINT
+@c EXCLUDE START
@node Library Exercises
@section Exercises
@@ -22807,7 +22791,7 @@ Test your new version by printing the array; you should end up with
output identical to that of the original version.
@end enumerate
-@end ifclear
+@c EXCLUDE END
@c ENDOFRANGE flib
@c ENDOFRANGE fudlib
@@ -22852,9 +22836,7 @@ Many of these programs use library functions presented in
* Clones:: Clones of common utilities.
* Miscellaneous Programs:: Some interesting @command{awk} programs.
* Programs Summary:: Summary of programs.
-@ifclear FOR_PRINT
* Programs Exercises:: Exercises.
-@end ifclear
@end menu
@node Running Examples
@@ -26290,7 +26272,7 @@ mailing labels, and finding anagrams.
@end itemize
-@ifclear FOR_PRINT
+@c EXCLUDE START
@node Programs Exercises
@section Exercises
@@ -26420,7 +26402,7 @@ Modify @file{anagram.awk} (@pxref{Anagram Program}), to avoid
the use of the external @command{sort} utility.
@end enumerate
-@end ifclear
+@c EXCLUDE END
@ifnotinfo
@part @value{PART3}Moving Beyond Standard @command{awk} With @command{gawk}
@@ -30862,9 +30844,7 @@ When @option{--sandbox} is specified, extensions are disabled
@code{gawk}.
* gawkextlib:: The @code{gawkextlib} project.
* Extension summary:: Extension summary.
-@ifclear FOR_PRINT
* Extension Exercises:: Exercises.
-@end ifclear
@end menu
@node Extension Intro
@@ -34801,7 +34781,7 @@ should be the place to do so.
@end itemize
-@ifclear FOR_PRINT
+@c EXCLUDE START
@node Extension Exercises
@section Exercises
@@ -34824,7 +34804,7 @@ Write a wrapper script that provides an interface similar to
@ref{Extension Sample Inplace}.
@end enumerate
-@end ifclear
+@c EXCLUDE END
@ifnotinfo
@part @value{PART4}Appendices