View Single Post
Old 09-04-2018, 04:38 PM   #69
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@PoP: Yeah, now that I have a K3 plugged in, indeed, can't slice on the K3 busybox version, but I seem to remember it working on newer models.

Which is likely, given that it's not a bb limitation, as it works in my own bb build (which you could always resort to, I guess ;p. Which would logically lead to the next step of simply using ZSH ;p).

Code:
[root@kindle root]# BLAH="ABCD"
[root@kindle root]# echo ${BLAH:1:1}
-sh: syntax error: Bad substitution
[root@kindle root]# /mnt/us/usbnet/bin/busybox ash
[root@kindle root]# BLAH="ABCD"
[root@kindle root]# echo ${BLAH:1:1}
B
NiLuJe is offline   Reply With Quote