From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16609 invoked by alias); 6 Jan 2011 20:03:31 -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: 28587 Received: (qmail 17978 invoked from network); 6 Jan 2011 20:03:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at ntlworld.com designates 81.103.221.49 as permitted sender) Message-Id: <201101062003.p06K3ENj009670@pws-pc.ntlworld.com> From: Peter Stephenson To: zsh workers Subject: Re: Infinite loop, can't reproduce with zsh -f In-Reply-To: Message from Mikael Magnusson of "Thu, 06 Jan 2011 20:22:48 +0100." Date: Thu, 06 Jan 2011 20:03:14 +0000 X-Cloudmark-Analysis: v=1.1 cv=R50lirqlHffDPPkwUlkuVa99MrvKdVWo//yz83qex8g= c=1 sm=0 a=AQWNoj5_IVQA:10 a=NLZqzBF-AAAA:8 a=CI6M3ODJvMZ7a5bITp8A:9 a=ttpm_Li2muUKzlV8nYzNmYvaShYA:4 a=_dQi-Dcv4p4A:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Mikael Magnusson wrote: > Hi, I was going to test something in relation to the =~ bug in the > other thread and forgot what -regex-match was called, so i tried > set -x; [[ a =~ b ]]; set +x > but it just starts spinning forever. It doesn't in zsh -f though. It's the same bug. The XTRACE option uses the same output code as the which builtin. -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/