Pass 2 arrays to a BASH script
Need to pass two arrays to a BASH script.
eg: sample.sh is the script which does some processing and which accepts 2 arrays. Could we call sample.sh as
sample.sh "a b c d" "1 2 3 4"
Question : How to read the input arguments onto two separate arrays inside sample.sh script.
thanks in advance.
|