Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: [key]=value syntax, work in progress
- X-seq: zsh-workers 41701
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: PATCH: [key]=value syntax, work in progress
- Date: Thu, 14 Sep 2017 07:03:34 +0000
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=9HQ2ktDzwNQ9pCBRPP wEaho2N+S6XwxQUf3wkEUg8Vs=; b=P4OhjEF1UuOWj17OssGW0NRRyrQQ9esobv eOb9OpvrQma72+/jZGh2rJQ3qUamGORtrytL+2n+/81vKEiVWWSuTmyrJhsHU8Nr VugJAqazGK/GiK9tUMTE8gyuqAFR3sEEL2pdnu5M+/vKMxH0czfP9GXXxOc0yOb7 QCdJKZK6x1wwtNpJSTpf0PeDWc5IS0eh9Nyd8Z1zxolLCkdIpXMn/tJg80yQZxNw QrjXtzUcFhNcUzaEItgVYoTpaOii2DI/s2ScGWUxFfJts7b+L51S4M3JxRvwg1Nh 0cX/CrPTxcHjrgYil/Sp4yD1lM7Yb3RaqDTnE0C1ZV7px3I724oA==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=9HQ2ktDzwNQ9pCBRPP wEaho2N+S6XwxQUf3wkEUg8Vs=; b=Ic8RjmO8fDcdeXgJwfmFGsErssATc+26Jv znwcWJ9a4d4yVjApatVlnLdu4453bou7RZm6BcXBcR2dJBG5WF7d0yqV/N5lNPK0 0kmjrzr42BH7+0TOpMWakonhEnErpGTJOO3uTlcshZUSrXr8THmV0QLBrjr3KM5/ WnScOg3iei0NDQOCXFi6IboSGXJHgx/+1hdqlqr0TwvP4MI2KZ29sNBH/tbV3FvO OR4VA0mhETlYeiVLWy5dQA97EuJHRPxqt/2rBaNbBfKn3dXA0qGF2+PkCSuffoV9 bU5eH1oLSVSl2T2SmnYtVm6+TzugpU7zmLHSXxjOIbREnGYy0gvA==
- In-reply-to: <20170913204108.7a55fdd6@ntlworld.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20170911215115.6aa27dec@ntlworld.com> <20170912212519.3d873212@ntlworld.com> <30374.1505294044@thecus.kiddle.eu> <20170913204108.7a55fdd6@ntlworld.com>
Peter Stephenson wrote on Wed, Sep 13, 2017 at 20:41:08 +0100:
> +++ b/Doc/Zsh/params.yo
> @@ -91,13 +91,36 @@ cindex(array assignment)
> +available. Both var(key) and var(value) undergo all forms of expansion
> +allowed for single word substitutions (this does not include filename
> +generation).
This uses the term "single word substitutions". The completion for 'e'
after ${(<TAB> says "single word shell expansions". The manual entry
for ${(e)} does not use either term.
Perhaps the manual for ${(e)} could use the term "single-word
(substitutions|expansions)"? And then this sentence might
cross-reference that flag; for example:
Both var(key) and var(value) undergo single word expansions,
as in `tt(${+LPAR()e+RPAR())var(...)tt(+RPAR())'
(note, this does not include filename generation).
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author