diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2024-05-08 09:28:06 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2024-05-08 09:28:06 +0100 |
commit | acdcf9d8542a4461c0fceb98fdfef7380a128f78 (patch) | |
tree | 37f0042e90ff1db88d240c806c2cfffd240a5565 /Doc | |
parent | a66e92918568881af110a3e2e3018b317c054e4a (diff) | |
download | zsh-acdcf9d8542a4461c0fceb98fdfef7380a128f78.tar.gz zsh-acdcf9d8542a4461c0fceb98fdfef7380a128f78.tar.xz zsh-acdcf9d8542a4461c0fceb98fdfef7380a128f78.zip |
52915: be explicit about pattern syntax in conditions
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/cond.yo | 6 |
1 files changed, 5 insertions, 1 deletions
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)', |