Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in handling combination of extended globs and attributes
- X-seq: zsh-users 15596
- From: Klaus Ethgen <klaus+usenet@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Bug in handling combination of extended globs and attributes
- Date: Thu, 2 Dec 2010 15:43:26 +0100
- Cancel-lock: sha1:La1opPRcLZQi/6lDkqDtQSv4bqQ=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <slrniff0h9.nh8.klaus+usenet@xxxxxxxxxxxxxx> <AANLkTimsvubsBfMC36tAMbKUxR2gPLQE-j31pd6yhJdb@xxxxxxxxxxxxxx>
Hi,
Mikael Magnusson <mikachu@xxxxxxxxx> schrieb:
>> when I use the following glob:
>> print -l *~bla~foo(D.|/)
>>
>> I get a list with only bla excluded. File/Directory foo is still in the
>> result but shouldnt with my understanding.
>
> Glob qualifier groups are separated by commas (,), not pipes (|). The
> pipe probably makes the () portion be interpreted as a pattern, ie
> you're excluding 'fooD.' and 'foo/' instead of 'foo'.
Uhm, yes, affirmed.
With comma it works as desired.
-- Klaus
--
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@xxxxxxxxx>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
Messages sorted by:
Reverse Date,
Date,
Thread,
Author