From 25489b458fb5696ef7fa93f03c653fd103ea7aab Mon Sep 17 00:00:00 2001 From: Paul Ackersviller Date: Tue, 9 Oct 2007 03:10:54 +0000 Subject: Merge of 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 a22296c84..cb40f8e36 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -1131,6 +1131,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