From 81bdedf6cf98715ef28ce1b11f6d87839d04ac93 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 22 May 2006 09:52:34 +0000 Subject: 22451: cross-reference ${^spec} in brace expansion --- ChangeLog | 5 +++++ Doc/Zsh/expn.yo | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 925e73c08..f84616a31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-22 Peter Stephenson + + * 22451: Doc/Zsh/expn.yo: cross-reference ${^spec} in brace + expansion. + 2006-05-20 Wayne Davison * 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) -- cgit 1.4.1