Bash Arrays 4: Passing Arrays as Function Arguments/Parameters
We will discuss passing arrays as arguments to functions. Pre-requistites Knowing how to declare an array and set its elements Knowing how to get the indices of an array Knowing how to cycle through an array Knowing how to copy an array Understanding indirect expansion Setup This is the same setup as the previous post…