On 3/19/12 9:27 AM, Mark Edgar wrote:
> I've boiled the problem down to this:
>
> A=
> B=q
> echo "x${A+${B#q*}}x" | sed -nel
>
> Excluding the newline, the output I expect is "xx", but instead there
> is a delete character \177 between the two "x" characters.
Thanks for the wonderfully detai
I've boiled the problem down to this:
A=
B=q
echo "x${A+${B#q*}}x" | sed -nel
Excluding the newline, the output I expect is "xx", but instead there
is a delete character \177 between the two "x" characters.
After much experimenting, the important triggers are:
* The entire ${A...} substituti