[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How does {x..y} supposed to work?
From: |
Peng Yu |
Subject: |
Re: How does {x..y} supposed to work? |
Date: |
Mon, 17 May 2021 15:54:11 -0500 |
On 5/16/21, Chet Ramey <chet.ramey@case.edu> wrote:
> On 5/14/21 6:33 PM, Mike Jonkmans wrote:
>
>> How about {\x..\y} does an escaped expansion?
>> E.g. {\Z..\a} expands to \Z \[ \\ \] \^ \_ \` \a
>> Or {'x'..'y'} expanding to 'x' ... 'y'
>
> This is a reasonable extension, and would solve the {Z..a} issue.
The problem is how useful {Z..a} is in practice.
I will have to look up an ASCII table to know what the characters are
in between Z and a. If I want to use those characters in between, I
would just manually specify them so that the code is more readable. In
this sense, I'd think that {Z..a} is unnecessary and probably should
be disabled.
--
Regards,
Peng
- Re: How does {x..y} supposed to work?, (continued)
- Re: How does {x..y} supposed to work?, Mike Jonkmans, 2021/05/14
- Re: How does {x..y} supposed to work?, Greg Wooledge, 2021/05/14
- Re: How does {x..y} supposed to work?, Lawrence Velázquez, 2021/05/14
- Re: How does {x..y} supposed to work?, Chet Ramey, 2021/05/14
- Re: How does {x..y} supposed to work?, Mike Jonkmans, 2021/05/14
- Re: How does {x..y} supposed to work?, Dennis Williamson, 2021/05/14
- Re: How does {x..y} supposed to work?, Greg Wooledge, 2021/05/14
- Re: How does {x..y} supposed to work?, Dennis Williamson, 2021/05/14
- Re: How does {x..y} supposed to work?, Chet Ramey, 2021/05/16
- Re: How does {x..y} supposed to work?, Alex fxmbsw7 Ratchev, 2021/05/17
- Re: How does {x..y} supposed to work?,
Peng Yu <=
- Re: How does {x..y} supposed to work?, Chet Ramey, 2021/05/14