diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2015-06-02 00:41:20 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2015-06-02 00:41:20 +0200 |
commit | 752cbfd48ab774e3de0ecf49543fe748a03406df (patch) | |
tree | a78726bf01b008c9b60f84257210b45870da09dd /Doc/Zsh/expn.yo | |
parent | 8b373331f539bedc68aa74b1fe0472151f1bea68 (diff) | |
parent | f0068edb4888a4d8fe94defa9c7affaa15e917c9 (diff) | |
download | zsh-752cbfd48ab774e3de0ecf49543fe748a03406df.tar.gz zsh-752cbfd48ab774e3de0ecf49543fe748a03406df.zip |
New upstream release: Merge tag 'zsh-5.0.8' / branch 'upstream' into 'debian'.
Diffstat (limited to 'Doc/Zsh/expn.yo')
-rw-r--r-- | Doc/Zsh/expn.yo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index afd6b1ff9..7d4e6fccb 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -777,6 +777,13 @@ This has the side-effect that joining is skipped even in quoted forms, which may affect other sub-expressions in var(spec). Note that `tt(^)', `tt(=)', and `tt(~)', below, must appear to the left of `tt(#)' when these forms are combined. + +If the option tt(POSIX_IDENTIFIERS) is not set, and var(spec) is a +simple name, then the braces are optional; this is true even +for special parameters so e.g. tt($#-) and tt($#*) take the length +of the string tt($-) and the array tt($*) respectively. If +tt(POSIX_IDENTIFIERS) is set, then braces are required for +the tt(#) to be treated in this fashion. ) item(tt(${^)var(spec)tt(}))( pindex(RC_EXPAND_PARAM, toggle) |