Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is outer quoting not needed (docs say "redundant")?
- X-seq: zsh-users 23003
- From: Sebastian Gniazdowski <psprint@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Is outer quoting not needed (docs say "redundant")?
- Date: Tue, 12 Dec 2017 14:41:26 +0100
- 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
Hello,
manual says:
"in "${(@f)"$(foo)"}", there are two sets of quotes, one surrounding the whole expression, the other (redundant) surrounding the $(foo) as before."
One user reported that single, outer quoting always worked for him. Word "redundant" quite confirms this, but can we be sure? Nevertheless, I'll add a note to my handbook, will not replace example, because it well showns that quotings don't e.g. cancel each other (on the other hand, inner quoting doesn't have a real role, hm).
--
Sebastian Gniazdowski
psprint /at/ zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author