From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8243 invoked by alias); 9 Oct 2017 15:29:58 -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: 41843 Received: (qmail 14789 invoked by uid 1010); 9 Oct 2017 15:29:58 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f171.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.192.171):SA:0(-4.2/5.0):. Processed in 1.976017 secs); 09 Oct 2017 15:29:58 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_SPAM,SPF_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=ykT+qkO7SjyW0pnzQt5rP2qaHMiEt24sgOm3h9lotMk=; b=UZA/+SDK8vxHZoW3ieL9QQm2CNyhxUCdIrZVBHMGVVWOO40rg57CBhelJiHv2+FEE+ JH7/iOIM6ub1LlP9EfCZTeIlKJXD2QtXFSAKXD7aRkLnFLig3XmRqxIl0ivdR+6zUULc eMlNCCxbuqaZTfa0vysPFKWKTzS+z/qOrfDkPH725SH72Pc6PANQEZZFoMgyUrMBAK32 1EQxePK4f8DgjYohDPncQq4bEQA9Q7BwZFa6HqheSOpRo3Ac4RoEUuZEafbyQBuwsamy WhE1MSwg8P46mPiy5bbWQQ0zd9YicHJk7ETnZBFnlpdyaHh+bKpE/BHw1syTbkiIJypZ lWZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=ykT+qkO7SjyW0pnzQt5rP2qaHMiEt24sgOm3h9lotMk=; b=TSOXONx/E834g1SkCmoCyrzgDvKvMBVT7lrWlMuI1McqXjMAQF57gbKqvSS+uwhrMc BtG/cz4hfGWC4er9FA+6M1Cbm5XKs/5wtHItbQ8ZKB0EvZ8MBD1r2ZT0Swf5Y6TBw9NP EjaXin1/hjb1i+2jsN+D5YSCV4xmMQV15KA/rsefaRntv/uh3JCA+XjYNFF2pUl13HPl EpvYjaFZJU/KXgCkrilkJFnEkxr+MVhTFcQ5SNIlF7DH6yd6cy4UISr7WFYn3/EJ9zk8 nx4jQ3+snq/t2Mli4Sn9fzW7K6tOd1DnFhbmzT+JCDFak9UwC4w/fszVG2sU9Znu1F6n eIog== X-Gm-Message-State: AMCzsaVqUVQ4OKn5M8P6ZCbI0aRrzU4rhxD6Op3FZH+0pvXzrqi4W/qo h15s8O3ibYni9NhQ8rL686ETcMaR X-Google-Smtp-Source: AOwi7QCVB0056Vf0Z4W2XBLz/sj4fsfE2EESTCA1jUfiXKELx+Flhb+CkrrUUTk/688pGKSqukCfVg== X-Received: by 10.99.176.6 with SMTP id h6mr6425837pgf.358.1507562993153; Mon, 09 Oct 2017 08:29:53 -0700 (PDT) From: Bart Schaefer Message-Id: <171009083013.ZM15279@torch.brasslantern.com> Date: Mon, 9 Oct 2017 08:30:13 -0700 In-Reply-To: <20171009162002.395c3c2b@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: Alias named '='" (Oct 9, 4:20pm) References: <6e3f43ea-45b0-d6a8-43b9-18845ea4edc9@necoro.eu> <7d8ab2fa-3130-1e43-8807-f94025fd62ed@necoro.eu> <20171008183756.h45qeeqqbn2wthh3@tarpaulin.shahaf.local2> <20171009154920.017a6d87@pwslap01u.europe.root.pri> <1507561487.3332106.1132746824.170B76CC@webmail.messagingengine.com> <20171009162002.395c3c2b@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Alias named '=' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Oct 9, 4:20pm, Peter Stephenson wrote: } Subject: Re: Alias named '=' } } On Mon, 09 Oct 2017 15:04:47 +0000 } Daniel Shahaf wrote: } > Peter Stephenson wrote on Mon, 09 Oct 2017 15:49 +0100: } > > Should we say something like this, or is it simply adding more words for } > > people to say they can't be bothered to read it? } > } > I think this section should describe the common, and } > less-common-but-still-sane, use-cases before it discusses corner cases } > such as aliasing "((", "&&", and "x=y". } } So we could do something like this? This doesn't describe what the question/discussion was about, does it? torch% aliases[=]='echo equal' torch% = equal The text you've written isn't wrong about assignment interpretation, but it implies that the above would not work. The problem with the above is that the alias *builtin* can't deal with it, not that it's a problem in command position. Also I'm abivalent about moving the text about about the "((" token as that is closely related to the dicussion about global aliasing of other operator-like tokens.