about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-05-22 09:52:34 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-05-22 09:52:34 +0000
commit81bdedf6cf98715ef28ce1b11f6d87839d04ac93 (patch)
treea6ee34dc11701c50c190d77c5e23da92f4369cdb
parent3ac9a57ed4c8bc94f12e203af5d7018322749727 (diff)
downloadzsh-81bdedf6cf98715ef28ce1b11f6d87839d04ac93.tar.gz
zsh-81bdedf6cf98715ef28ce1b11f6d87839d04ac93.tar.xz
zsh-81bdedf6cf98715ef28ce1b11f6d87839d04ac93.zip
22451: cross-reference ${^spec} in brace expansion
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/expn.yo7
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 925e73c08..f84616a31 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-22  Peter Stephenson  <pws@csr.com>
+
+	* 22451: Doc/Zsh/expn.yo: cross-reference ${^spec} in brace
+	expansion.
+
 2006-05-20  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* unposted: Completion/Unix/Command/_bzr: added a bunch of missing
diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo
index 71a702809..146750098 100644
--- a/Doc/Zsh/expn.yo
+++ b/Doc/Zsh/expn.yo
@@ -1140,6 +1140,13 @@ particular, note that this is liable to produce a `no match' error if
 em(either) of the two expressions does not match; this is to be contrasted
 with tt(*/(foo|bar)), which is treated as a single pattern but otherwise
 has similar effects.
+
+To combine brace expansion with array expansion, see the
+tt(${^)var(spec)tt(}) form described
+ifzman(in the section Parameter Expansion)\
+ifnzman(in noderef(Parameter Expansion))
+above.
+
 texinode(Filename Expansion)(Filename Generation)(Brace Expansion)(Expansion)
 sect(Filename Expansion)
 cindex(filename expansion)