Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Brace expansion from arrays?

"Johann 'Myrkraverk' Oskarsson" wrote:
> In that case, is it too much to ask to reference that in the chapter
> about BRACE EXPANSION in the man page?

Index: Doc/Zsh/expn.yo
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/expn.yo,v
retrieving revision 1.65
diff -u -r1.65 expn.yo
--- Doc/Zsh/expn.yo	9 Apr 2006 21:47:22 -0000	1.65
+++ Doc/Zsh/expn.yo	22 May 2006 09:43:11 -0000
@@ -1140,6 +1140,13 @@
 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))
 texinode(Filename Expansion)(Filename Generation)(Brace Expansion)(Expansion)
 sect(Filename Expansion)
 cindex(filename expansion)

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070

To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php

Messages sorted by: Reverse Date, Date, Thread, Author