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 --- Doc/Zsh/expn.yo | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Doc') 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