Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: (#cN,M) error, %? doesn't glob
On 15 August 2011 00:56, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> On Aug 14, 9:44am, Mikael Magnusson wrote:
> }
> } The flag tt(LPAR()#c)var(N)tt(,)var(M)tt(RPAR()) can be used anywhere
> } that the tt(#) or tt(##) operators can be used except for in the expressions
> } `tt((*/)#)' and `tt((*/)##)' while globbing, which are handled specially;
> } it cannot be combined with other globbing flags and a bad pattern error
> } occurs if it is misplaced.
>
> Make it
>
> except in the expressions `tt((*/)#)' and `tt((*/)##)' in filename
> generation, where `tt(/)' has special meaning;
>
> and I'm all for it.
Thanks, that sounds much better. And I feel like "filename generation"
is more specific than "when globbing" too, it should be valid in y in
x~y for example, but I didn't test this :).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author