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 15592
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Klaus Ethgen <klaus+usenet@xxxxxxxxx>
- Subject: Re: Bug in handling combination of extended globs and attributes
- Date: Thu, 2 Dec 2010 13:35:43 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YIhy4qFpUAr9nITOjxDY4qGoIf+DUU4APXFvaMENxa0=; b=QTUSyrXBVmoGG6g5FR2Xaojj9BnOr8HHDo3M6ayuIxo0V8WYyAHc/wVQqdK4J4igjG wP4fTkg5XE7M2Bay6YE7iWnth4Su8cGT9zuegEToEb6JzgvrRtskie8bCcH9EhyLjkgq ShT56JVxPp3f8Tr8d7XKRtiHJ9vxlIWxnp5YI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=r90/VhCUHoNinkIJXueSCpvr67Ut9PrLC52xm1OvvcZw3kQN3AbEkTXdSePoH+moUF 8IvXg846TRx7c6yliOawcTzsWSs6DApWD9HndCixlLzFGFB/L2Z3jd2YAPuCmqpC34Ok eSju4naTqSiNLcpfpv3yLUOxBqsZyubw3RfdM=
- In-reply-to: <slrniff0h9.nh8.klaus+usenet@xxxxxxxxxxxxxx>
- 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>
On 2 December 2010 12:25, Klaus Ethgen <klaus+usenet@xxxxxxxxx> wrote:
> Hello,
>
> 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'.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author