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 f0b336bc..4919b2fe 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -32095,6 +32095,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 be754e94..134bf356 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -17245,6 +17245,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
@@ -38289,8 +38290,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:
@@ -41926,3 +41925,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 43aab088..a5f696ab 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -16529,6 +16529,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
@@ -37383,8 +37384,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:
@@ -41020,3 +41019,4 @@ But to use it you have to say
which sorta sucks.
TODO:
+Check that all dark corners are indexed properly.