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

Re: Brace Expansion

zzapper wrote:
> This must be an old zsh chestnut EXCEPT I couldn't Google a solution

By the way, you might want to try the manual as well as Google.



     Note that brace expansion is not part of filename generation
     (globbing);  an expression such as */{foo,bar} is split into
     two separate words */foo and */bar before  filename  genera-
     tion  takes  place.  In particular, note that this is liable
     to produce a `no match' error if either of the  two  expres-
     sions  does  not  match;  this  is  to  be  contrasted  with
     */(foo|bar), which is treated as a single pattern but other-
     wise has similar effects.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


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