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

Re: buggy CSH_NULL_GLOB when a pattern is at the command position



On Jan 1, 12:39pm, Bart Schaefer wrote:
}
} The patch below fixes the case where all command-position globs fail

Hmm, there's something not quite right with that patch, perhaps.  Here
is zsh-5.2:

schaefer<501> [] *[c]*(e?'reply=(echo)'?)
echo echo echo echo echo echo echo echo echo

Here is current HEAD with my patch:

schaefer<501> [] *[c]*(e?'reply=(echo)'?)
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match
zsh: no match

I suspect badcshglob needs to be cleared (or saved/restored) somewhere.

-- 
Barton E. Schaefer



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