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

Re: Bug in handling combination of extended globs and attributes



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