Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] docs: More precisely, a double-quoted expression
- X-seq: zsh-workers 47572
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: ivan tkachenko <me@xxxxxxxxxx>
- Subject: Re: [PATCH] docs: More precisely, a double-quoted expression
- Date: Mon, 16 Nov 2020 18:09:01 +0000
- Archived-at: <https://zsh.org/workers/47572>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-11/20201116180901.53bc5e87%40tarpaulin.shahaf.local2>
- Authentication-results: zsh.org; iprev=pass (wout5-smtp.messagingengine.com) smtp.remote-ip=64.147.123.21; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=aTpahPH9abWS+egdnw84SRphMD hD+sncDCJq3CqUrLY=; b=Ddg4Ih+YkCDzTfRlx5lXv3ruxRMq5/fwRzjl2PvQKi ywhm1zt3M/D0TjZIvwlPckR6+KVG8LhjxZt/oGgBgYMJw8KUen8KS1BjIVYKxeCB pjFRNCBc3RVfMfTWLAmARMRHjBO2oLhhWTjUFrI2slWjUQkxN3Cz6UnaWxOWOfri s+664OBukyyYh6tLFaMCYyCucd8ekzsxQq9XinFKwVabZjjDdj3XTadG60S+7MG8 bWO3vUwSs6cNtZcGzcqfzSJACL5D10sG7Hv8fGvUQNoCDiaClKaQqYfOS69Xd7o+ PPjcS1SfXGJ4qWc0zdxLO6kq6ktKyrpwTQkWUJVuOnxg==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=aTpahPH9abWS+egdnw84SRphMDhD+sncDCJq3CqUr LY=; b=FbsksRa8tsmqHJTaSGTiwlBRT+4Rc6iWloaUJVqg1uoR202sOlvV57hmR 520WeWTuURpbvABnMPqFD0UXsTUFF30zRZCYrTTgxnsELfvOptvGCMIBYb5irTcS PgNuCn75pq5ceE5yccy49luGOlw64ZwO4P4tHP+NGosAR9PIA62bVt/jvYW/aJxe /WpkGU9PZOGykiqXE4n5AjthnV9S/n682FTxLoDkfVc/50A73lk/DTI+ohFnU90M PPhngDBaPb+XfUP1yPeqTYTsF4hMx3J98ecAIs7ma2a24Y3WHHL3zmJh1AG287iZ v83+qLWSxOh1OclCvfm4j6nJFGuBg==
- In-reply-to: <20201112174254.1977876-1-me@ratijas.tk>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <20201112174254.1977876-1-me@ratijas.tk>
- Sender: zsh-workers-request@xxxxxxx
ivan tkachenko wrote on Thu, 12 Nov 2020 20:42 +0300:
> 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
Thanks, applied.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author