[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backslash missing in brace expansion
From: |
Andreas Kusalananda Kähäri |
Subject: |
Re: Backslash missing in brace expansion |
Date: |
Sun, 8 Dec 2019 11:40:16 +0100 |
On Sun, Dec 08, 2019 at 11:00:03AM +0100, Martin Schulte wrote:
> Hello,
>
> thanks a lot for all the answers!
>
> I would like to suppose (Ilkka already argued in this direction) that in
> future versions of bash {x..C} should expand to x y z A B C.
>
> Best regards,
>
> Martin
Another idea would be to treat {x..C} just like {1..C} would be treated,
i.e as not a brace expansion at all but just as the literal string
{x..C}.
The current brace expansion impelementation in bash requires both points
of a range to be "of the same type". This currently means "both must be
numbers, or both must be characters", but that second part could be made
stronger: "both must be characters with the same case".
It's obviously far too late to do anything about this at this point in
time.
--
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden
- Backslash missing in brace expansion, Martin Schulte, 2019/12/05
- Re: Backslash missing in brace expansion, Chet Ramey, 2019/12/05
- Re: Backslash missing in brace expansion, Martin Schulte, 2019/12/05
- Re: Backslash missing in brace expansion, Chet Ramey, 2019/12/06
- Re: Backslash missing in brace expansion, Eric Blake, 2019/12/06
- Re: Backslash missing in brace expansion, Ilkka Virta, 2019/12/06
- Re: Backslash missing in brace expansion, Chet Ramey, 2019/12/06
- Re: Backslash missing in brace expansion, Martin Schulte, 2019/12/08
- Re: Backslash missing in brace expansion,
Andreas Kusalananda Kähäri <=
- Not missing, but very hard to see (was Re: Backslash missing in brace expansion), L A Walsh, 2019/12/12
- Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion), Greg Wooledge, 2019/12/12
- Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion), Ilkka Virta, 2019/12/12
- Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion), L A Walsh, 2019/12/12
- Re: Not missing, but very hard to see (was Re: Backslash missing in brace expansion), Eli Schwartz, 2019/12/12
- unquoted expansion not working (was Re: Not missing, but very hard to see), L A Walsh, 2019/12/13
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), Greg Wooledge, 2019/12/13
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), L A Walsh, 2019/12/14
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), Eli Schwartz, 2019/12/15
- Re: unquoted expansion not working (was Re: Not missing, but very hard to see), Greg Wooledge, 2019/12/16