From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 538 invoked from network); 12 Nov 2020 17:43:24 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 Nov 2020 17:43:24 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1605203004; b=aQzCVvK0mGz4eEn1bRh8trpBVMV7ZQqKloQQaRqtjXuUoC4VQmGF0XiS+icz389JGxslktZPyG UdjM5NkrzUge4+1qDAg0DsFW7B3dRJAFxkc0SYNqKPJWTNXTlOgbOCZ4616ZorvzXE8I3JfHUK 9rHs1LeaSolY5ExACvRQe01UEZqIQ6gyBF+ZjyejG5wVMhCAuJIFtcEc53mfIGSedHYyPd0+45 aTkIJkILx9ASSuChVfCY9N+n/iL/N5mlwVLPYGwbGaNz5ZCYOClDO7B4/3agewpsvDdLRPtX4n Ittzd1/PO94DMRe3W8aHHwkW//AF4JJo8fooU7YlGNTLgw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (forward102j.mail.yandex.net) smtp.remote-ip=5.45.198.243; dkim=pass header.d=ratijas.tk header.s=mail header.a=rsa-sha256; dmarc=none header.from=ratijas.tk; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1605203004; bh=V7QqFFVp4IK6CVPxTpfM1xXZiQjMM56WZ8cNE5Z0BMo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From:DKIM-Signature:DKIM-Signature; b=M8HP+w7t3mDfKCG9ASR3Xl9SNKL05mw6T1lNghn4LmNVU9+q01ulrZlog+PKNoMe5FQI5UZa9G 6uBETtIPdNG5pYwPEMyOw/Bec6SMrgajyF6v2fyGzwxKGLUL8g+VKZfZ+hI3vEQMRxBr13/p2E 9wHRgOE2US/wE0wSHo2lHuFP+LjUw22Z+02s8nimLBU2xwgKELBsoaMKfZuwaEFavUtnyBBhpU IPupacvmEfIwgEh+KQEiDRieUrgDjz26KFyUpsR5kvMJZoG5VTYaa63FGZNssa/zJ20laZzs60 Khv/XtJ4/x9XWIR5K6ZZ/E+R4btD1TDx4uaBuiM4qQ+rJg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=nfUa8Vy1xh7KEKSyyGiFm/PpXgwxnTUlsK6XWuHBlQs=; b=Da8fq4V/mGCuE0dqGvT1lzkX1B 6Ds/A2w70OfjkT6Sz9LMOw2th332bBkh1qVxWYJz1vbLFF+r5DkCV2Bi6dmdwFW5eHBApvRJXsYzB 2NIRs1fBO/GkYHlWSok7yfvAIFCPeLgHpat6ihPkIrUxqwhopf/AI/BnulGEyoUt1tnwnfnQVB05r ggtyfFh12Bp6k70luqC3H7/lk5WsyErsa7McSz1FMfLkpRMVHSNE+Lxee2CSS+xjR4J+DByGsj34d 8uEcvxL6pc6GZ8Hm+bljoZFY3Kns2rzP3hJPoDskctZKTVYNn5Cdu7qR/R2Od4T92kdDIM2UD8Rin aeXuwwqg==; Received: from authenticated user by zero.zsh.org with local id 1kdGd2-000KBo-D1; Thu, 12 Nov 2020 17:43:24 +0000 Authentication-Results: zsh.org; iprev=pass (forward102j.mail.yandex.net) smtp.remote-ip=5.45.198.243; dkim=pass header.d=ratijas.tk header.s=mail header.a=rsa-sha256; dmarc=none header.from=ratijas.tk; arc=none Received: from forward102j.mail.yandex.net ([5.45.198.243]:60476) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kdGcn-000K2S-Hz; Thu, 12 Nov 2020 17:43:10 +0000 Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward102j.mail.yandex.net (Yandex) with ESMTP id 422A4F20259 for ; Thu, 12 Nov 2020 20:43:08 +0300 (MSK) Received: from mxback2q.mail.yandex.net (mxback2q.mail.yandex.net [IPv6:2a02:6b8:c0e:40:0:640:9c8c:4946]) by forward102q.mail.yandex.net (Yandex) with ESMTP id 3D2987F20010 for ; Thu, 12 Nov 2020 20:43:08 +0300 (MSK) Received: from vla1-1bc5b51c612f.qloud-c.yandex.net (vla1-1bc5b51c612f.qloud-c.yandex.net [2a02:6b8:c0d:89c:0:640:1bc5:b51c]) by mxback2q.mail.yandex.net (mxback/Yandex) with ESMTP id J4RQiwDCCE-h8IuF6a8; Thu, 12 Nov 2020 20:43:08 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratijas.tk; s=mail; t=1605202988; bh=nfUa8Vy1xh7KEKSyyGiFm/PpXgwxnTUlsK6XWuHBlQs=; h=Subject:To:From:Cc:Date:Message-Id; b=i3HIaVujr4NWzp/wmrRZzECZUYDHtOgQdvIjrn8ag8iF6gO+cEfnL2Mr1VByca4/M p06PVY2YjgHZhmmgVYZ9pSaoARLhWr1ZHyCVkrn5sRJMFssb5H6fRz7VgqXo+zMq4h wV1ZnShIMH45BHdHjeSr4HrF86hCNOIV0drX/aXk= Authentication-Results: mxback2q.mail.yandex.net; dkim=pass header.i=@ratijas.tk Received: by vla1-1bc5b51c612f.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id dBrchVaQpd-h7neHbqc; Thu, 12 Nov 2020 20:43:07 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) From: ivan tkachenko To: zsh-workers@zsh.org Cc: ivan tkachenko Subject: [PATCH] docs: More precisely, a double-quoted expression Date: Thu, 12 Nov 2020 20:42:54 +0300 Message-Id: <20201112174254.1977876-1-me@ratijas.tk> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Seq: 47547 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: Specifies exact kind of quoting which is assumed when parsing arithmetic ((expressions)). --- Doc/Zsh/arith.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index c152bf48d..bc3e35ad5 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -20,7 +20,7 @@ The tt(let) builtin command takes arithmetic expressions as arguments; each is evaluated separately. Since many of the arithmetic operators, as well as spaces, require quoting, an alternative form is provided: for any command which begins with a `tt(LPAR()LPAR())', all the characters until a -matching `tt(RPAR()RPAR())' are treated as a quoted expression and +matching `tt(RPAR()RPAR())' are treated as a double-quoted expression and arithmetic expansion performed as for an argument of tt(let). More precisely, `tt(LPAR()LPAR())var(...)tt(RPAR()RPAR())' is equivalent to `tt(let ")var(...)tt(")'. The return status is 0 if the arithmetic value -- 2.29.1