From acdcf9d8542a4461c0fceb98fdfef7380a128f78 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Wed, 8 May 2024 09:28:06 +0100
Subject: 52915: be explicit about pattern syntax in conditions
---
ChangeLog | 5 +++++
Doc/Zsh/cond.yo | 6 +++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index df3f9b73c..d3980ecfe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-05-08 Peter Stephenson
+
+ * 52915: Doc/Zsh/cond.yo: be explicit about behaviour of globbing
+ patterns within conditions.
+
2024-04-07 Mikael Magnusson
* 52878: Src/subst.c: Fix ${foo:^bar} where bar is an associative
diff --git a/Doc/Zsh/cond.yo b/Doc/Zsh/cond.yo
index 000e576d0..db92cc766 100644
--- a/Doc/Zsh/cond.yo
+++ b/Doc/Zsh/cond.yo
@@ -241,7 +241,11 @@ ifnzman(\
noderef(Filename Generation)\
)\
, but there is no special behaviour
-of `tt(/)' nor initial dots, and no glob qualifiers are allowed.
+of `tt(/)' nor initial dot, and the patterns `tt(**/)' and `tt(***/)' behave
+the same as `tt(*/)', in which the `tt(*)' has its standard behaviour
+but may also match further `tt(/)' characters. Also, no bare glob
+qualifiers are allowed, though the form `((#q)var(...))' is allowed as
+shown above.
In each of the above expressions, if
var(file) is of the form `tt(/dev/fd/)var(n)',
--
cgit v1.2.3