From 770385938d96796e61dfc637ee9e648891b47497 Mon Sep 17 00:00:00 2001 From: andy Date: Sun, 25 Dec 2016 00:39:48 +0000 Subject: Add note to array documentation about the general uselessness of -exact matching. It exists because [array names] had it since check-in [634da00427] (8.4a1), which also added -regexp. --- doc/array.n | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/array.n b/doc/array.n index 40e0c24..c901560 100644 --- a/doc/array.n +++ b/doc/array.n @@ -36,7 +36,9 @@ in the array. The legal \fImode\fR values are: \fB\-exact\fR . \fIPattern\fR is a literal string that is compared for exact equality against -each array element name. +each array element name. This mode has limited utility because all uses of the +\fBarray\fR command with \fB-exact\fR matching can be implemented by operating +directly on the array element with standard \fIname\fB(\fIindex\fB)\fR notation. .TP \fB\-glob\fR . -- cgit v0.12