aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/gawk.info2
-rw-r--r--doc/gawk.texi4
-rw-r--r--doc/gawktexi.in4
3 files changed, 6 insertions, 4 deletions
diff --git a/doc/gawk.info b/doc/gawk.info
index 8ca1fba3..9b2131c5 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -32170,6 +32170,8 @@ Index
* dark corner, multiline records: Multiple Line. (line 35)
* dark corner, NF variable, decrementing: Changing Fields. (line 107)
* dark corner, OFMT variable: OFMT. (line 27)
+* dark corner, regexp as second argument to index(): String Functions.
+ (line 164)
* dark corner, regexp constants: Using Constant Regexps.
(line 6)
* dark corner, regexp constants, /= operator and: Assignment Ops.
diff --git a/doc/gawk.texi b/doc/gawk.texi
index f079ec9b..2603228f 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -17261,6 +17261,7 @@ $ @kbd{awk 'BEGIN @{ print index("peanut", "an") @}'}
@noindent
If @var{find} is not found, @code{index()} returns zero.
+@cindex dark corner, regexp as second argument to @code{index()}
With BWK @command{awk} and @command{gawk},
it is a fatal error to use a regexp constant for @var{find}.
Other implementations allow it, simply treating the regexp
@@ -38423,8 +38424,6 @@ Date: Wed, 4 Sep 1996 08:11:48 -0700 (PDT)
</blockquote>
@end docbook
-
-
There are a number of other freely available @command{awk} implementations.
This @value{SECTION} briefly describes where to get them:
@@ -42060,3 +42059,4 @@ But to use it you have to say
which sorta sucks.
TODO:
+Check that all dark corners are indexed properly.
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index 227274ea..9234232f 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -16545,6 +16545,7 @@ $ @kbd{awk 'BEGIN @{ print index("peanut", "an") @}'}
@noindent
If @var{find} is not found, @code{index()} returns zero.
+@cindex dark corner, regexp as second argument to @code{index()}
With BWK @command{awk} and @command{gawk},
it is a fatal error to use a regexp constant for @var{find}.
Other implementations allow it, simply treating the regexp
@@ -37533,8 +37534,6 @@ Date: Wed, 4 Sep 1996 08:11:48 -0700 (PDT)
</blockquote>
@end docbook
-
-
There are a number of other freely available @command{awk} implementations.
This @value{SECTION} briefly describes where to get them:
@@ -41170,3 +41169,4 @@ But to use it you have to say
which sorta sucks.
TODO:
+Check that all dark corners are indexed properly.