From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20542 invoked by alias); 28 Mar 2015 21:31:12 -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: 34795 Received: (qmail 2221 invoked from network); 28 Mar 2015 21:31:08 -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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Message-ID: <55171A91.4090008@gmx.com> Date: Sat, 28 Mar 2015 17:18:09 -0400 From: Eric Cook User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: zsh-workers@zsh.org Subject: Re: [[ is being treated as a pattern in the command/reserved word position. References: <55171842.7030505@gmx.com> In-Reply-To: <55171842.7030505@gmx.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:P9BMaxur7mlzhiiPmt11QfHfAfLGWJtv1WwS5mrOdRSDc0R/oGf fBxppmKK8+c9PxvWPJckeo6WyHYuTeysMpmWUjmmvg/TB8qF5zx8eL4My2mXPlt2eB1qpB9 zInsTaHLuvsfwIzwkFHq+Kfggoh3+JluwQv36j/Jbp42vY4pTQhZPQ6GkUJjZVMsKzaun8h /KUEhnOsf/Sx35niSebTA== X-UI-Out-Filterresults: notjunk:1; On 03/28/2015 05:08 PM, Eric Cook wrote: > With a recent build, this happens to me. Does it happen for anyone else? > > % type [[ > zsh: bad pattern: [[ > % type '[[' > [[ is a reserved word > % '[[' a == a ]] > zsh: = not found > % '[[' a '==' a ]] > zsh: command not found: [[ > % print $ZSH_PATCHLEVEL > zsh-5.0.7-0-g208bded > forgot to paste the line of trying [[ normally, but that also results in a bad pattern error.