Chet Ramey wrote:
Description:
there is missing a charachter when using the following:
# TT="oo"; echo "l${TT:1}l"
lol
# TT="o"; echo "l${TT:1}l"
l
I can't reproduce this; I get `ll' from the second expansion.
I can't reproduce it on a 2.05b:
$ TT="o"; echo "l${TT:1}l"
ll
But I can reproduce it (or at least something weird) on a 3.1.17(1)-release:
$ TT="o"; echo "l${TT:1}l"
lXl
(where X is a non-printable character for my terminal here, maybe multibyte)
However, I can't reproduce it on the latest build, so I assume it's fixed.
J.