I want to assign a value to the array I gave as a parameter as follows. But I am not getting the array correctly. I tried to send the array as a parameter with the following method.
Func()
{
parameter=$1
echo $parameter
for ((i = 0; i < 26; i++)); do
parameter[$i]=0
done
}
Func "${array_kelime1[@]}"