From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: ivan tkachenko <me@ratijas.tk>
Cc: zsh-workers@zsh.org
Subject: Re: [PATCH] docs: More precisely, a double-quoted expression
Date: Mon, 16 Nov 2020 18:09:01 +0000 [thread overview]
Message-ID: <20201116180901.53bc5e87@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <20201112174254.1977876-1-me@ratijas.tk>
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.
prev parent reply other threads:[~2020-11-16 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 17:42 ivan tkachenko
2020-11-16 18:09 ` Daniel Shahaf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201116180901.53bc5e87@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=me@ratijas.tk \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).