the below test.sh running in windows command prompt working as expected. however when running inside devcontainer it got failed
files=(
"first"
"second"
)
for i in "${files[@]}"
do
echo $i
done
Error running in devcontainer
test.sh: 1: Syntax error: "(" unexpected
Please guide me how to resolve this error