Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is outer quoting not needed (docs say "redundant")?
- X-seq: zsh-users 23007
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Is outer quoting not needed (docs say "redundant")?
- Date: Wed, 13 Dec 2017 11:34:08 +0000
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20171213113412euoutp02872c05433cae8a96f1403248b6599975~-12p2KLwh0384503845euoutp02o
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1513164852; bh=7qUiEhdUZh1eEgjlflScKy3MY2b9QgGKErHHlm75yAQ=; h=Date:From:To:Subject:In-reply-to:References:From; b=ij3mJKa1FwK1J5zYgJBO33t99VqGp5PDISgiorgytEuldFhfTS4soz1kPPBDgKS/b Wf7ubhzKVeCsLoAEcVeE+SJ1qPP4iY3Fb4z9ZBuysnedhgjcLr2btGNdsHZJ+q86st 4/2nXXOPrmS7QTVaFNy95Gg+tj7Vvq6AilyeamiU=
- In-reply-to: <etPan.5a30d023.6d8c1390.c73c@zdharma.org>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <CGME20171212135535epcas4p2456a2aed9c9be07c9d461acb602b71e9@epcas4p2.samsung.com> <etPan.5a2fdc87.88f1eab.c73c@zdharma.org> <20171212150024.13a1e78b@pwslap01u.europe.root.pri> <etPan.5a30d023.6d8c1390.c73c@zdharma.org>
On Wed, 13 Dec 2017 08:00:51 +0100
Sebastian Gniazdowski <psprint@xxxxxxxxxxx> wrote:
> Going further, I once had serious doubts about such quotings
> overlapping. Digged out a code:
>
> gitout=( "${(@f)"$( "${gitcmd[@]}" )"}" )
>
> Is it the same?
It should be, because the count of braces doesn't go to zero between the
first "${" and the last "}" (see the rules I summarised last time). So
only the final double quote causes quoting to end.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author