[Toybox] And again.

Rob Landley rob at landley.net
Tue Sep 1 01:16:49 PDT 2020


On 8/28/20 1:28 AM, Rob Landley wrote:
> And I have questions:

I still have questions, namely what "same type" means for brace expansion:

$ echo {z..0}
{z..0}
$ echo {z..A}
z y x w v u t s r q p o n m l k j i h g f e d c b a ` _ ^ ]  [ Z Y X W V U T S R
Q P O N M L K J I H G F E D C B A

In between ] and [ there should be \ but apparently it gets eaten silently in
parsing? I thought I'd check to see if the slash showed back up if given
something to consume, but:

$ echo {z..A}x
bash: bad substitution: no closing "`" in `x

Really?

Rob


More information about the Toybox mailing list