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 --- Doc/Zsh/cond.yo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Doc') 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