Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- X-seq: zsh-workers 49255
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Cc: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- Date: Sat, 7 Aug 2021 22:35:40 +0300
- Archived-at: <https://zsh.org/workers/49255>
- In-reply-to: <CAHYJk3SyFw0YEuhVNdwz8dnkzGiR27W-7P5Y=Mi3GRwiHZvwMA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDsib=h6_44ZO0CBC-XxbbPi7Wvypi8JKwaRa1uS9uK__w@mail.gmail.com> <CAH+w=7YmBRdW51WA=wY34kz_Si1ScnSOKzvaFPJO-eDGQ4G1kg@mail.gmail.com> <CAHLkEDvmQAN1w5An46hP0_b9dv13om6_Yms3uPmnDOT_CN0uvQ@mail.gmail.com> <CAH+w=7aCFe8ofQTbcz13pK1LGKQ9vDt0bLuavOhtGGBL_2hAFA@mail.gmail.com> <CAHYJk3SyFw0YEuhVNdwz8dnkzGiR27W-7P5Y=Mi3GRwiHZvwMA@mail.gmail.com>
On Fri, Aug 6, 2021 at 3:55 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> On 8/6/21, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > On Wed, Aug 4, 2021 at 11:18 PM Marlon Richert <marlon.richert@xxxxxxxxx>
> > wrote:
> >>
> >> I just wish {a..z} didn't use quoting at all. :)
> >
> > Re-reading the doc for this, {a..z} is guaranteed to produce PRINTABLE
> > output, which is not true of the other variations of brace expansion.
>
> If you want to expand these printable representations to the actual
> codepoints, you can use (g:ce:) .
Thanks! I had been looking through
https://zsh.sourceforge.io/Doc/Release/Expansion.html for anything
mentioning `bindkey`, but couldn't find any. :)
> With the c option, sequences like ‘^X’ are also processed.
That could be made more "grep-able".
In general, I think that page could really use a "reverse" index.
Listing parameter flags by letter only doesn't really help in finding
anything. Believe me, I've tried.
- References:
- Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
- Re: Why does {..} expansion using 'bindkey' quoting, but {,} and BRACE_CCL don't quote at all?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author