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
- X-seq: zsh-workers 37474
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: buggy CSH_NULL_GLOB when a pattern is at the command position
- Date: Fri, 1 Jan 2016 13:10:59 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=tIVuPNXJJ9WvxpX/pnEAQcZFawkescM/EbMnfglrYnw=; b=sC2nIq5kPu/TdktbJW82aWDT6v0OUWiiJ6iSQmyozbxniwDJhitDb3nvu0foy1KIJ7 WH9ufnfgbXw4eFSGABQa3ndifoc/jwo/dkxpVOf5LF+HtXYA8NvZX4gATWogtyHk/0az feEA+LDr1a5sROyfivixI5UATuf7OjEUCqf5elOKo1vQENOOpgYV6AyDF4GRv7WaWBbU H0pRYvLCzM3HXQNH6B7hVbfDNw/60SdafIjfYnD1gsn25bc7zVDqoQBpNWqiU0a/OIkd XdAlfqBOnHNNXU+Z8S71q08m5OjUJFp80tuVGzpgm55FdagMeJSqP6J7sOvhiq0D4SCP NO9w==
- In-reply-to: <160101123940.ZM10365@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20160101040052.GA1808@zira.vinc17.org> <160101123940.ZM10365@torch.brasslantern.com>
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