Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Brace Expansion
- X-seq: zsh-users 7396
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Brace Expansion
- Date: Fri, 23 Apr 2004 15:11:30 +0100
- In-reply-to: "zzapper"'s message of "Fri, 23 Apr 2004 14:15:04 BST." <9f5i80hlg5kolhbm1behb316pe0jda0qvh@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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.
BRACE EXPANSION
...
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.
www.mimesweeper.com
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author