diff options
author | dg1727 <dg1727@protonmail.com> | 2020-04-12 01:26:25 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2020-04-12 01:26:40 +0000 |
commit | 6ec97e1d48d74371252c6c67a2076bc6b01a4084 (patch) | |
tree | d561e24321f75afd8ef243d24895316b62b2dc1e /Doc | |
parent | 66ee4918a1540ae3baf8077c216a2b36ccba76f4 (diff) | |
download | zsh-6ec97e1d48d74371252c6c67a2076bc6b01a4084.tar.gz zsh-6ec97e1d48d74371252c6c67a2076bc6b01a4084.tar.xz zsh-6ec97e1d48d74371252c6c67a2076bc6b01a4084.zip |
45661: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/params.yo | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 8daf33d5e..8a6eb2446 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -399,6 +399,10 @@ Like `tt(i)', but gives the index of the last match, or all possible matching keys in an associative array. On failure substitutes 0, or the empty string for an associative array. This flag is best when testing for values or keys that do not exist. + +Note: If the option tt(KSH_ARRAYS) is in effect and no match is found, the +result is indistinguishable from the case when the first element of the array +matches. ) item(tt(k))( If used in a subscript on an associative array, this flag causes the keys |