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

Re: PATCH: short-circuiting glob exclusion operator



On Mar 22,  9:46am, Peter Stephenson wrote:
} Subject: Re: PATCH: short-circuiting glob exclusion operator
}
} On Mon, 21 Mar 2016 15:54:21 -0700
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > 
} > As Mikael has already pointed out, files with names ending in a tilde
} > followed by an exclusion pattern may cause trouble with this.
} 
} Yes, they do: [...]
} 
} ~# might work instead.

Maybe this should be a glob qualifier instead of a pattern, since it does
not make sense in generic pattern context.  We have Y3 to short-circuit
after 3 matches; perhaps Y~ to short-circuit when an exclusion matches?
Or are qualifiers also parsed too late?



Messages sorted by: Reverse Date, Date, Thread, Author