From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26108 invoked by alias); 5 Mar 2015 01:51:21 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19971 Received: (qmail 7544 invoked from network); 5 Mar 2015 01:51:20 -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=xC/LCAiTujBwcS8i8VMv2jE1/yuQf/sE9h8s+W9xkAg=; b=A7f8ktuGh0c8C2JR1LAs+zW3a51+mtRoidonBb8Qix0Dgh/ojnNNvDxf+Y7CRdjv8B mxJwMsQHxlKEIW4gMD9/JI7lSRvB4njJf6BrdKgRe22DQX4zSDhoZj/hZ762mGtLeo/A 6dEAvdBqtkulYEDoIIA/82Bjw4Wn/aIp3Hzdw4fPfwz4opDOmrWocwyZs4uHSEIJlgjX DNoym/djXox9YLMlXgHFSsYcYMk7IUakK4m26LO9o2dc2YBw8b4Mx2H97WNoH9K/xc1u hC6DIk7VieYXQBeGvI8P+QaHDapSBghrxLtLPOkLhYG5sVEe+e/sWnQ2CtPq+pj0Jr8A 1hFA== X-Gm-Message-State: ALoCoQlpNHppjfG0KFRRttPymRveDEXYzv04b8oTC2Qd9kHnhKgoRbyqOXi0ZV9Px2z5eR9Z17Ek X-Received: by 10.60.63.204 with SMTP id i12mr5278458oes.74.1425520277563; Wed, 04 Mar 2015 17:51:17 -0800 (PST) From: Bart Schaefer Message-Id: <150304175112.ZM19818@torch.brasslantern.com> Date: Wed, 4 Mar 2015 17:51:12 -0800 In-Reply-To: <20150304144756.GA27231@ypig.lip.ens-lyon.fr> Comments: In reply to Vincent Lefevre "Re: grammar triviality with '&&'" (Mar 4, 3:47pm) References: <54F33934.2070607@eastlink.ca> <13666281425228233@web7o.yandex.ru> <54F345D3.9010204@eastlink.ca> <20150302022754.GA7449@xvii.vinc17.org> <20150302104619.GC6869@xvii.vinc17.org> <20150302110610.2e2c7e86@pwslap01u.europe.root.pri> <20150304144756.GA27231@ypig.lip.ens-lyon.fr> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: grammar triviality with '&&' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 4, 3:47pm, Vincent Lefevre wrote: } } I've found a bug: } } % alias '&&=(){ return $? } && ' } % && echo OK } zsh: parse error near `&&' Although I see PWS has already made a (broken?) stab at changing this, I think that's a documentation omission rather than a code bug. Some things intentionally cannot be aliased.