Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
auto-quoting inside braces in arguments
- X-seq: zsh-users 26528
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: auto-quoting inside braces in arguments
- Date: Thu, 18 Feb 2021 14:40:39 +0100
- Archived-at: <https://zsh.org/users/26528>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/20210218134039.GA1492462%40zira.vinc17.org>
- List-id: <zsh-users.zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
Is there a way to get auto-quoting inside braces in arguments?
For instance,
echo {a b}
would give 2 words "echo" and "{a b}" (which is different from what
a POSIX shell would give, but the behavior is already different
anyway, as one gets a parse error otherwise). Obviously this rule
should be applied only for arguments.
Alternatively, one could have a feature like url-quote-magic.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author