Categories
Linux Mastering Development

Passing arrays in to the function in bash script

I am new to a bash script and writing the bash script. I have declared an array and I have given the values. But When I pass the array in the loop values are not getting inside the loop. Below is my code declare -a files=( “A1S0” “D1S0” “D2S0” “D3S0” “D4S0” “D5S0” “D6S0” ) command_to_get_filesizes() […]