From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12207 invoked by alias); 20 Nov 2013 14:48:50 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32029 Received: (qmail 26618 invoked from network); 20 Nov 2013 14:48:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 Date: Wed, 20 Nov 2013 09:08:05 -0500 (EST) From: Filip Krska To: zsh-workers@zsh.org Message-ID: <77656324.60392877.1384956485213.JavaMail.root@redhat.com> In-Reply-To: <20131019225602.38f2cf01@pws-pc.ntlworld.com> References: <52613F82.1000009@redhat.com> <131018084831.ZM8783@torch.brasslantern.com> <20131018165614.48f399b7@pwslap01u.europe.root.pri> <131018122000.ZM9018@torch.brasslantern.com> <20131018234351.600adfc6@pws-pc.ntlworld.com> <131019141958.ZM10010@torch.brasslantern.com> <20131019225602.38f2cf01@pws-pc.ntlworld.com> Subject: Re: zsh syntax check fails on correct if [[ usage (rhbz 966911) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.5.82.12] X-Mailer: Zimbra 8.0.3_GA_5664 (ZimbraWebClient - FF22 (Linux)/8.0.3_GA_5664) Thread-Topic: zsh syntax check fails on correct if [[ usage (rhbz 966911) Thread-Index: kP8kSjvrBr7mZrXAp23tyucAJv1+Mg== Many thanks, Peter, we've tested both commits http://sourceforge.net/p/zsh/code/ci/9a044f1a6ad4ecfdfeff2f89e1685a1d622cb029/ http://sourceforge.net/p/zsh/code/ci/8879c46a4897a0e347455334fc6b6732c203a220/ and the issue seems solved after the patches were applied. Best Regards Filip ----- Original Message ----- From: "Peter Stephenson" To: zsh-workers@zsh.org Sent: Saturday, October 19, 2013 11:56:02 PM Subject: Re: zsh syntax check fails on correct if [[ usage (rhbz 966911) On Sat, 19 Oct 2013 14:19:58 -0700 Bart Schaefer wrote: > The only oddity that persists is that "zsh -fvc 'something'" does not > display any verbose output for 'something'. This affects verbosity of execution of strings for fc editing, sched, STTY and inside zregexparse, too, but it's not clear that's wrong, and they're all non-standard cases where we get to choose. diff --git a/Src/exec.c b/Src/exec.c index e95cad3..d5fe69e 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1027,6 +1027,11 @@ execstring(char *s, int dont_change_job, int exiting, char *context) Eprog prog; pushheap(); + if (isset(VERBOSE)) { + zputs(s, stderr); + fputc('\n', stderr); + fflush(stderr); + } if ((prog = parse_string(s, 0))) execode(prog, dont_change_job, exiting, context); popheap(); -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/