summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-01-30 21:46:52 +0200
committerArnold D. Robbins <arnold@skeeve.com>2014-01-30 21:46:52 +0200
commitf7f823dfd01a6f9778d4f41d7484f2175b80b1c5 (patch)
treeb3a9df55b8d2049b63c297309f7b89c95fb718b7
parentd9818e79d5bb15d4ded02ca99606beaf2eda0ae3 (diff)
downloadgawk-f7f823dfd01a6f9778d4f41d7484f2175b80b1c5.tar.gz
Minor doc fixes.
-rw-r--r--doc/ChangeLog6
-rw-r--r--doc/gawk.19
-rw-r--r--doc/gawk.texi6
-rw-r--r--doc/gawktexi.in6
4 files changed, 25 insertions, 2 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 989632c9..7618db88 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-30 Arnold D. Robbins <arnold@skeeve.com>
+
+ * gawktexi.in: Add a few missing STARTOFRANGE comments.
+ * gawk.1: Note that `(i, j) in array' doesn't work in for loops.
+ Update the copyright year.
+
2014-01-28 Arnold D. Robbins <arnold@skeeve.com>
* gawktexi.in: Update info for Anders Wallin.
diff --git a/doc/gawk.1 b/doc/gawk.1
index 7f31c254..f88c707c 100644
--- a/doc/gawk.1
+++ b/doc/gawk.1
@@ -13,7 +13,7 @@
. if \w'\(rq' .ds rq "\(rq
. \}
.\}
-.TH GAWK 1 "May 09 2013" "Free Software Foundation" "Utility Commands"
+.TH GAWK 1 "Jan 28 2014" "Free Software Foundation" "Utility Commands"
.SH NAME
gawk \- pattern scanning and processing language
.SH SYNOPSIS
@@ -1364,6 +1364,11 @@ The
construct may also be used in a
.B for
loop to iterate over all the elements of an array.
+However, the
+.B "(i, j) in array"
+construct only works in tests, not in
+.B for
+loops.
.PP
An element may be deleted from an array using the
.B delete
@@ -3962,7 +3967,7 @@ We thank him.
.SH COPYING PERMISSIONS
Copyright \(co 1989, 1991, 1992, 1993, 1994, 1995, 1996,
1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2009,
-2010, 2011, 2012, 2013
+2010, 2011, 2012, 2013, 2014
Free Software Foundation, Inc.
.PP
Permission is granted to make and distribute verbatim copies of
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 5de2e913..b396f9e0 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -7362,6 +7362,7 @@ then @command{gawk} sets @code{RT} to the null string.
@c STARTOFRANGE getl
@cindex @code{getline} command, explicit input with
+@c STARTOFRANGE inex
@cindex input, explicit
So far we have been getting our input data from @command{awk}'s main
input stream---either the standard input (usually your terminal, sometimes
@@ -8833,7 +8834,9 @@ on the @code{print} statement
@node Redirection
@section Redirecting Output of @code{print} and @code{printf}
+@c STARTOFRANGE outre
@cindex output redirection
+@c STARTOFRANGE reout
@cindex redirection of output
@cindex @code{--sandbox} option, output redirection with @code{print}, @code{printf}
So far, the output from @code{print} and @code{printf} has gone
@@ -9602,6 +9605,8 @@ which provide the values used in expressions.
@node Constants
@subsection Constant Expressions
+
+@c STARTOFRANGE cnst
@cindex constants, types of
The simplest type of expression is the @dfn{constant}, which always has
@@ -10807,6 +10812,7 @@ just like variables. (Use @samp{$(i++)} when you want to do a field reference
and a variable increment at the same time. The parentheses are necessary
because of the precedence of the field reference operator @samp{$}.)
+@c STARTOFRANGE deop
@cindex decrement operators
The decrement operator @samp{--} works just like @samp{++}, except that
it subtracts one instead of adding it. As with @samp{++}, it can be used before
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 26acdc00..2e6928e0 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -6988,6 +6988,7 @@ then @command{gawk} sets @code{RT} to the null string.
@c STARTOFRANGE getl
@cindex @code{getline} command, explicit input with
+@c STARTOFRANGE inex
@cindex input, explicit
So far we have been getting our input data from @command{awk}'s main
input stream---either the standard input (usually your terminal, sometimes
@@ -8459,7 +8460,9 @@ on the @code{print} statement
@node Redirection
@section Redirecting Output of @code{print} and @code{printf}
+@c STARTOFRANGE outre
@cindex output redirection
+@c STARTOFRANGE reout
@cindex redirection of output
@cindex @code{--sandbox} option, output redirection with @code{print}, @code{printf}
So far, the output from @code{print} and @code{printf} has gone
@@ -9128,6 +9131,8 @@ which provide the values used in expressions.
@node Constants
@subsection Constant Expressions
+
+@c STARTOFRANGE cnst
@cindex constants, types of
The simplest type of expression is the @dfn{constant}, which always has
@@ -10250,6 +10255,7 @@ just like variables. (Use @samp{$(i++)} when you want to do a field reference
and a variable increment at the same time. The parentheses are necessary
because of the precedence of the field reference operator @samp{$}.)
+@c STARTOFRANGE deop
@cindex decrement operators
The decrement operator @samp{--} works just like @samp{++}, except that
it subtracts one instead of adding it. As with @samp{++}, it can be used before