Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: auto-quoting inside braces in arguments
- X-seq: zsh-users 26533
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: auto-quoting inside braces in arguments
- Date: Thu, 18 Feb 2021 10:57:29 -0800
- Archived-at: <https://zsh.org/users/26533>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2021-02/fedfc25e-116a-4abe-4778-c8578462124e%40eastlink.ca>
- In-reply-to: <CAH+w=7ZD5oFJitNmVSQbRuiY+OoY4_KaEYGXZ3JwA4dD=bAGdw@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <20210218134039.GA1492462@zira.vinc17.org> <8b3a9f93-5eb4-4d4d-8312-58c371e12239@www.fastmail.com> <CAH+w=7ZD5oFJitNmVSQbRuiY+OoY4_KaEYGXZ3JwA4dD=bAGdw@mail.gmail.com>
On 2021-02-18 10:30 a.m., Bart Schaefer wrote:
As an aside to the latter, it might be nice if providing a
prefix-argument to quote-region caused it to use double instead of
single quotes.
It reminds me of my issue just past of trying to send exactly:
'one string' 'second string'
to grep. Given the deep desire of shells to strip and interpret quotes
there's not
much that can be done via syntax, but some prefix or some option should
make it
doable such that you don't lose one level of quotes at each interpretation.
Mind, I'm presuming Vincent needs those quotes further down stream to
protect something. Anyway, some prefix or option should make it possible
to do whatever might be required. setopt LITERAL_STRING. Dunno, but most
of my problems with zsh involve quoting.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author