From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7697 invoked by alias); 28 Mar 2015 22:24:49 -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: 34800 Received: (qmail 29041 invoked from network); 28 Mar 2015 22:24:35 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=l/Hf0d/GwltdnQqzAU6si6GKQH3MQKEI6oJannuJvBM=; b=CInVl/MgWE+LGzW4vb2YuxTWkuRicla+H1ivEeEa0XfgDxsc8PT0KAu25xAkQnlqqI wIwlegiVqVmkUMrck7x65kTRPoL89vM+GqALQtE0oftCfWL1JYqLd6hZ5y5y88PdyxVP S18VE4GUcRG6G2bsfJV939PL1mYCUmkz5ab+/GE+eaJOyJXFB3EKH0qnwPVWonYGM324 N6BFp20riEKeezpjRbNzHH2QNljLk87eCF5UR7u3NOH+0WQGbQXJIaPCPlIxT7lrPXVq rwDVx/Kfgn7bdJqGtgzJNdOrtebhnNBdQWpzgf7tEp+RBspeoo116pHqqwaWBjPLOztx FaWg== X-Gm-Message-State: ALoCoQl1qhLBTOTSlpsrZMhOQI2Fg2hm+wfs7I9ZwZgLz7CbxGXZy3WYNdIWI+U82NY8ZsrwfqXq X-Received: by 10.182.105.66 with SMTP id gk2mr12103558obb.76.1427581473209; Sat, 28 Mar 2015 15:24:33 -0700 (PDT) From: Bart Schaefer Message-Id: <150328152430.ZM18574@torch.brasslantern.com> Date: Sat, 28 Mar 2015 15:24:30 -0700 In-Reply-To: <55172355.80409@gmx.com> Comments: In reply to Eric Cook "Re: [[ is being treated as a pattern in the command/reserved word position." (Mar 28, 5:55pm) References: <55171842.7030505@gmx.com> <150328144428.ZM5583@torch.brasslantern.com> <55172355.80409@gmx.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [[ is being treated as a pattern in the command/reserved word position. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 28, 5:55pm, Eric Cook wrote: } } % print $ZSH_PATCHLEVEL; emulate sh -c '[[ a == a ]]' } zsh-5.0.7-362-gab40656 } zsh: command not found: [[ } } Did that behavior change? Aha. That makes more sense. The '[[' reserved word is handled a special kind of built-in alias [*] and the change to POSIX_ALIASES handling caused that to be disabled. This will take a bit of thought. [*] Not literally, but the alias expansion code is where '[[' is noted and the lexer changed into "parsing a conditional" state.