about summary refs log tree commit diff
diff options
context:
space:
mode:
authorivan tkachenko <me@ratijas.tk>2021-09-23 15:49:41 +0300
committerOliver Kiddle <opk@zsh.org>2021-09-29 00:09:25 +0200
commit99d915330aa470e5ca723084f54910d82aec444d (patch)
treeb346f354be40898ba683de9b8ead6f33ddb07b26
parent02f75cf38699b99340c1d2c8f5a9d9aaf81432e7 (diff)
downloadzsh-99d915330aa470e5ca723084f54910d82aec444d.tar.gz
zsh-99d915330aa470e5ca723084f54910d82aec444d.tar.xz
zsh-99d915330aa470e5ca723084f54910d82aec444d.zip
49440: Make double-flag parameter expansion syntax more discoverable in docs
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/expn.yo9
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 735ea25ee..b116ec4f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2021-09-28  Oliver Kiddle  <opk@zsh.org>
 
+	* ivan tkachenko: 49440: Doc/Zsh/expn.yo: Make double-flag
+	parameter expansion syntax more discoverable in docs
+
 	* ivan tkachenko: 49435: Doc/Zsh/expn.yo: Remove trailing whitespace
 
 	* Alex Xu: 49444: Completion/Unix/Type/_tar_archive:
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index eea147bde..d40d1b439 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -872,7 +872,8 @@ 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(}))(
+xitem(tt(${^)var(spec)tt(}))
+item(tt(${^^)var(spec)tt(}))(
 pindex(RC_EXPAND_PARAM, toggle)
 cindex(array expansion style, rc)
 cindex(rc, array expansion style)
@@ -895,7 +896,8 @@ happening later.  If word splitting is also in effect the
 tt($var[)var(N)tt(]) may themselves be split into different list
 elements.
 )
-item(tt(${=)var(spec)tt(}))(
+xitem(tt(${=)var(spec)tt(}))
+item(tt(${==)var(spec)tt(}))(
 pindex(SH_WORD_SPLIT, toggle)
 cindex(field splitting, sh style, parameter)
 cindex(sh, field splitting style, parameter)
@@ -911,7 +913,8 @@ Note that splitting is applied to var(word) in the assignment forms
 of var(spec) em(before) the assignment to var(name) is performed.
 This affects the result of array assignments with the tt(A) flag.
 )
-item(tt(${~)var(spec)tt(}))(
+xitem(tt(${~)var(spec)tt(}))
+item(tt(${~~)var(spec)tt(}))(
 pindex(GLOB_SUBST, toggle)
 Turn on the tt(GLOB_SUBST) option for the evaluation of
 var(spec); if the `tt(~)' is doubled, turn it off.  When this option is