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

Re: Bug in handling combination of extended globs and attributes



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