Why generate "ash and bash" different output for same bash script?

Hi,

For my bash script, terminal with bash is generate an OK output and program works right.
already,
terminal with ash have "line 48: syntax error: Bad substitution" output and program don't work.

:confused: