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

Re: unzip and _path_files interaction



On Wed, 29 May 2002, Sven Wischnowsky wrote:

> > Seems that the (z) in "${(@z)${(@M)tmp1:#-g*}#-g}" is turning
> > (#i)*.(zip|[jw]ar) into ( #i ) *.(zip|[jw]ar)
>
> Hrm. I've got two patches now because I'm not sure where the bug
> really is. It's all caused by the lexer treating parens in the first
> word specially. The (z) modifier only calls the lexer as if the
> parameter value were a complete command line [...]
>
> So, either we think that the (z) code should behave differently, then
> we should use the first patch [...]
>
> Or we think that it's valuable to keep (z) parsing as if it were a
> complete command line, then we should use the second patch [...]
>
> Or don't know. Help, anyone?

I think (z) should keep working the way it does, or at least we need
somthing that does work the way it now does.  So for the time being I'd
go with the second patch.



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